On Wed, Jun 26, 2002 at 09:11:08AM +0100, caroline kenny wrote:

> 
> 
> Hello users,
> 
> I am using the iptables-1.2.5 package and I was wondering if anyone out 
> there can tell me if it is possible to perform some action if a firewall 
> rule is hit.
> For example, I have a rule set up to deny sending traffic from my box to a 
> certain destination. If I attempt to send traffic to this destination, the 
> rule will drop the traffic. But i was wondering is there any way a script 
> can be run when this trffic is rejected...I havent seen this done anywhere 
> and I really dont think that its possible but I said that I would just 
> check it out.

You can use ulog to send the packet to the user space where you can do
anything including launching a script based on a certain packet.

You also can use the LOG functionality and scan the log file and trigger
a script upon the detection of a certain log entry...

Ramin

> 
> Thanks for the help!
> Caroline
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 

Reply via email to