Andrew Suffield wrote: > On Fri, Aug 10, 2007 at 01:05:55PM -0700, Tom Eastep wrote: >> Not much chance of this changing but for Shorewall-perl 4.0.3, there will be >> an 'isuasable' extension script. Here's an example: > ^^^^^^^^^ > ?
s/b 'isusable' > >> # Ping a gateway through the passed interface >> case $1 in >> eth0) >> ping -c 4 -I eth0 206.124.146.254 > /dev/null 2>&1 >> return >> ;; >> eth1) >> ping -c 4 -I eth1 192.168.12.254 > /dev/null 2>&1 >> return >> ;; >> *) >> return 1 >> ;; >> esac > > That leads to the obvious question: what states might the firewall be > in when this script is invoked? Is it necessary to pair this with > something in routestopped? (Worth documenting if you didn't already) The firewall can be in any state whatsoever when this script is called. So if ADMINISABSENTMINDED=No and output is disallowed by routestopped, the script will have to blow it's own OUTPUT holes in the firewall. -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
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
