Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npftest Update npftest.conf for the recent synt...



details:   https://anonhg.NetBSD.org/src/rev/0a942f4057ba
branches:  trunk
changeset: 790168:0a942f4057ba
user:      rmind <rmind%NetBSD.org@localhost>
date:      Mon Sep 23 15:30:32 2013 +0000

description:
Update npftest.conf for the recent syntax adjustments.

diffstat:

 usr.sbin/npf/npftest/npftest.conf |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 8c20f56efe1c -r 0a942f4057ba usr.sbin/npf/npftest/npftest.conf
--- a/usr.sbin/npf/npftest/npftest.conf Mon Sep 23 12:41:37 2013 +0000
+++ b/usr.sbin/npf/npftest/npftest.conf Mon Sep 23 15:30:32 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: npftest.conf,v 1.2 2013/02/09 03:35:33 rmind Exp $
+# $NetBSD: npftest.conf,v 1.3 2013/09/23 15:30:32 rmind Exp $
 
 $ext_if = "npftest0"
 $int_if = "npftest1"
@@ -22,7 +22,7 @@
 map $ext_if dynamic $local_net -> $pub_ip1
 map $ext_if dynamic $local_ip1 port 6000 <- $pub_ip1 port 8000
 
-group (interface $ext_if) {
+group "ext" on $ext_if {
        pass stateful out final proto tcp flags S/SA all
        pass stateful out final from $local_net
        pass stateful in final to any port $ports
@@ -30,13 +30,13 @@
        block all
 }
 
-group (interface $int_if) {
-       ruleset (name "test-rules", dynamic)
+group "int" on $int_if {
+       ruleset "test-rules"
        pass stateful out final to $local_ip2
        pass out final to $local_ip3
        block final to $local_ip4
 }
 
-group (default) {
+group default {
        block all
 }



Home | Main Index | Thread Index | Old Index