diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:59:14 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-09-06 17:59:14 +0000 |
commit | ffcd18f46696616db6711bec165776823a1dc780 (patch) | |
tree | cf87b6d9498e6230b01c76424ebfe0cae11069ba /net-analyzer/p0f/files | |
parent | Version bump (diff) | |
download | historical-ffcd18f46696616db6711bec165776823a1dc780.tar.gz historical-ffcd18f46696616db6711bec165776823a1dc780.tar.bz2 historical-ffcd18f46696616db6711bec165776823a1dc780.zip |
Cleanup
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'net-analyzer/p0f/files')
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.3 | 3 | ||||
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.5 | 3 | ||||
-rw-r--r-- | net-analyzer/p0f/files/digest-p0f-2.0.6 | 3 | ||||
-rwxr-xr-x | net-analyzer/p0f/files/p0f.initd | 37 |
4 files changed, 0 insertions, 46 deletions
diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.3 b/net-analyzer/p0f/files/digest-p0f-2.0.3 deleted file mode 100644 index b31f633465ac..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 583688a4c5718eec0bb34102b3ac457b p0f-2.0.3.tgz 119407 -RMD160 dfd960f51040289fc28aca5e4505654965094906 p0f-2.0.3.tgz 119407 -SHA256 e2d58c71a5e014e8391789f48f787c493b1c81901001c55d5ce888aba5b84a41 p0f-2.0.3.tgz 119407 diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.5 b/net-analyzer/p0f/files/digest-p0f-2.0.5 deleted file mode 100644 index 6c3b8b5796fa..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 78235749e8ada6ad2b16b40fe15081f6 p0f-2.0.5.tgz 130002 -RMD160 34ee678aa721ee38959419808ed798aa23228a16 p0f-2.0.5.tgz 130002 -SHA256 563c62f63acfbef79e79659c3f483813816c7d032ef73e96e462a3b4f9a2fc7f p0f-2.0.5.tgz 130002 diff --git a/net-analyzer/p0f/files/digest-p0f-2.0.6 b/net-analyzer/p0f/files/digest-p0f-2.0.6 deleted file mode 100644 index 8bfdb2ca91f0..000000000000 --- a/net-analyzer/p0f/files/digest-p0f-2.0.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 d6333198027b90e05ccb3412d8f25d05 p0f-2.0.6.tgz 131668 -RMD160 926ae9a8ec382d158df000175612421f7bddc6d1 p0f-2.0.6.tgz 131668 -SHA256 95aaf7861475c76929a08aeb4b7dca3ee912a5405fbbb1e4b80b8cadc3600441 p0f-2.0.6.tgz 131668 diff --git a/net-analyzer/p0f/files/p0f.initd b/net-analyzer/p0f/files/p0f.initd deleted file mode 100755 index 09d1ce333b3d..000000000000 --- a/net-analyzer/p0f/files/p0f.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/p0f/files/p0f.initd,v 1.1 2005/03/11 10:46:08 ka0ttic Exp $ - -start() { - ebegin "Starting p0f" - # The 'tcp and tcp[13] & 2 = 2' requires at least syn set. - # An alternative would be 'tcp and tcp[13] & 0x3f = 2', which - # is syn and no other major flags (but ECN enabled packets are OK) - if [ -z "$BpfFilter" ]; then - BpfFilter='tcp and tcp[13] & 2 = 2' - else - BpfFilter="$BpfFilter and tcp and tcp[13] & 2 = 2" - fi - - # The command in backticks returns all the local IP addresses on this machine. - for OneIP in `/sbin/ifconfig 2>/dev/null | grep 'inet addr' | sed -e 's/.*addr://' -e 's/ .*//'` ; do - BpfFilter="$BpfFilter and not src host $OneIP" - done - - # Create a lock file. - mkdir -p /var/lock/subsys - touch /var/lock/subsys/p0f - - # Start up p0f and filter out all packets originating from any of this machines IP's. - einfo "Logfile: ${P0FLOGFILE}" - start-stop-daemon --start --quiet --exec /usr/sbin/p0f -- -v "$BpfFilter" >>"/var/log/p0f" 2>&1 & - eend ${?} -} - -stop() { - ebegin "Stopping p0f" - start-stop-daemon --stop --quiet --exec /usr/sbin/p0f - rm -f /var/lock/subsys/p0f - eend ${?} -} |