diff options
author | mich <mich@FreeBSD.org> | 2003-05-15 13:39:13 +0000 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2003-05-15 13:39:13 +0000 |
commit | ed1dee3f042e24964357ff0626cbf16cd525f8eb (patch) | |
tree | 4aaa7a497557ef97eff4f0776a8bb1be13cbbafb | |
parent | 5bd411a6f2bc8fc81927fd5ed9514565baf49d10 (diff) | |
download | FreeBSD-ports-ed1dee3f042e24964357ff0626cbf16cd525f8eb.zip FreeBSD-ports-ed1dee3f042e24964357ff0626cbf16cd525f8eb.tar.gz |
New port.
A tcp based scanner, showing ttl of responses.
PR: 50536
Approved by: roberto(mentor)
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/ttlscan/Makefile | 33 | ||||
-rw-r--r-- | net/ttlscan/distinfo | 1 | ||||
-rw-r--r-- | net/ttlscan/pkg-descr | 12 | ||||
-rw-r--r-- | net/ttlscan/pkg-plist | 3 |
5 files changed, 50 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 7f00ab7..1ea3036 100644 --- a/net/Makefile +++ b/net/Makefile @@ -663,6 +663,7 @@ SUBDIR += tridiavnc SUBDIR += tsclient SUBDIR += ttcp + SUBDIR += ttlscan SUBDIR += ttt SUBDIR += tund SUBDIR += tvark diff --git a/net/ttlscan/Makefile b/net/ttlscan/Makefile new file mode 100644 index 0000000..4aa3016 --- /dev/null +++ b/net/ttlscan/Makefile @@ -0,0 +1,33 @@ +# ex:ts=8 +# Ports collection makefile for: ttlscan +# Date created: Wed Apr 2, 2003 +# Whom: Michael L. Hostbaek (mich@freebsdcluster.org) +# +# $FreeBSD$ +# + +PORTNAME= ttlscan +PORTVERSION= 0.1.1 +CATEGORIES= net +MASTER_SITES= http://www.raisdorf.net/files/code/ + +MAINTAINER= mich@freebsdcluster.org +COMMENT= A tcp based scanner, showing ttl responses + +BUILD_DEPENDS= ${LOCALBASE}/include/dnet.h:${PORTSDIR}/net/libdnet + +LDFLAGS+= -lpcap -ldnet + +do-build: + (cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -D_XOPEN_SOURCE \ + `libnet-config --defines` ${PORTNAME}.c -o ${PORTNAME} `libnet-config --libs` ${LDFLAGS}) + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/net/ttlscan/distinfo b/net/ttlscan/distinfo new file mode 100644 index 0000000..86162585 --- /dev/null +++ b/net/ttlscan/distinfo @@ -0,0 +1 @@ +MD5 (ttlscan-0.1.1.tar.gz) = 2951a7ca5a1efef74215f6a54c67abb5 diff --git a/net/ttlscan/pkg-descr b/net/ttlscan/pkg-descr new file mode 100644 index 0000000..c471143 --- /dev/null +++ b/net/ttlscan/pkg-descr @@ -0,0 +1,12 @@ +ttlscan is a libnet/libpcap based program that sends a TCP SYN packet to +each port of the host given via the command line. The answer is sniffed +of the wire. I use it to detect hosts that fake services by forwarding +packets to another host (behind a firewall). By reading header files +like the TTL, window size and IPID you might be able to see the OS +running on the host behind the firewall. + +WWW: http://www.raisdorf.net/projects/ttlscan +AUTHOR: Hendrik Scholz <hendrik@scholz.net> + + - Michael L. Hostbaek + mich@freebsdcluster.org diff --git a/net/ttlscan/pkg-plist b/net/ttlscan/pkg-plist new file mode 100644 index 0000000..8b94791 --- /dev/null +++ b/net/ttlscan/pkg-plist @@ -0,0 +1,3 @@ +bin/ttlscan +%%PORTDOCS%%share/doc/ttlscan/README +%%PORTDOCS%%@dirrm /share/doc/ttlscan |