Hi:
I have seen that it is possible to add an IP to an ipset set when an iptables rule is matched. Would it be similarly possible to launch a user script when an iptables rule is matched (maybe with a special kind of target)?
I suppose it could be done from a periodically (cron) run script which polls de ipset, but I would prefer an asyncronous triggering for not loading the cpu and responding faster.
Any idea?
Thanks.
I have seen that it is possible to add an IP to an ipset set when an iptables rule is matched. Would it be similarly possible to launch a user script when an iptables rule is matched (maybe with a special kind of target)?
I suppose it could be done from a periodically (cron) run script which polls de ipset, but I would prefer an asyncronous triggering for not loading the cpu and responding faster.
Any idea?
Thanks.