Module Name: src Committed By: christos Date: Tue Jan 27 19:49:38 UTC 2015
Modified Files: src/external/bsd/blacklist/libexec: blacklistd-helper Log Message: we are passing the port now To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/blacklist/libexec/blacklistd-helper Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/blacklist/libexec/blacklistd-helper diff -u src/external/bsd/blacklist/libexec/blacklistd-helper:1.2 src/external/bsd/blacklist/libexec/blacklistd-helper:1.3 --- src/external/bsd/blacklist/libexec/blacklistd-helper:1.2 Tue Jan 27 14:40:37 2015 +++ src/external/bsd/blacklist/libexec/blacklistd-helper Tue Jan 27 14:49:37 2015 @@ -1,6 +1,6 @@ #!/bin/sh -echo "run $@" 1>&2 -set -x +#echo "run $@" 1>&2 +#set -x # $1 command # $2 rulename # $3 protocol @@ -11,19 +11,6 @@ set -x case "$1" in add) - # GRR! -# case $4 in -# *:*) -# case $5 in -# 128) addr=$4;; -# *) addr=$4/$5;; -# esac;; -# *) -# case $5 in -# 32) addr=$4;; -# *) addr=$4/$5;; -# esac;; -# esac exec /sbin/npfctl rule $2 add block in final proto $3 from $4/$5 to any port $6 ;; rem)