Skip to content

Instantly share code, notes, and snippets.

@un-def
Last active January 23, 2023 14:35
Show Gist options
  • Save un-def/7515ac8eb82a5393df2d to your computer and use it in GitHub Desktop.
Save un-def/7515ac8eb82a5393df2d to your computer and use it in GitHub Desktop.
Stop DNS spoofing and fake redirects by Дом.ru ISP
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