~mdw
/
firewall
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
classify.m4: Explicitly class 255.255.255.255 as broadcast.
[firewall]
/
fender.m4
diff --git
a/fender.m4
b/fender.m4
index
f1d84d8
..
77a08fe
100644
(file)
--- a/
fender.m4
+++ b/
fender.m4
@@
-34,12
+34,8
@@
allowservices inbound tcp \
ntpclient inbound $ntp_servers
## Provide NTP service to untrusted clients.
ntpclient inbound $ntp_servers
## Provide NTP service to untrusted clients.
-iptables -A inbound -p udp -j ACCEPT \
- --source-port 123 --destination-port 123 \
- -s 172.29.198.0/23
-ip6tables -A inbound -p udp -j ACCEPT \
- --source-port 123 --destination-port 123 \
- -s 2001:470:9740::/48
+run ip46tables -A inbound-untrusted -p udp -j ACCEPT \
+ --source-port 123 --destination-port 123
## Guaranteed black hole. Put this at the very front of the chain.
run iptables -I INPUT -d 212.13.198.78 -j DROP
## Guaranteed black hole. Put this at the very front of the chain.
run iptables -I INPUT -d 212.13.198.78 -j DROP