Skip to content

Instantly share code, notes, and snippets.

@paulghaddad
Created October 14, 2014 18:24
Show Gist options
  • Save paulghaddad/055772fbe584ce4c6d7c to your computer and use it in GitHub Desktop.
Save paulghaddad/055772fbe584ce4c6d7c to your computer and use it in GitHub Desktop.
Level Up 1: Can check firewall settings with iptables
1. On your development machine, see what rules are currently loaded in the firewall. If it's not running, shame on you, start it first.
To view the current rules: sudo iptables -L
2. Explain why a whitelist approach is better than a blacklist approach for firewalls?
A whitelist is better because a blacklist won't block a threat that is unknown before the attack. With the whitelist approach, it would be blocked by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment