summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-08-12 23:53:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-08-12 23:53:24 +0000
commit3d307ba4f427becda1b3a7dc0a1d7a3e99b3a8cc (patch)
tree61d03395a6b15a605d14e3e819b1dd9146cfb43d
parente729fd4f6b58f901dac1dbf9698a873d4537cb96 (diff)
block 255.255.255.255 and 0.0.0.0 as well
-rw-r--r--share/ipf/firewall.12
-rw-r--r--share/ipf/firewall.22
2 files changed, 4 insertions, 0 deletions
diff --git a/share/ipf/firewall.1 b/share/ipf/firewall.1
index 49323797bc5..907b8585f06 100644
--- a/share/ipf/firewall.1
+++ b/share/ipf/firewall.1
@@ -24,6 +24,8 @@ block in log quick on ppp0 proto tcp/udp all with short
#
block in log quick on ppp0 from 198.168.4.0/24 to any
block in log quick on ppp0 from localhost to any
+block in log quick on ppp0 from 0.0.0.0/32 to any
+block in log quick on ppp0 from 255.255.255.255/32 to any
#
# Block any incoming traffic to NFS ports, to the RPC portmapper, and
# to X servers.
diff --git a/share/ipf/firewall.2 b/share/ipf/firewall.2
index 9a73215748b..62556108748 100644
--- a/share/ipf/firewall.2
+++ b/share/ipf/firewall.2
@@ -27,6 +27,8 @@ block in log quick on ppp0 from any to any with ipopts
#
block in log quick on ppp0 from 198.168.4.0/24 to any
block in log quick on ppp0 from localhost to any
+block in log quick on ppp0 from 0.0.0.0/32 to any
+block in log quick on ppp0 from 255.255.255.255/32 to any
#
# Block all incoming UDP traffic except talk and DNS traffic. NFS
# and portmap are special-cased and logged.