Re: Creating rules without the /sbin/iptables command?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Cedric,

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





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux