![]() |
| | #1 |
| Registered User Join Date: Aug 2007
Posts: 2
| managing iptables rules from C program Is subj possible? I need a way to create/modify iptables rules from a c program. Currently I'm doing it with "system()", but it gets very awkward as the program grows. Thanks in advance. |
| fadey is offline | |
| | #2 |
| Kernel hacker Join Date: Jul 2007 Location: Farncombe, Surrey, England
Posts: 15,686
| I think what you are looking for is this: http://www.netfilter.org/projects/li...ink/index.html Although I'm not sure, I've never used iptables "in anger". -- Mats
__________________ Compilers can produce warnings - make the compiler programmers happy: Use them! Please don't PM me for help - and no, I don't do help over instant messengers. |
| matsp is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using variables in system() | Afro | C Programming | 8 | 07-03-2007 12:27 PM |
| BOOKKEEPING PROGRAM, need help! | yabud | C Programming | 3 | 11-16-2006 11:17 PM |
| Can someome help me with a program please? | WinterInChicago | C++ Programming | 3 | 09-21-2006 10:58 PM |
| I need some help with my program please. | agentxx04 | C Programming | 9 | 09-26-2004 07:51 AM |
| Please could someone help me with my 8-function calculator program? | Geeth Asokan | C Programming | 2 | 05-10-2002 04:16 PM |