Skip to content

Instantly share code, notes, and snippets.

@proukornew
Created January 29, 2016 13:06
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save proukornew/4242f551bb747f77d238 to your computer and use it in GitHub Desktop.
Save proukornew/4242f551bb747f77d238 to your computer and use it in GitHub Desktop.
#5&0xff=TTL, здесь нужно указать правильный TTL до DPI
iptables -I INPUT -p tcp --sport 443 -m u32 --u32 "0=0x45000028&&4=0x00000000&&5&0xff=60&&0x20=0x50140000" -j DROP
iptables -I INPUT -p tcp --sport 80 -m u32 --u32 "04=0x00000000&&5&0xff=60&&0x60=0x39352e31&&0x64=0x36372e31" -j DROP
#Зигуй за РТ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment