Module Name: src Committed By: sevan Date: Wed Apr 10 23:00:43 UTC 2019
Modified Files: src/share/examples/npf: soho_gw-npf.conf Log Message: Switch out deprecated keywords. Found with npfctl validate. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/share/examples/npf/soho_gw-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/share/examples/npf/soho_gw-npf.conf diff -u src/share/examples/npf/soho_gw-npf.conf:1.7 src/share/examples/npf/soho_gw-npf.conf:1.8 --- src/share/examples/npf/soho_gw-npf.conf:1.7 Mon Aug 20 20:45:52 2018 +++ src/share/examples/npf/soho_gw-npf.conf Wed Apr 10 23:00:43 2019 @@ -1,4 +1,4 @@ -# $NetBSD: soho_gw-npf.conf,v 1.7 2018/08/20 20:45:52 rjs Exp $ +# $NetBSD: soho_gw-npf.conf,v 1.8 2019/04/10 23:00:43 sevan Exp $ # # SOHO border # @@ -13,9 +13,9 @@ $ext_addrs = { inet4(wm0), inet6(wm0) } $int_if = "wm1" # a table to house e.g. block candidates in -table <block> type hash file "/usr/share/examples/npf/hashtablefile" +table <block> type ipset file "/usr/share/examples/npf/hashtablefile" # feed this using e.g.: npfctl table "int-block" add 198.51.100.16/29 -table <int-block> type tree dynamic +table <int-block> type lpm $services_tcp = { http, https, smtp, domain, 6000, 9022 } $services_udp = { domain, ntp, 6000 }