[PLUG] execing an iptables command in a perl script...

Andrew Munkres amunk at pdx.edu
Sat Oct 25 19:28:01 UTC 2003


Michael C. Robinson writes:
 > I'm close, how do I executing an iptables command in a perl
 > script?  I've tried putting backticks around it, but that
 > doesn't work as expected.

>From the "perlfunc" man page:
 >        system LIST
 >        system PROGRAM LIST
 >                Does exactly the same thing as "exec LIST", except
 >                that a fork is done first, and the parent process
 >                waits for the child process to complete.  Note




More information about the PLUG mailing list