From d52d4ff555591c7156ce9f08c0a159c22bd54e98 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Wed, 15 Feb 2006 09:44:30 +0000 Subject: Add spoofer 0.4, ANA Spoofer Project testing software. PR: ports/92913 Submitted by: Andrew Pantyukhin --- net/Makefile | 1 + net/spoofer/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ net/spoofer/distinfo | 3 +++ net/spoofer/pkg-descr | 5 +++++ 4 files changed, 47 insertions(+) create mode 100644 net/spoofer/Makefile create mode 100644 net/spoofer/distinfo create mode 100644 net/spoofer/pkg-descr (limited to 'net') diff --git a/net/Makefile b/net/Makefile index f7ae5f95c6b4..b83394026f20 100644 --- a/net/Makefile +++ b/net/Makefile @@ -649,6 +649,7 @@ SUBDIR += socketbind SUBDIR += socketpipe SUBDIR += socks5 + SUBDIR += spoofer SUBDIR += spread SUBDIR += spread-j SUBDIR += ssldump diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile new file mode 100644 index 000000000000..75d747163a0a --- /dev/null +++ b/net/spoofer/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: spoofer +# Date created: 6 February 2006 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= spoofer +PORTVERSION= 0.4 +CATEGORIES= net +MASTER_SITES= http://spoofer.csail.mit.edu/ + +MAINTAINER= infofarmer@gmail.com +COMMENT= ANA Spoofer Project testing software + +PLIST_FILES= bin/spoofer +PORTDOCS= README CHANGES + +SRC= spoofer.c util.c trace.c +CFLAGS+= -D_FBSD + +do-build: +.for f in ${SRC} + ${CC} ${CFLAGS} -c ${WRKSRC}/${f} -o ${WRKSRC}/${f:C/\.c$/.o/} +.endfor + ${CC} ${SRC:C/(.*)\.c$/${WRKSRC}\/\1.o/} -o ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/net/spoofer/distinfo b/net/spoofer/distinfo new file mode 100644 index 000000000000..893a707f8e80 --- /dev/null +++ b/net/spoofer/distinfo @@ -0,0 +1,3 @@ +MD5 (spoofer-0.4.tar.gz) = eb40e52d04844eec2be4b82ff27f7686 +SHA256 (spoofer-0.4.tar.gz) = 7b7523f416c2e1a0ff5b4e635cca22a8468317f358cd40a0a1c0f76c24d422ae +SIZE (spoofer-0.4.tar.gz) = 10401 diff --git a/net/spoofer/pkg-descr b/net/spoofer/pkg-descr new file mode 100644 index 000000000000..138173670102 --- /dev/null +++ b/net/spoofer/pkg-descr @@ -0,0 +1,5 @@ +Spoofer helps ANA Spoofer Project better understand the current state of +filtering in the Internet. It attempts to send a series of spoofed UDP packets +to a central server which logs and summarizes the results. + +WWW: http://spoofer.csail.mit.edu/ -- cgit