diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-07-31 02:16:59 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-07-31 02:16:59 +0800 |
commit | 10ead4361cbce396ab055c8d5e6b59d50964672c (patch) | |
tree | 388bc2eaf2e0ed3abe2b04120ab3008c8da40161 /net-mgmt | |
parent | f23f29baa074ef4f3f12fa5335d1a722b4eabe87 (diff) | |
download | freebsd-ports-gnome-10ead4361cbce396ab055c8d5e6b59d50964672c.tar.gz freebsd-ports-gnome-10ead4361cbce396ab055c8d5e6b59d50964672c.tar.zst freebsd-ports-gnome-10ead4361cbce396ab055c8d5e6b59d50964672c.zip |
- New port: p0f2 Passive OS fingerprinting tool p0f version 2 gives better 3
PR: ports/169855
Submitted by: Denis Pokataev <catone@cpan.org>
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/p0f2/Makefile | 50 | ||||
-rw-r--r-- | net-mgmt/p0f2/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/p0f2/pkg-descr | 23 | ||||
-rw-r--r-- | net-mgmt/p0f2/pkg-plist | 11 |
5 files changed, 87 insertions, 0 deletions
diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 1eb28d51feec..654b14e78501 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -190,6 +190,7 @@ SUBDIR += openvmps SUBDIR += ourmon SUBDIR += p0f + SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-Cflow SUBDIR += p5-Cisco-Reconfig diff --git a/net-mgmt/p0f2/Makefile b/net-mgmt/p0f2/Makefile new file mode 100644 index 000000000000..f116b71bc2eb --- /dev/null +++ b/net-mgmt/p0f2/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: p0f2 +# Date created: 2012-07-30 +# Whom: Denis Pokataev <catone@cpan.org> +# +# $FreeBSD$ +# + +PORTNAME= p0f2 +PORTVERSION= 2.0.8 +CATEGORIES= net-mgmt security +MASTER_SITES= http://lcamtuf.coredump.cx/p0f/ \ + http://farrokhi.net/distfiles/ +DISTNAME= p0f-${DISTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= catone@cpan.org +COMMENT= Passive OS fingerprinting tool + +CONFLICTS= p0f-3.* + +USE_GMAKE= yes +ALL_TARGET= all p0fq tools +PORTDOCS= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt +MAN1= p0f.1 +WRKSRC= ${WRKDIR}/p0f + +post-patch: +.for f in config.h doc/README + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f} +.endfor + +do-install: +.for ii in p0f test/p0fq test/sendack test/sendack2 test/sendsyn + ${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${PREFIX}/bin +.endfor + ${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin + ${MKDIR} ${PREFIX}/etc/p0f +.for ii in . a. o. r. + ${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f +.endfor + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for ii in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/doc/${ii} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/net-mgmt/p0f2/distinfo b/net-mgmt/p0f2/distinfo new file mode 100644 index 000000000000..83db343aca06 --- /dev/null +++ b/net-mgmt/p0f2/distinfo @@ -0,0 +1,2 @@ +SHA256 (p0f-2.0.8.tgz) = 6c4d8745f04e59f2ba68d56fd1554551592f08a0497c9fc21b84498f47d1aee0 +SIZE (p0f-2.0.8.tgz) = 136877 diff --git a/net-mgmt/p0f2/pkg-descr b/net-mgmt/p0f2/pkg-descr new file mode 100644 index 000000000000..536d72a9a835 --- /dev/null +++ b/net-mgmt/p0f2/pkg-descr @@ -0,0 +1,23 @@ +from the README: + +Passive OS fingerprinting is based on information coming from a remote host +when it establishes a connection to our system. Captured packets contain +enough information to identify the operating system. In contrast to active +scanners such as nmap and QueSO, p0f does not send anything to the host being +identified. + +For more information, read Spitzner's text at: +http://www.enteract.com/~lspitz/finger.html . + +from the maintainer: + +Use of this program requires read access to the packet filtering +device, typically /dev/bpf0. Granting such access allows the users +who have it to put your Ethernet device into promiscuous mode and +sniff your network. See +http://www.infoworld.com/articles/op/xml/00/05/29/000529opswatch.xml +if you do not understand how this can be harmful. Running p0f with +no options will cause it to analyse packets intended for other +hosts. + +WWW: http://lcamtuf.coredump.cx/p0f.shtml diff --git a/net-mgmt/p0f2/pkg-plist b/net-mgmt/p0f2/pkg-plist new file mode 100644 index 000000000000..15a574a0cb1d --- /dev/null +++ b/net-mgmt/p0f2/pkg-plist @@ -0,0 +1,11 @@ +bin/p0f +bin/p0fq +bin/p0frep +bin/sendack +bin/sendack2 +bin/sendsyn +etc/p0f/p0f.fp +etc/p0f/p0fa.fp +etc/p0f/p0fo.fp +etc/p0f/p0fr.fp +@dirrmtry etc/p0f |