Thomas Marschall wrote:
> I'd like to write a custom rule to put in the output chain to match on
> certain devices and ports, then log matched packets.  Any pointers on
> doing this?

You can do that with an action that has a companion extension script. Then
invoke the action from the rules file with SOURCE=$FW and DEST=all.

See http://www.shorewall.net/Actions#Extension

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to