Iptables Email Alerting
Does anyone know if it is possible to have IPtables send email alerts
based on certain traffic?
I'm looking for something similair to the -j LOG option, perhaps a -j MAIL ?
I realize that I could setup a manual cronjob to scan the logfiles via grep and search for certain activities, but it would obviously be much better to have alerts sent in realtime.
Any ideas?
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
Quoted 6 lines · Real Cucumber
Does anyone know if it is possible to have IPtables send email alerts
based on certain traffic?I'm looking for something similair to the -j LOG
option, perhaps a -j MAIL ?
You could quite possibly jump to a userspace script that handles this. I believe the target is QUEUE, but support will need to be compiled into your kernel to support it.
David
Quoted 6 lines
Quoted 2 lines
I'm looking for something similair to the -j LOG
option, perhaps a -j MAIL ?You could quite possibly jump to a userspace script that handles this. I believe the target is QUEUE, but support will need to be compiled into your kernel to support it.
I think your best bet is to use an IDS such as snort; this is ideal for rudimentary log or traffic analysis, and can send all kinds of alerts.
Signature · 1 line
[email protected]