Subject: pkg/24022: new package security/fragroute
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ishit@pluto.dti.ne.jp>
List: netbsd-bugs
Date: 01/08/2004 16:48:09
>Number:         24022
>Category:       pkg
>Synopsis:       new package security/fragroute
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 08 16:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     ISIHARA Takanori
>Release:        NetBSD/i386 1.6.2_RC3
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc2.home 1.6.2_RC3 NetBSD 1.6.2_RC3 (GENERIC_LAPTOP) #0: Fri Nov 28 12:26:46 UTC 2003     autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002-RC3/i386/OBJ/autobuild/netbsd-1-6-PATCH002-RC3/src/sys/arch/i386/compile/GENERIC_LAPTOP i386

>Description:
I convert FreeBSD port security/fragroute to pkg.
I submit it.

>How-To-Repeat:

>Fix:
# 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:
#
#	.
#	./Makefile
#	./PLIST
#	./DESCR
#	./distinfo
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X# FreeBSD Id: ports/security/fragroute/Makefile,v 1.10 2003/09/24 08:37:38 edwin Exp
X
XDISTNAME=	fragroute-1.2
XCATEGORIES=	security net
XMASTER_SITES=	http://monkey.org/~dugsong/fragroute/ \
X		${MASTER_SITE_PACKETSTORM:=UNIX/security/}
X
XMAINTAINER=	packages@NetBSD.org
XHOMEPAGE=	http://www.monkey.org/~dugsong/fragroute/
XCOMMENT=        Tool for intercepting, modifying and rewriting egress traffic
X
XUSE_BUILDLINK2=		YES
X
XGNU_CONFIGURE=		YES
XCONFIGURE_ARGS+=	--with-libdnet=${PREFIX}
XCONFIGURE_ARGS+=	--with-libevent=${PREFIX}
XCONFIGURE_ARGS+=	--with-pcap=${BUILDLINK_PREFIX.libpcap}
X
XSCRIPTS=	README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \
X	frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 tcp-5 \
X	tcp-7 tcp-9
X
Xpre-install:
X	${INSTALL_DATA_DIR} ${PREFIX}/share/fragroute
X.for FILE in ${SCRIPTS}
X	${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${PREFIX}/share/fragroute
X.endfor
X
X.include "../../net/libpcap/buildlink2.mk"
X.include "../../net/libdnet/buildlink2.mk"
X.include "../../devel/libevent/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
echo x - ./PLIST
sed 's/^X//' >./PLIST << 'END-of-./PLIST'
X@comment $NetBSD$
Xetc/fragroute.conf
Xman/man8/fragroute.8
Xman/man8/fragtest.8
Xsbin/fragroute
Xsbin/fragtest
Xshare/fragroute/README.snort
Xshare/fragroute/base-1
Xshare/fragroute/frag-1
Xshare/fragroute/frag-2
Xshare/fragroute/frag-3
Xshare/fragroute/frag-4
Xshare/fragroute/frag-5
Xshare/fragroute/frag-6
Xshare/fragroute/frag-7-unix
Xshare/fragroute/frag-7-win32
Xshare/fragroute/ins-2
Xshare/fragroute/ins-3
Xshare/fragroute/tcbc-2
Xshare/fragroute/tcp-3
Xshare/fragroute/tcp-5
Xshare/fragroute/tcp-7
Xshare/fragroute/tcp-9
X@dirrm share/fragroute
END-of-./PLIST
echo x - ./DESCR
sed 's/^X//' >./DESCR << 'END-of-./DESCR'
X"Fragroute intercepts, modifies, and rewrites egress traffic destined
Xfor a specified host, implementing most of the attacks described in the
XSecure Networks "Insertion, Evasion, and Denial of Service: Eluding
XNetwork Intrusion Detection" paper of January 1998. 
X
XIt features a simple ruleset language to delay, duplicate, drop,
Xfragment, overlap, print, reorder, segment, source-route, or otherwise
Xmonkey with all outbound packets destined for a target host, with
Xminimal support for randomized or probabilistic behaviour. 
X
XThis tool was written in good faith to aid in the testing of network
Xintrusion detection systems, firewalls, and basic TCP/IP stack
Xbehaviour. Please do not abuse this software."
X
XWWW: http://www.monkey.org/~dugsong/fragroute/
X- Dominic <dominic_marks@btinternet.com>
END-of-./DESCR
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
X$NetBSD$
X
XSHA1 (fragroute-1.2.tar.gz) = 0e85daf40f4910d56d75e6cdee163305a1cb9004
XSize (fragroute-1.2.tar.gz) = 85247 bytes
END-of-./distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted: