Skip to content

Instantly share code, notes, and snippets.

@islander
Created November 6, 2015 05:49
Show Gist options
  • Save islander/212eaeba9f5488297c85 to your computer and use it in GitHub Desktop.
Save islander/212eaeba9f5488297c85 to your computer and use it in GitHub Desktop.
-A FORWARD -m string --string "BitTorrent" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "BitTorrent protocol" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "peer_id=" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string ".torrent" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "announce.php?passkey=" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "torrent" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "announce" --algo bm --to 65535 -j DROP
-A FORWARD -m string --string "info_hash" --algo bm --to 65535 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment