mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
optimize(dropSpoofing): filter 127.0.0.0/8
This commit is contained in:
1 parent
ccf5ee857f
commit
608312fb8f
1 file changed
+1
-1
@@ -7,7 +7,7 @@ var DropSpoofing dropSpoofing
|
||||
func (r *dropSpoofing) GetSetupCommands() SetupCommands {
|
||||
commands := `
|
||||
iptables -N DROP_SPOOFING
|
||||
iptables -A DROP_SPOOFING -p udp --sport 53 -m string --algo bm --hex-string "|00047f000001|" --from 60 --to 180 -j DROP
|
||||
iptables -A DROP_SPOOFING -p udp --sport 53 -m string --algo bm --hex-string "|00047f|" --from 60 --to 180 -j DROP
|
||||
iptables -A DROP_SPOOFING -p udp --sport 53 -m string --algo bm --hex-string "|000400000000|" --from 60 --to 180 -j DROP
|
||||
iptables -A INPUT -j DROP_SPOOFING
|
||||
iptables -A FORWARD -j DROP_SPOOFING
|
||||
|
||||
Reference in new issue
Block a user