From a865c28a170f4f9ae23d7b3f9ef34cc10f2afbd6 Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 26 Mar 2001 11:59:15 +0000 Subject: 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. --- security/p0f/Makefile | 5 +++-- security/p0f/files/patch-sum | 4 ++-- security/p0f/patches/patch-ab | 22 ++++------------------ security/p0f/pkg/PLIST | 3 ++- 4 files changed, 11 insertions(+), 23 deletions(-) (limited to 'security/p0f') 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) - # - --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 -- cgit v1.2.3