|
My suggestion echoes Laurent Caron's suggestion: there are scripts in
/etc/ppp/ip-{up|down}.d that are executed when the PPTP link goes down,
so you could brand the interface(s) as optional and execute shorewall
restarts there. Similarly, there are scripts that can be executed
whenever an ethernet interface goes up or down (in CentOS they're in
/etc/sysconfig/network-scripts/if{up|down}.d, not sure where they would
be in Debian) - so those can also be used to do all of this manual
intervention you mention. Using those, and some clever link state detection using ethtool, ip, or other network-related utilities you should be able to write some simple scripts that take care of the dynamic up/down states of the links. If there is DHCP involved in either of those, you should also look into your DHCP client's hook scripts feature and use that as well. The tools are there, you'll just have to invest some time into figuring things out. Cheers. Roberto C. Sánchez wrote: Josh, Unfortunately, since you do not really provide relevant details about your setup, my suggestions below are only guesses.On Sun, Sep 20, 2009 at 02:13:01AM -0700, JoSH Lehan wrote: --
Diego Rivera
Director / System Operations Roundbox Global : enterprise : technology : genius ------------------------------------------------------------------------------------------------------------------ Avenida 11 y Calle 7-9, Barrio Amón, San José, Costa Rica tel: +1 (404) 567-5000 ext. 2147 | cel: +(506) 8393-0772 | fax: +(506) 2258-3695 email: [email protected] | www.rbxglobal.com ------------------------------------------------------------------------------------------------------------------ |
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
