summaryrefslogtreecommitdiff
path: root/security/p0f
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-03-26 11:59:15 +0000
committerhubertf <hubertf@pkgsrc.org>2001-03-26 11:59:15 +0000
commita865c28a170f4f9ae23d7b3f9ef34cc10f2afbd6 (patch)
tree4d92ba36e120a641e5973397727d549627d9cba4 /security/p0f
parenteab52d3728553ef51cbac534c96664ea163ff85e (diff)
downloadpkgsrc-a865c28a170f4f9ae23d7b3f9ef34cc10f2afbd6.tar.gz
Add p0f-1.7: passive OS fingerprinting tool
Passive OS fingerprinting technique based on information coming from remote host when it establishes connection to our system. Captured packets contains enough information to determine OS - and, unlike active scanners (nmap, queSO) - without sending anything to this host. Submitted by in private mail.
Diffstat (limited to 'security/p0f')
-rw-r--r--security/p0f/Makefile5
-rw-r--r--security/p0f/files/patch-sum4
-rw-r--r--security/p0f/patches/patch-ab22
-rw-r--r--security/p0f/pkg/PLIST3
4 files changed, 11 insertions, 23 deletions
diff --git a/security/p0f/Makefile b/security/p0f/Makefile
index 1595ab1f90e..b4baea0840b 100644
--- a/security/p0f/Makefile
+++ b/security/p0f/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/03/26 05:12:56 zuntum Exp $
+# $NetBSD: Makefile,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $
#
DISTNAME= p0f-1.7
-CATEGORIES= security
+CATEGORIES= security net
MASTER_SITES= http://lcamtuf.hack.pl/
EXTRACT_SUFX= .tgz
@@ -12,5 +12,6 @@ COMMENT= passive OS fingerprinting tool
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/p0f ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/p0f.README
.include "../../mk/bsd.pkg.mk"
diff --git a/security/p0f/files/patch-sum b/security/p0f/files/patch-sum
index 4d67b1a6795..4f85bb54a1a 100644
--- a/security/p0f/files/patch-sum
+++ b/security/p0f/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2001/03/26 05:12:56 zuntum Exp $
+$NetBSD: patch-sum,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $
SHA1 (patch-aa) = 067e95fa6074248712fd05047d540708d80b86ac
-SHA1 (patch-ab) = 3b15153713c7c861af5e74c423634041c123b9be
+SHA1 (patch-ab) = 8be455cbaeddf152604c97c5e136de487838f298
diff --git a/security/p0f/patches/patch-ab b/security/p0f/patches/patch-ab
index b2e8187814f..c06f82bafad 100644
--- a/security/p0f/patches/patch-ab
+++ b/security/p0f/patches/patch-ab
@@ -1,23 +1,9 @@
-$NetBSD: patch-ab,v 1.1.1.1 2001/03/26 05:12:56 zuntum Exp $
+$NetBSD: patch-ab,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $
---- Makefile.orig Tue Jun 13 20:45:06 2000
+--- Makefile.orig Mon Mar 26 06:21:15 2001
+++ Makefile
-@@ -3,20 +3,19 @@
- # (c) <lcamtuf@tpi.pl>
- #
-
--CC = gcc
- CLIBS = -lpcap
- SUNLIBS = -lsocket -lnsl -D_SUN_=1
- STRIP = strip
--CFLAGS = -O3 -Wall
- FILE = p0f
- VERSION = 1.7
-
- DISTRO = p0f.c Makefile README COPYING tcp.h p0f.fp
-
--all: $(FILE) strip
-+all: $(FILE)
+@@ -16,7 +16,8 @@
+ all: $(FILE) strip
$(FILE): p0f.c
- $(CC) $(CFLAGS) -DVER=\"$(VERSION)\" -o $@ $< $(CLIBS) \
diff --git a/security/p0f/pkg/PLIST b/security/p0f/pkg/PLIST
index 448c494219f..59d7e9333e4 100644
--- a/security/p0f/pkg/PLIST
+++ b/security/p0f/pkg/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/26 05:12:56 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.1.1.2 2001/03/26 11:59:15 hubertf Exp $
bin/p0f
etc/p0f.fp
+share/doc/p0f.README