(no subject)
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.
Thanks for the help!
Caroline
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
Quoted 4 lines · caroline kenny
Hello users,
Quoted 9 lines
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
Quoted 7 lines
Thanks for the help!
Caroline_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com