Source-Changes-HG archive

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

[src/trunk]: src/share/examples/npf Add support for blacklistd



details:   https://anonhg.NetBSD.org/src/rev/471070bbc5cb
branches:  trunk
changeset: 1003607:471070bbc5cb
user:      sevan <sevan%NetBSD.org@localhost>
date:      Sun Sep 22 19:51:18 2019 +0000

description:
Add support for blacklistd

diffstat:

 share/examples/npf/soho_gw-npf.conf |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b09211d5f51a -r 471070bbc5cb share/examples/npf/soho_gw-npf.conf
--- a/share/examples/npf/soho_gw-npf.conf       Sun Sep 22 19:30:15 2019 +0000
+++ b/share/examples/npf/soho_gw-npf.conf       Sun Sep 22 19:51:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: soho_gw-npf.conf,v 1.18 2019/09/22 19:30:15 sevan Exp $
+# $NetBSD: soho_gw-npf.conf,v 1.19 2019/09/22 19:51:18 sevan Exp $
 #
 # SOHO border
 #
@@ -42,6 +42,9 @@
        # Block inbound traffic from those on the block table 
        block in from <block>
 
+       # Placeholder for blacklistd (configuration separate) to add blocked hosts
+       ruleset "blacklistd"
+
        # Allow inbound SSH and log all connection attempts
        pass stateful in family inet4 proto tcp to $ext_v4 port ssh \
                apply "log"



Home | Main Index | Thread Index | Old Index