Module Name: src Committed By: christos Date: Mon Jan 26 00:18:40 UTC 2015
Modified Files: src/external/bsd/blacklist/etc: Makefile Added Files: src/external/bsd/blacklist/etc: npf.conf Log Message: Add npf.conf example To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/blacklist/etc/Makefile cvs rdiff -u -r0 -r1.1 src/external/bsd/blacklist/etc/npf.conf 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/etc/Makefile diff -u src/external/bsd/blacklist/etc/Makefile:1.2 src/external/bsd/blacklist/etc/Makefile:1.3 --- src/external/bsd/blacklist/etc/Makefile:1.2 Fri Jan 23 16:33:50 2015 +++ src/external/bsd/blacklist/etc/Makefile Sun Jan 25 19:18:40 2015 @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.2 2015/01/23 21:33:50 christos Exp $ +# $NetBSD: Makefile,v 1.3 2015/01/26 00:18:40 christos Exp $ SUBDIR=rc.d FILESDIR= /usr/share/examples/blacklist FILESMODE= 644 -FILES= blacklistd.conf +FILES= blacklistd.conf npf.conf .include <bsd.files.mk> .include <bsd.subdir.mk> Added files: Index: src/external/bsd/blacklist/etc/npf.conf diff -u /dev/null src/external/bsd/blacklist/etc/npf.conf:1.1 --- /dev/null Sun Jan 25 19:18:40 2015 +++ src/external/bsd/blacklist/etc/npf.conf Sun Jan 25 19:18:40 2015 @@ -0,0 +1,15 @@ +# Transparent firewall example for blacklistd + +$ext_if = "bnx0" + +set bpf.jit on; +alg "icmp" + +group "external" on $ext_if { + ruleset "blacklistd" + pass final all +} + +group default { + pass final all +}