Last active
January 23, 2023 14:35
-
-
Save un-def/7515ac8eb82a5393df2d to your computer and use it in GitHub Desktop.
Stop DNS spoofing and fake redirects by Дом.ru ISP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -A INPUT -p udp --sport 53 --match string --algo bm --hex-string '|5cfff164|' -j DROP | |
iptables -A INPUT -p tcp --sport 80 --match string --algo bm --string 'Location: http://lawfilter.ertelecom.ru' -j DROP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment