diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-03-13 13:13:41 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-03-13 13:13:41 +0000 |
commit | 7779abc7a86205fa10323eef4d41d43392304462 (patch) | |
tree | ada94014207a49549f7e3e6d5656cf6725caa8a3 /security | |
parent | a4df455da60a75400611b6096b82aa1dd7976ef3 (diff) | |
download | pkgsrc-7779abc7a86205fa10323eef4d41d43392304462.tar.gz |
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
Diffstat (limited to 'security')
-rw-r--r-- | security/sniff/Makefile | 17 | ||||
-rw-r--r-- | security/sniff/files/md5 | 3 | ||||
-rw-r--r-- | security/sniff/files/patch-sum | 3 | ||||
-rw-r--r-- | security/sniff/patches/patch-aa | 29 | ||||
-rw-r--r-- | security/sniff/pkg/DESCR | 3 | ||||
-rw-r--r-- | security/sniff/pkg/PLIST | 3 |
6 files changed, 58 insertions, 0 deletions
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 |