Okay, thanx i will do that. I thought that netfilter-devel was only for development of netfilter itself. My bad ;)
By the way, are the iptables libs in /usr/lib/iptables meant for use by third party tools, or is this considered a dirty hack?
Regards, Victor
Cedric Blancher wrote:
Le mer 17/03/2004 à 19:46, Victor Julien a écrit :
My program (written in c) creates rules by opening a pipe to /sbin/iptables. However this is quite slow with large rulessets and on slow hardware. Is there another way, like an iptables librarycall or something?
You could use iptables libs that stand in /usr/lib/iptables, just like iptables does.
You should however ask netfilter developpers mailing list.
Cc : netfilter-devel@xxxxxxxxxxxxxxxxxxx