On 7/27/2014 10:35 AM, [email protected] wrote: > Reading > > http://shorewall.net/shorewall_extension_scripts.htm > > I'm installing a number of convenience scripts in > > /lib.private > > It's clear how they're referenced/invoked in the various shorewall stages. > > Is it possible to invoke a single script from the shorewall cmd line? > > e.g., if > > /lib.private > ... > setup_sysctls() { > echo 0 > /proc/sys/net/ipv4/conf/all/rp_filter > } > ... > > is there a shell cmd to effectively > > shorewall 'EXEC a PRIVATE SCRIPT' setup_sysctls > > ?
Shorewall actually has features to set most of the important entries in /proc/sys/net. But you can also use any of the extension scripts (http://www.shorewall.org/shorewall_extension_scripts.htm) -Tom -- .. Tom E astep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
