Skip to content

Instantly share code, notes, and snippets.

@abdallah
Created November 28, 2014 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abdallah/f37b6566420ca780e462 to your computer and use it in GitHub Desktop.
Save abdallah/f37b6566420ca780e462 to your computer and use it in GitHub Desktop.
attacker using http 1.0 so that should block them but let everybody else in
iptables -I INPUT 1 -p tcp --dport 80 -m string --string "HTTP/1.0" --algo bm -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment