Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Getting a signal from iptables

by mr.nick (Chaplain)
on Dec 20, 2011 at 19:57 UTC ( [id://944460]=note: print w/replies, xml ) Need Help??


in reply to Re: Getting a signal from iptables
in thread Getting a signal from iptables

You could potentially have a perl script that is executed every X minutes by cron (or that loops and sleeps) and compares the current set of rules to the last-known set to detect differences.

mr.nick ...

Replies are listed 'Best First'.
Re^3: Getting a signal from iptables
by paulc1976 (Novice) on Dec 20, 2011 at 21:36 UTC

    thanks for your replies guys, all good suggestions although i need something that will trigger immediately rather than polling at regular intervals. I wouldnt know where to start with hacking the linux kernel! I've found a few iptables modules on cpan, might see if i can use those.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://944460]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-03-29 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found