packages: p0f/p0f.init - filter rule has to be at the end of command line p...

adamg adamg at pld-linux.org
Wed Jan 18 13:43:35 CET 2012


Author: adamg                        Date: Wed Jan 18 12:43:35 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- filter rule has to be at the end of command line params

---- Files affected:
packages/p0f:
   p0f.init (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/p0f/p0f.init
diff -u packages/p0f/p0f.init:1.15 packages/p0f/p0f.init:1.16
--- packages/p0f/p0f.init:1.15	Wed Jan 18 13:42:08 2012
+++ packages/p0f/p0f.init	Wed Jan 18 13:43:30 2012
@@ -69,7 +69,7 @@
 			OPTIONS="$OPTIONS -u $P0F_USER"
 		fi
 		# Start up p0f and filter out all packets originating from any of this machines IP's.
-		/usr/sbin/p0f "$RULE" $OPTIONS $P0F_OPTIONS -d -o /var/log/p0f 2>/dev/null
+		/usr/sbin/p0f $OPTIONS $P0F_OPTIONS "$RULE" -d -o /var/log/p0f 2>/dev/null
 		RETVAL=$?
 		if [ $RETVAL -eq 0 ]; then
 			# this is secure, as socket is always created with current umask and root
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/p0f/p0f.init?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list