Gaurav Ghimire wrote:
Are there any possibilities that I could run a script (bash, perl) when
any rule is matched.

make sure the rule you want to trigger your script includes "log".

have your script tail pflog, and watch for your trigger rule before
performing its action.
_______________________________________________
freebsd-pf@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"

Reply via email to