FreeBSD Bugzilla – Attachment 3735 Details for
Bug 9899
port submission for tdetect
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 3.46 KB, created by
shipley
on 1999-02-04 01:30:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
shipley
Created:
1999-02-04 01:30:00 UTC
Size:
3.46 KB
patch
obsolete
># 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: ># ># tdetect ># tdetect/Makefile ># tdetect/files ># tdetect/files/md5 ># tdetect/files/CVS ># tdetect/pkg ># tdetect/pkg/PLIST ># tdetect/pkg/DESCR ># tdetect/pkg/COMMENT ># tdetect/pkg/CVS ># tdetect/pkg/MESSAGE ># tdetect/patches ># >echo c - tdetect >mkdir -p tdetect > /dev/null 2>&1 >echo x - tdetect/Makefile >sed 's/^X//' >tdetect/Makefile << 'END-of-tdetect/Makefile' >X# New ports collection makefile for: oneko >X# Ports collection makefile for: tdetect >X# Version required: 0.2 >X# Date created: Sun Jan 31, 1997 >X# Whom: shipley@dis.org >X# >X# $Id$ >X# >X >XDISTNAME= tdetect-0.2 >XPKGNAME= tdetect-0.2.1 >XCATEGORIES= net >XMASTER_SITES= http://sb.123.org/ \ >X http://www.genocide2600.com/~tattooman/unix-loggers/ \ >X http://ftp.ceti.com.pl/pub/scout/progs/Unix/ >X >XMAINTAINER= shipley@dis.org >X >XDISTDIR= /var/tmp/ # for debuging >X >XWRKSRC= ${WRKDIR}/tdetect-0.2 >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect >X >Xpost-install: >X strip ${PREFIX}/sbin/tdetect >X @if [ ! -f ${PREFIX}/etc/rc.d/tdetect.sh ]; then \ >X ${ECHO} "Installing ${PREFIX}/etc/rc.d/tdetect.sh startup file."; \ >X ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tdetect.sh; \ >X ${ECHO} "ethernetdev=ed0" > ${PREFIX}/etc/rc.d/tdetect.sh; \ >X ${ECHO} "[ -x ${PREFIX}/sbin/tdetect ] && ${PREFIX}/sbin/tdetect \$ethernetdev && echo -n ' tdetect'" >> ${PREFIX}/etc/rc.d/tdetect.sh; \ >X chmod 750 ${PREFIX}/etc/rc.d/tdetect.sh; \ >X ${ECHO} "IMPORTANT ${PREFIX}/etc/rc.d/tdetect.sh and set ethernetdev to the name of the ethernetdev you wish to monitor"; \ >X fi >X >X.include <bsd.port.mk> >END-of-tdetect/Makefile >echo c - tdetect/files >mkdir -p tdetect/files > /dev/null 2>&1 >echo x - tdetect/files/md5 >sed 's/^X//' >tdetect/files/md5 << 'END-of-tdetect/files/md5' >XMD5 (tdetect-0.2.tar.gz) = 54a27e2623c6f57d734fbfbd8019c7b0 >END-of-tdetect/files/md5 >echo c - tdetect/files/CVS >mkdir -p tdetect/files/CVS > /dev/null 2>&1 >echo c - tdetect/pkg >mkdir -p tdetect/pkg > /dev/null 2>&1 >echo x - tdetect/pkg/PLIST >sed 's/^X//' >tdetect/pkg/PLIST << 'END-of-tdetect/pkg/PLIST' >Xsbin/tdetect >Xetc/rc.d/tdetect.sh >END-of-tdetect/pkg/PLIST >echo x - tdetect/pkg/DESCR >sed 's/^X//' >tdetect/pkg/DESCR << 'END-of-tdetect/pkg/DESCR' >Xtdetect A simple C library for portable packet creation >X >X If you're interested to detect all attempts to make "traceroute your-host" >Xor "traceroute host.your-network", you can try to use this simple program. >XThe idea is simple - to detect UDP (Unix traceroute) or ICMP ECHO (Windows >Xtraceroute) packets with TTL fields == 1. >X >XSee http://sb.123.org/ for more info >END-of-tdetect/pkg/DESCR >echo x - tdetect/pkg/COMMENT >sed 's/^X//' >tdetect/pkg/COMMENT << 'END-of-tdetect/pkg/COMMENT' >XA Utility for detecting traceroutes and reporting them via. syslog >END-of-tdetect/pkg/COMMENT >echo c - tdetect/pkg/CVS >mkdir -p tdetect/pkg/CVS > /dev/null 2>&1 >echo x - tdetect/pkg/MESSAGE >sed 's/^X//' >tdetect/pkg/MESSAGE << 'END-of-tdetect/pkg/MESSAGE' >X >XIMPORTANT! >X >XDont forget to edit ${PREFIX}/etc/rc.d/tdetect.sh >Xand set ethernetdev to the name of the ethernet device you wish to monitor >X >END-of-tdetect/pkg/MESSAGE >echo c - tdetect/patches >mkdir -p tdetect/patches > /dev/null 2>&1 >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9899
: 3735