diff options
author | steve <steve@FreeBSD.org> | 1999-05-03 10:49:35 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-05-03 10:49:35 +0800 |
commit | 38eecd2b6a302e12e84caf111de3d81367a8a608 (patch) | |
tree | c082511085fe872bcf3b209d53466bf2e172ffd2 /net/tdetect | |
parent | 3f33a136c09311e04d3c09a5dbe9650038399c30 (diff) | |
download | freebsd-ports-gnome-38eecd2b6a302e12e84caf111de3d81367a8a608.tar.gz freebsd-ports-gnome-38eecd2b6a302e12e84caf111de3d81367a8a608.tar.zst freebsd-ports-gnome-38eecd2b6a302e12e84caf111de3d81367a8a608.zip |
Initial import of tdetect version 0.2.1.
A utility for detecting traceroutes and reporting them via syslog.
PR: 9899
Submitted by: Peter Shipley <shipley@dis.org>
Diffstat (limited to 'net/tdetect')
-rw-r--r-- | net/tdetect/Makefile | 35 | ||||
-rw-r--r-- | net/tdetect/distinfo | 1 | ||||
-rw-r--r-- | net/tdetect/pkg-comment | 1 | ||||
-rw-r--r-- | net/tdetect/pkg-descr | 8 | ||||
-rw-r--r-- | net/tdetect/pkg-message | 6 | ||||
-rw-r--r-- | net/tdetect/pkg-plist | 2 |
6 files changed, 53 insertions, 0 deletions
diff --git a/net/tdetect/Makefile b/net/tdetect/Makefile new file mode 100644 index 000000000000..3652fee5f5a1 --- /dev/null +++ b/net/tdetect/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: oneko +# Ports collection makefile for: tdetect +# Version required: 0.2 +# Date created: Sun Jan 31, 1997 +# Whom: shipley@dis.org +# +# $Id$ +# + +DISTNAME= tdetect-0.2 +PKGNAME= tdetect-0.2.1 +CATEGORIES= net +MASTER_SITES= http://sb.123.org/ \ + http://www.genocide2600.com/~tattooman/unix-loggers/ \ + http://ftp.ceti.com.pl/pub/scout/progs/Unix/ + +MAINTAINER= shipley@dis.org + +#WRKSRC= ${WRKDIR}/tdetect-0.2 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect + +post-install: + strip ${PREFIX}/sbin/tdetect + @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \ + ${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \ + ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \ + ${ECHO} "ethernetdev=ed0" > ${PREFIX}/etc/rc.d/tdetect.sh; \ + ${ECHO} "[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect \$ethernetdev && echo -n ' tdetect'" >> ${PREFIX}/etc/rc.d/tdetect.sh; \ + chmod 750 ${PREFIX}/etc/rc.d/tdetect.sh; \ + ${ECHO} "IMPORTANT ${PREFIX}/etc/rc.d/tdetect.sh and set ethernetdev to the name of the ethernetdev you wish to monitor"; \ + fi + +.include <bsd.port.mk> diff --git a/net/tdetect/distinfo b/net/tdetect/distinfo new file mode 100644 index 000000000000..c024370e6061 --- /dev/null +++ b/net/tdetect/distinfo @@ -0,0 +1 @@ +MD5 (tdetect-0.2.tar.gz) = 54a27e2623c6f57d734fbfbd8019c7b0 diff --git a/net/tdetect/pkg-comment b/net/tdetect/pkg-comment new file mode 100644 index 000000000000..19d5db989822 --- /dev/null +++ b/net/tdetect/pkg-comment @@ -0,0 +1 @@ +A Utility for detecting traceroutes and reporting them via. syslog diff --git a/net/tdetect/pkg-descr b/net/tdetect/pkg-descr new file mode 100644 index 000000000000..aab9b3764cbb --- /dev/null +++ b/net/tdetect/pkg-descr @@ -0,0 +1,8 @@ +tdetect A simple C library for portable packet creation + + If you're interested to detect all attempts to make "traceroute your-host" +or "traceroute host.your-network", you can try to use this simple program. +The idea is simple - to detect UDP (Unix traceroute) or ICMP ECHO (Windows +traceroute) packets with TTL fields == 1. + +See http://sb.123.org/ for more info diff --git a/net/tdetect/pkg-message b/net/tdetect/pkg-message new file mode 100644 index 000000000000..311ba373c76e --- /dev/null +++ b/net/tdetect/pkg-message @@ -0,0 +1,6 @@ + +IMPORTANT! + +Dont forget to edit ${PREFIX}/etc/rc.d/tdetect.sh +and set ethernetdev to the name of the ethernet device you wish to monitor + diff --git a/net/tdetect/pkg-plist b/net/tdetect/pkg-plist new file mode 100644 index 000000000000..21330e123c4c --- /dev/null +++ b/net/tdetect/pkg-plist @@ -0,0 +1,2 @@ +sbin/tdetect +etc/rc.d/tdetect.sh |