diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-22 03:31:49 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-03-22 03:31:49 +0000 |
commit | 7b7102e2bf82bb8cd071ecd536bac0bdc1df6713 (patch) | |
tree | 0eb7c9f191943e628b8e41770d930e34f32abbe7 /net | |
parent | 1473c9f3758ce983152fcf267dd943beb2a0d749 (diff) | |
download | ports-7b7102e2bf82bb8cd071ecd536bac0bdc1df6713.tar.gz ports-7b7102e2bf82bb8cd071ecd536bac0bdc1df6713.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/tcptraceroute-devel/Makefile | 19 | ||||
-rw-r--r-- | net/tcptraceroute-devel/distinfo | 1 | ||||
-rw-r--r-- | net/tcptraceroute-devel/files/patch-Makefile | 52 | ||||
-rw-r--r-- | net/tcptraceroute-devel/pkg-comment | 1 | ||||
-rw-r--r-- | net/tcptraceroute-devel/pkg-descr | 17 | ||||
-rw-r--r-- | net/tcptraceroute-devel/pkg-plist | 1 | ||||
-rw-r--r-- | net/tcptraceroute/Makefile | 19 | ||||
-rw-r--r-- | net/tcptraceroute/distinfo | 1 | ||||
-rw-r--r-- | net/tcptraceroute/files/patch-Makefile | 52 | ||||
-rw-r--r-- | net/tcptraceroute/pkg-comment | 1 | ||||
-rw-r--r-- | net/tcptraceroute/pkg-descr | 17 | ||||
-rw-r--r-- | net/tcptraceroute/pkg-plist | 1 |
13 files changed, 183 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 759777e7804f..d55caa21a493 100644 --- a/net/Makefile +++ b/net/Makefile @@ -470,6 +470,7 @@ SUBDIR += tcpshow SUBDIR += tcpstat SUBDIR += tcptrace + SUBDIR += tcptraceroute SUBDIR += tcpview SUBDIR += tdetect SUBDIR += telnetx diff --git a/net/tcptraceroute-devel/Makefile b/net/tcptraceroute-devel/Makefile new file mode 100644 index 000000000000..cc47f71b3b34 --- /dev/null +++ b/net/tcptraceroute-devel/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: tcptraceroute +# Date created: 21 March 2002 +# Whom: jeff@cetlink.net +# +# $FreeBSD$ +# + +PORTNAME= tcptraceroute +PORTVERSION= 1.2 +CATEGORIES= net +MASTER_SITES= http://michael.toren.net/code/tcptraceroute/ + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet + +MAN8= tcptraceroute.8 + +.include <bsd.port.mk> diff --git a/net/tcptraceroute-devel/distinfo b/net/tcptraceroute-devel/distinfo new file mode 100644 index 000000000000..ac6a05502f90 --- /dev/null +++ b/net/tcptraceroute-devel/distinfo @@ -0,0 +1 @@ +MD5 (tcptraceroute-1.2.tar.gz) = e31e3f5bfd817d32ed6d954382ca768d diff --git a/net/tcptraceroute-devel/files/patch-Makefile b/net/tcptraceroute-devel/files/patch-Makefile new file mode 100644 index 000000000000..0a1755ab97c9 --- /dev/null +++ b/net/tcptraceroute-devel/files/patch-Makefile @@ -0,0 +1,52 @@ +*** Makefile.orig Tue Jul 31 23:52:40 2001 +--- Makefile Thu Mar 21 16:02:29 2002 +*************** +*** 1,20 **** + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = gcc + CFLAGS = -O2 -Wall +! DESTDIR=/usr/local/bin + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` \ + -o tcptraceroute tcptraceroute.c \ +! `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -D tcptraceroute $(DESTDIR)/tcptraceroute + + distrib: clean changelog man + +--- 1,27 ---- + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = cc + CFLAGS = -O2 -Wall +! LNETINC= -I/usr/local/include +! LNETLIB= -L/usr/local/lib +! +! BINDIR= ${PREFIX}/bin +! MANDIR= ${PREFIX}/man +! +! all: tcptraceroute + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ + -o tcptraceroute tcptraceroute.c \ +! $(LNETLIB) `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -c -s tcptraceroute $(BINDIR)/tcptraceroute +! install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8 + + distrib: clean changelog man + diff --git a/net/tcptraceroute-devel/pkg-comment b/net/tcptraceroute-devel/pkg-comment new file mode 100644 index 000000000000..da541f6a712b --- /dev/null +++ b/net/tcptraceroute-devel/pkg-comment @@ -0,0 +1 @@ +A traceroute implementation using TCP packets diff --git a/net/tcptraceroute-devel/pkg-descr b/net/tcptraceroute-devel/pkg-descr new file mode 100644 index 000000000000..a25b74bedc74 --- /dev/null +++ b/net/tcptraceroute-devel/pkg-descr @@ -0,0 +1,17 @@ +tcptraceroute is a traceroute implementation using TCP packets. + +The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets +with a TTL of one, and increments the TTL until the destination has been +reached. By printing the gateways that generate ICMP time exceeded messages +along the way, it is able to determine the path packets are taking to reach +the destination. + +The problem is that with the widespread use of firewalls on the modern +Internet, many of the packets that traceroute(8) sends out end up being +filtered, making it impossible to completely trace the path to the destination. +However, in many cases, these firewalls will permit inbound TCP packets to +specific ports that hosts sitting behind the firewall are listening for +connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO +packets, tcptraceroute is able to bypass the most common firewall filters. + +WWW: http://michael.toren.net/code/tcptraceroute/ diff --git a/net/tcptraceroute-devel/pkg-plist b/net/tcptraceroute-devel/pkg-plist new file mode 100644 index 000000000000..046b642ecf10 --- /dev/null +++ b/net/tcptraceroute-devel/pkg-plist @@ -0,0 +1 @@ +bin/tcptraceroute diff --git a/net/tcptraceroute/Makefile b/net/tcptraceroute/Makefile new file mode 100644 index 000000000000..cc47f71b3b34 --- /dev/null +++ b/net/tcptraceroute/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: tcptraceroute +# Date created: 21 March 2002 +# Whom: jeff@cetlink.net +# +# $FreeBSD$ +# + +PORTNAME= tcptraceroute +PORTVERSION= 1.2 +CATEGORIES= net +MASTER_SITES= http://michael.toren.net/code/tcptraceroute/ + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet + +MAN8= tcptraceroute.8 + +.include <bsd.port.mk> diff --git a/net/tcptraceroute/distinfo b/net/tcptraceroute/distinfo new file mode 100644 index 000000000000..ac6a05502f90 --- /dev/null +++ b/net/tcptraceroute/distinfo @@ -0,0 +1 @@ +MD5 (tcptraceroute-1.2.tar.gz) = e31e3f5bfd817d32ed6d954382ca768d diff --git a/net/tcptraceroute/files/patch-Makefile b/net/tcptraceroute/files/patch-Makefile new file mode 100644 index 000000000000..0a1755ab97c9 --- /dev/null +++ b/net/tcptraceroute/files/patch-Makefile @@ -0,0 +1,52 @@ +*** Makefile.orig Tue Jul 31 23:52:40 2001 +--- Makefile Thu Mar 21 16:02:29 2002 +*************** +*** 1,20 **** + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = gcc + CFLAGS = -O2 -Wall +! DESTDIR=/usr/local/bin + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` \ + -o tcptraceroute tcptraceroute.c \ +! `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -D tcptraceroute $(DESTDIR)/tcptraceroute + + distrib: clean changelog man + +--- 1,27 ---- + # tcptraceroute -- A traceroute implementation using TCP packets + # Copyright (c) 2001, Michael C. Toren <mct@toren.net> + +! CC = cc + CFLAGS = -O2 -Wall +! LNETINC= -I/usr/local/include +! LNETLIB= -L/usr/local/lib +! +! BINDIR= ${PREFIX}/bin +! MANDIR= ${PREFIX}/man +! +! all: tcptraceroute + + tcptraceroute: tcptraceroute.c +! $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ + -o tcptraceroute tcptraceroute.c \ +! $(LNETLIB) `libnet-config --libs` -lpcap + + static: + $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" + + install: tcptraceroute +! install -c -s tcptraceroute $(BINDIR)/tcptraceroute +! install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8 + + distrib: clean changelog man + diff --git a/net/tcptraceroute/pkg-comment b/net/tcptraceroute/pkg-comment new file mode 100644 index 000000000000..da541f6a712b --- /dev/null +++ b/net/tcptraceroute/pkg-comment @@ -0,0 +1 @@ +A traceroute implementation using TCP packets diff --git a/net/tcptraceroute/pkg-descr b/net/tcptraceroute/pkg-descr new file mode 100644 index 000000000000..a25b74bedc74 --- /dev/null +++ b/net/tcptraceroute/pkg-descr @@ -0,0 +1,17 @@ +tcptraceroute is a traceroute implementation using TCP packets. + +The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets +with a TTL of one, and increments the TTL until the destination has been +reached. By printing the gateways that generate ICMP time exceeded messages +along the way, it is able to determine the path packets are taking to reach +the destination. + +The problem is that with the widespread use of firewalls on the modern +Internet, many of the packets that traceroute(8) sends out end up being +filtered, making it impossible to completely trace the path to the destination. +However, in many cases, these firewalls will permit inbound TCP packets to +specific ports that hosts sitting behind the firewall are listening for +connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO +packets, tcptraceroute is able to bypass the most common firewall filters. + +WWW: http://michael.toren.net/code/tcptraceroute/ diff --git a/net/tcptraceroute/pkg-plist b/net/tcptraceroute/pkg-plist new file mode 100644 index 000000000000..046b642ecf10 --- /dev/null +++ b/net/tcptraceroute/pkg-plist @@ -0,0 +1 @@ +bin/tcptraceroute |