Date: Thu, 21 Mar 2002 16:23:44 -0500 From: Jeff Wheat <jeff@cetlink.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/36177: new port Message-ID: <E16oA2C-000BI9-00@ns2.cetlink.net>
next in thread | raw e-mail | index | archive | help
>Number: 36177 >Category: ports >Synopsis: new port >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Mar 21 13:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Jeff Wheat >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD ns2.cetlink.net 4.5-STABLE FreeBSD 4.5-STABLE #1: Thu Feb 28 07:52:07 EST 2002 root@ns2.cetlink.net:/usr/src/sys/compile/MAIL i386 >Description: New port "tcptraceroute" >How-To-Repeat: >Fix: --- x begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tcptraceroute # tcptraceroute/pkg-plist # tcptraceroute/pkg-descr # tcptraceroute/pkg-comment # tcptraceroute/distinfo # tcptraceroute/Makefile # tcptraceroute/files # tcptraceroute/files/patch-Makefile # echo c - tcptraceroute mkdir -p tcptraceroute > /dev/null 2>&1 echo x - tcptraceroute/pkg-plist sed 's/^X//' >tcptraceroute/pkg-plist << 'END-of-tcptraceroute/pkg-plist' Xbin/tcptraceroute Xman/man8/tcptraceroute.8 END-of-tcptraceroute/pkg-plist echo x - tcptraceroute/pkg-descr sed 's/^X//' >tcptraceroute/pkg-descr << 'END-of-tcptraceroute/pkg-descr' Xtcptraceroute is a traceroute implementation using TCP packets. X XThe more traditional traceroute(8) sends out either UDP or ICMP ECHO packets Xwith a TTL of one, and increments the TTL until the destination has been Xreached. By printing the gateways that generate ICMP time exceeded messages Xalong the way, it is able to determine the path packets are taking to reach Xthe destination. X XThe problem is that with the widespread use of firewalls on the modern XInternet, many of the packets that traceroute(8) sends out end up being Xfiltered, making it impossible to completely trace the path to the destination. XHowever, in many cases, these firewalls will permit inbound TCP packets to Xspecific ports that hosts sitting behind the firewall are listening for Xconnections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO Xpackets, tcptraceroute is able to bypass the most common firewall filters. X XWWW: http://michael.toren.net/code/tcptraceroute/ END-of-tcptraceroute/pkg-descr echo x - tcptraceroute/pkg-comment sed 's/^X//' >tcptraceroute/pkg-comment << 'END-of-tcptraceroute/pkg-comment' Xtcptraceroute - A traceroute implementation using TCP packets. END-of-tcptraceroute/pkg-comment echo x - tcptraceroute/distinfo sed 's/^X//' >tcptraceroute/distinfo << 'END-of-tcptraceroute/distinfo' XMD5 (tcptraceroute-1.2.tar.gz) = e31e3f5bfd817d32ed6d954382ca768d END-of-tcptraceroute/distinfo echo x - tcptraceroute/Makefile sed 's/^X//' >tcptraceroute/Makefile << 'END-of-tcptraceroute/Makefile' X# New ports collection makefile for: tcptraceroute X# Date created: 21 March 2002 X# Whom: jeff@cetlink.net X# X# $FreeBSD$ X# X XPORTNAME= tcptraceroute XPORTVERSION= 1.2 XCATEGORIES= net XMASTER_SITES= http://michael.toren.net/code/tcptraceroute/ X XMAINTAINER= ports@FreeBSD.org X XBUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet X X.include <bsd.port.mk> END-of-tcptraceroute/Makefile echo c - tcptraceroute/files mkdir -p tcptraceroute/files > /dev/null 2>&1 echo x - tcptraceroute/files/patch-Makefile sed 's/^X//' >tcptraceroute/files/patch-Makefile << 'END-of-tcptraceroute/files/patch-Makefile' X*** Makefile.orig Tue Jul 31 23:52:40 2001 X--- Makefile Thu Mar 21 16:02:29 2002 X*************** X*** 1,20 **** X # tcptraceroute -- A traceroute implementation using TCP packets X # Copyright (c) 2001, Michael C. Toren <mct@toren.net> X X! CC = gcc X CFLAGS = -O2 -Wall X! DESTDIR=/usr/local/bin X X tcptraceroute: tcptraceroute.c X! $(CC) $(CFLAGS) `libnet-config --defines` \ X -o tcptraceroute tcptraceroute.c \ X! `libnet-config --libs` -lpcap X X static: X $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" X X install: tcptraceroute X! install -D tcptraceroute $(DESTDIR)/tcptraceroute X X distrib: clean changelog man X X--- 1,27 ---- X # tcptraceroute -- A traceroute implementation using TCP packets X # Copyright (c) 2001, Michael C. Toren <mct@toren.net> X X! CC = cc X CFLAGS = -O2 -Wall X! LNETINC= -I/usr/local/include X! LNETLIB= -L/usr/local/lib X! X! BINDIR= ${PREFIX}/bin X! MANDIR= ${PREFIX}/man X! X! all: tcptraceroute X X tcptraceroute: tcptraceroute.c X! $(CC) $(CFLAGS) `libnet-config --defines` $(LNETINC) \ X -o tcptraceroute tcptraceroute.c \ X! $(LNETLIB) `libnet-config --libs` -lpcap X X static: X $(MAKE) tcptraceroute CFLAGS="$(CFLAGS) -static" X X install: tcptraceroute X! install -c -s tcptraceroute $(BINDIR)/tcptraceroute X! install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8 X X distrib: clean changelog man X END-of-tcptraceroute/files/patch-Makefile exit --- x ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E16oA2C-000BI9-00>