system ("ipchains -A input -d 192.168.1.1 -j DENY"); Matt On Sun, Oct 22, 2000 at 06:23:53PM +0800, Terry Ha wrote:
Hi, I want to write a GTK+ application that utilize the "IPCHAINS". I want to know how to call system command, such as "ipchains -A input -d 192.168.1.1 -j DENY" and "clear". Pls answer this question, because it is urgent. Thanks,
-- Matt Spong <spong baked net> www.wam.umd.edu/~spong Author and maintainer of PowerShell: powershell.sourceforge.net UM Linux Users Group Secretary/Webmaster: www.umlug.org AIM: Spong1027 ICQ: 74069183 GPG Public Key: finger spong+ glue umd edu -------------------------------------------------------------------------- "Those who desire to give up freedom in order to gain security, will not have, nor do they deserve, either one." -Thomas Jefferson
Attachment:
pgpyeSf5vIPKT.pgp
Description: PGP signature