Skip to content

Instantly share code, notes, and snippets.



Created Mar 17, 2014
What would you like to do?
Get firewall messages sorted
grep Firewall messages | sed -r 's/.*SRC=(\S+).*PROTO=(\S+).*DPT=(\S+).*/\1 \2 \3/' | sort | uniq -c | sort -r -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.