Skip to contentSkip to conversation

Developing own utils based on libipset

DISCUSSION Daniel Fiala 2 participants 2 messages Sep 23, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

Hello.
I would need to perform some manipulations with IPSet tables from my own application written in C.
It seems that I understand the interface and can successfully use it. But is it safe and can I rely on the library interface, or can it change significantly in the near future?

Thanks,
Daniel Fiala

#1 lore raw
Quoted 4 lines · Daniel Fiala

I would need to perform some manipulations with IPSet tables from my own application written in C. It seems that I understand the interface and can successfully use it. But is it safe and can I rely on the library interface, or can it change significantly in the near future?

The library evolves as ipset itself does, see the different versions in lib/libipset.map. Significant change in the API may be required if there'll be a need to change the kernel-userspace communication protocol and that'll mean a bumped IPSET_PROTOCOL. There's no such plan presently.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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