Skip to content

Instantly share code, notes, and snippets.

@wireghoul
Created January 21, 2018 22:10
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 wireghoul/928dea58bfc1cb0b06a316cbf4dea199 to your computer and use it in GitHub Desktop.
Save wireghoul/928dea58bfc1cb0b06a316cbf4dea199 to your computer and use it in GitHub Desktop.
Simple checks for auditing PF firewall rules with graudit
/0[ ,\"\'\}]
/1[ ,\"\'\}]
/2[ ,\"\'\}]
/3[ ,\"\'\}]
/4[ ,\"\'\}]
/5[ ,\"\'\}]
/6[ ,\"\'\}]
/7[ ,\"\'\}]
/8[ ,\"\'\}]
[^\#]*from any to any
any port
include
persist
override
^[^\#]*pass
block
port.*(135|445)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment