Posted By

alti on 01/21/08


Tagged

Shell pf


Versions (?)

display all IPs which matched a pf rule


 / Published in: Bash
 

  1. tcpdump -n -e -ttt -r /var/log/pflog |grep match | awk '{print $10}' | grep -v '\:\:' | cut -f '1 2 3 4' -d . | sort -u

Report this snippet  

You need to login to post a comment.