Hi, everyone.
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.
Hi, everyone.
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.
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.