Skip to contentSkip to conversation

IPSET: notify when deleting IPs

DISCUSSION Samir Bellabes 2 participants 2 messages Aug 29, 2005 – Aug 30, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Jozsef,
what do you think about sending notification to userspace when deleting IPs after a timeout ?

Something like: ipset -N set_name --timeout 3600 --notify

'--notify' can send messages through a specific netlink to userspace, or something else.
any idea ?

regards,
Samir Bellabes

#1 lore raw
Quoted 8 lines · Samir Bellabes

what do you think about sending notification to userspace when deleting IPs after a timeout ?

Something like: ipset -N set_name --timeout 3600 --notify

'--notify' can send messages through a specific netlink to userspace, or something else.
any idea ?

That could be added easily if the kernel/userspace communication of ipset were already been rewritten from sockopt to netlink. Harald already suggested that, but such a process will require time. I plan to start the rewriting somewhere around the netfilter workshop.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics

          H-1525 Budapest 114, POB. 49, Hungary