Skip to content

Instantly share code, notes, and snippets.

@rffontenelle
Created May 26, 2016 19:53
Show Gist options
  • Save rffontenelle/8e0425b3038ba493abbbe9828fd99edb to your computer and use it in GitHub Desktop.
Save rffontenelle/8e0425b3038ba493abbbe9828fd99edb to your computer and use it in GitHub Desktop.
# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain syn-flood (0 references)
target prot opt source destination
RETURN all -- anywhere anywhere limit: avg 100/sec burst 150
LOG all -- anywhere anywhere LOG level warning prefix "SYN flood: "
DROP all -- anywhere anywhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment