any Api to program with iptables without system(...)
Pablo Neira
pablo at eurodev.net
Wed Oct 19 19:30:42 CEST 2005
iAc wrote:
> I have to develop a program that interface with Iptables but for security
> reason I'm canno use system call System(iptables command).
> I have try to find out a better way but I didn't find nothing.
> Someone there can show me how can I interact with iptables withou system
> call "System etc. etc." ??
No, the iptables API is not documented. This is one of the current flaws
that still persist in iptables. The safest way to work with iptables is
using system(...)
More information about the netfilter-devel
mailing list