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

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

 



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

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!



[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