Re: netfilter ipset c library

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

 



On Thu, 4 Apr 2013, Rod Salazar wrote:

> Is there anyway to modify ipset sets programmatically? I'm looking for a
> way to add and remove ports to an ipset through my userspace app. Is the
> only solution for me to modify the ipset command line tool so I can use it
> within my app or call system("ipset ..") ? Even modifying iptables rules
> themselves would suffice if there were a way, any ideas?

The ipset tool is built on top of the libipset library. So I'd suggest to 
use the library directly.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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