iptables.c changes submitted argv value
Henrik Nordstrom
hno@marasystems.com
Thu Aug 12 12:11:53 CEST 2004
On Thu, 12 Aug 2004, Sascha wrote:
>> The recommended method for doing this is using iptables-restore via a
>> pipe from your daemon.
>
> That's not the point. I'm developing on an embedded device and i have no
> space for iptables-store.c, iptables-restore.c and iptables.c.
All you need is iptables-restore. It has all functions of iptables plus
more and is very well suited for batch or daemon operations. What
iptables-restore is is a efficient batch interface using the same syntax
as iptables (well, it is even the same code so..)
libiptc is considered private to iptables/iptables-save/iptables-restore
and is not meant to be used outside these applications.
Regards
Henrik
More information about the netfilter-devel
mailing list