summaryrefslogtreecommitdiff
path: root/security/sniff
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-03-13 13:13:41 +0000
committerzuntum <zuntum>2001-03-13 13:13:41 +0000
commit649ec5129d36ee64406a0851a00059b3d3af44ee (patch)
treeada94014207a49549f7e3e6d5656cf6725caa8a3 /security/sniff
parent78e1a82eead4b781c900110578629bf5dea8de26 (diff)
downloadpkgsrc-649ec5129d36ee64406a0851a00059b3d3af44ee.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/sniff')
-rw-r--r--security/sniff/Makefile17
-rw-r--r--security/sniff/files/md53
-rw-r--r--security/sniff/files/patch-sum3
-rw-r--r--security/sniff/patches/patch-aa29
-rw-r--r--security/sniff/pkg/DESCR3
-rw-r--r--security/sniff/pkg/PLIST3
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