~mdw
/
firewall
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
194c72b
)
classify.m4: Explicitly class 255.255.255.255 as broadcast.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Dec 2023 12:44:12 +0000
(12:44 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 22 Dec 2023 12:44:12 +0000
(12:44 +0000)
classify.m4
patch
|
blob
|
blame
|
history
diff --git
a/classify.m4
b/classify.m4
index
6e304a8
..
98b9795
100644
(file)
--- a/
classify.m4
+++ b/
classify.m4
@@
-146,6
+146,7
@@
for i in 0.0.0.0 240.0.0.0/4; do
run iptables -t mangle -A out-classify -g bad-destination-address -d $i
done
run iptables -t mangle -A out-classify -g mark-to-link -d 169.254.0.0/16
run iptables -t mangle -A out-classify -g bad-destination-address -d $i
done
run iptables -t mangle -A out-classify -g mark-to-link -d 169.254.0.0/16
+run iptables -t mangle -A out-classify -g mark-to-link -d 255.255.255.255
run iptables -t mangle -A out-classify -g mark-to-link \
-m addrtype --dst-type BROADCAST
run iptables -t mangle -A out-classify -g mark-to-link \
-m addrtype --dst-type BROADCAST