Skip to content

Instantly share code, notes, and snippets.

@magenx

magenx/gist:9604286

Created Mar 17, 2014
Embed
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.