From owner-freebsd-ports Fri Oct 5 21: 0:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BE21F37B408 for ; Fri, 5 Oct 2001 21:00:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f96402t33524; Fri, 5 Oct 2001 21:00:02 -0700 (PDT) (envelope-from gnats) Received: from lightning.rogness-labs.com (cd533426-a.rpdcty1.sd.home.com [24.253.11.224]) by hub.freebsd.org (Postfix) with ESMTP id E204737B403 for ; Fri, 5 Oct 2001 20:52:24 -0700 (PDT) Received: (from root@localhost) by lightning.rogness-labs.com (8.11.1/8.11.1) id f963o3f17139; Fri, 5 Oct 2001 22:50:03 -0500 (CDT) (envelope-from nick) Message-Id: <200110060350.f963o3f17139@lightning.rogness-labs.com> Date: Fri, 5 Oct 2001 22:50:03 -0500 (CDT) From: nick@rogness.net Reply-To: nick@rogness.net To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/31082: New port: LaBrea security utility Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31082 >Category: ports >Synopsis: New port: LaBrea security utility >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: Fri Oct 05 21:00:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Nick Rogness >Release: FreeBSD 4.2-STABLE i386 >Organization: >Environment: >Description: LaBrea is a small Linux-based application that puts unused IP addresses on your network to use, creating a "tarpit" which can stop or slow down scans of your address space, eg, CodeRed. It is licensed under the GPL. >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: # # labrea # labrea/Makefile # labrea/distinfo # labrea/files # labrea/files/patch-aa # labrea/pkg-comment # labrea/pkg-descr # labrea/pkg-plist # echo c - labrea mkdir -p labrea > /dev/null 2>&1 echo x - labrea/Makefile sed 's/^X//' >labrea/Makefile << 'END-of-labrea/Makefile' X# New ports collection makefile for: LaBrea X# Date created: 20 September 2001 X# Whom: nick@rogness.net X# X# $FreeBSD$ X## X XPORTNAME= LaBrea XPORTVERSION= 1.0 XCATEGORIES= security XMASTER_SITES= http://www.hackbusters.net/LaBrea/ XDISTNAME= LaBrea XEXTRACT_SUFX= .tgz X XMAINTAINER= nick@rogness.net X XBUILD_DEPENDS+= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet X XWRKSRC= ${WRKDIR}/LaBrea XALL_TARGET= LaBrea X Xpost-install: X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/LaBrea X ${INSTALL_MAN} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea X @echo "******************************************" X @echo "You will need to read the LaBrea.README in" X @echo "${PREFIX}/share/doc/LaBrea" X @echo "Before your run this!!" X @echo "******************************************" X @echo . X.endif X X.include END-of-labrea/Makefile echo x - labrea/distinfo sed 's/^X//' >labrea/distinfo << 'END-of-labrea/distinfo' XMD5 (LaBrea.tgz) = 7365fb2beff6fa486908a1419e0de0ae END-of-labrea/distinfo echo c - labrea/files mkdir -p labrea/files > /dev/null 2>&1 echo x - labrea/files/patch-aa sed 's/^X//' >labrea/files/patch-aa << 'END-of-labrea/files/patch-aa' X*** Makefile Thu Sep 13 12:00:00 2001 X--- Makefile.bsd Fri Sep 21 00:02:03 2001 X*************** X*** 6,16 **** X CC = gcc X CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) X LDLIBS = `libnet-config --libs` -lpcap X! INCLUDES = -I/usr/include/pcap X X! LaBrea: LaBrea.o X X! LaBrea.o: LaBrea.c X X clean: X rm -f *.o core LaBrea X--- 6,19 ---- X CC = gcc X CFLAGS = -Wall `libnet-config --defines` $(OPTFLAGS) $(INCLUDES) X LDLIBS = `libnet-config --libs` -lpcap X! INCLUDES = -I/usr/local/include -L/usr/local/lib X X! LaBrea: LaBrea.c X X! #LaBrea.o: LaBrea.c X X clean: X rm -f *.o core LaBrea X+ X+ install: X+ @install -c -g wheel -o root -m 755 LaBrea /usr/local/bin END-of-labrea/files/patch-aa echo x - labrea/pkg-comment sed 's/^X//' >labrea/pkg-comment << 'END-of-labrea/pkg-comment' XDefense mechanism against CodeRed END-of-labrea/pkg-comment echo x - labrea/pkg-descr sed 's/^X//' >labrea/pkg-descr << 'END-of-labrea/pkg-descr' XLaBrea is a small Linux-based application that puts unused IP Xaddresses on your network to use, creating a "tarpit" which can stop Xor slow down scans of your address space, eg, CodeRed. XIt is licensed under the GPL. X XFor more information, visit: X XWWW: http://www.hackbusters.net X X- Nick Xnick@rogness.net END-of-labrea/pkg-descr echo x - labrea/pkg-plist sed 's/^X//' >labrea/pkg-plist << 'END-of-labrea/pkg-plist' Xbin/LaBrea X%%PORTDOCS%%share/doc/LaBrea/LaBrea.README X%%PORTDOCS%%@dirrm share/doc/LaBrea END-of-labrea/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message