From 649ec5129d36ee64406a0851a00059b3d3af44ee Mon Sep 17 00:00:00 2001 From: zuntum Date: Tue, 13 Mar 2001 13:13:41 +0000 Subject: Initial import of sniff-1.0. This program filters the tcpump raw packet data looking for logins and passwords on the most commonly used tcp ports (ftp telnet pop3 ...). It dumps sniffed data to a file named sniff.log --- security/sniff/Makefile | 17 +++++++++++++++++ security/sniff/files/md5 | 3 +++ security/sniff/files/patch-sum | 3 +++ security/sniff/patches/patch-aa | 29 +++++++++++++++++++++++++++++ security/sniff/pkg/DESCR | 3 +++ security/sniff/pkg/PLIST | 3 +++ 6 files changed, 58 insertions(+) create mode 100644 security/sniff/Makefile create mode 100644 security/sniff/files/md5 create mode 100644 security/sniff/files/patch-sum create mode 100644 security/sniff/patches/patch-aa create mode 100644 security/sniff/pkg/DESCR create mode 100644 security/sniff/pkg/PLIST (limited to 'security/sniff') diff --git a/security/sniff/Makefile b/security/sniff/Makefile new file mode 100644 index 00000000000..54c35918b54 --- /dev/null +++ b/security/sniff/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/03/13 13:13:41 zuntum Exp $ +# + +DISTNAME= sniff-1.0 +CATEGORIES= security +MASTER_SITES= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ \ + ftp://ftp.pl.freebsd.org/pub/FreeBSD/ports/distfiles/ + +MAINTAINER= zuntum@netbsd.org +COMMENT= Program to sniff logins and passwords + +HAS_CONFIGURE= YES + +MAKE_ENV+= "CC=${CC}" \ + "PREFIX=${PREFIX}" + +.include "../../mk/bsd.pkg.mk" diff --git a/security/sniff/files/md5 b/security/sniff/files/md5 new file mode 100644 index 00000000000..7a7e3f6b823 --- /dev/null +++ b/security/sniff/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/03/13 13:13:41 zuntum Exp $ + +SHA1 (sniff-1.0.tar.gz) = f4eed7b8736fb0de489593cfec627a8fbbd94e72 diff --git a/security/sniff/files/patch-sum b/security/sniff/files/patch-sum new file mode 100644 index 00000000000..80bc0c5ae8d --- /dev/null +++ b/security/sniff/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/03/13 13:13:41 zuntum Exp $ + +SHA1 (patch-aa) = 240deb505a5f7f5b6e4d4c6a2f1d6738cfcf3a3e diff --git a/security/sniff/patches/patch-aa b/security/sniff/patches/patch-aa new file mode 100644 index 00000000000..906e84a2621 --- /dev/null +++ b/security/sniff/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/13 13:13:41 zuntum Exp $ + +--- Makefile.in.orig Thu Dec 10 16:05:13 1998 ++++ Makefile.in +@@ -1,12 +1,9 @@ +- +-CC=gcc ++# CC, CFLAGS and PREFIX are passed via environment, so wipe them from here + RM=rm + CP=cp +-PREFIX=/usr/local + INSTALL_DIR=${PREFIX}/sbin + INSTALL_MAN=${PREFIX}/man/man1 + +-CFLAGS = -g + OBJS = sniff.o clear.o ifOpen.o lookupDNShost.o printData.o printHeader.o readPacket.o readTCP.o sniffData.o + + +@@ -16,8 +13,8 @@ + $(CC) $(CFLAGS) -o sniff $(OBJS) + + install: +- $(CP) sniff $(INSTALL_DIR) +- $(CP) sniff.1 $(INSTALL_MAN) ++ $(BSD_INSTALL_PROGRAM) sniff $(INSTALL_DIR) ++ $(BSD_INSTALL_MAN) sniff.1 $(INSTALL_MAN) + + clean: + $(RM) $(OBJS) sniff diff --git a/security/sniff/pkg/DESCR b/security/sniff/pkg/DESCR new file mode 100644 index 00000000000..21c5da3a8fb --- /dev/null +++ b/security/sniff/pkg/DESCR @@ -0,0 +1,3 @@ +This program filters the tcpump raw packet data looking for logins and +passwords on the most commonly used tcp ports (ftp telnet pop3 ...). +It dumps sniffed data to a file named sniff.log diff --git a/security/sniff/pkg/PLIST b/security/sniff/pkg/PLIST new file mode 100644 index 00000000000..8fd6bb8e880 --- /dev/null +++ b/security/sniff/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/13 13:13:41 zuntum Exp $ +sbin/sniff +man/man1/sniff.1 -- cgit v1.2.3