Log & mail
Fri, 1 Jun 2001 13:58:14 -0500
> -----Original Message-----
> From: Pablo Samela [mailto:email@example.com]
> I?am looking a way to log connections and to send this to a
> mail direction.
> Is this posible with iptables?
I highly doubt this is explicitly available in iptables. However,
in order to get the job done, there are several methods you could use. A
simple one might be to take the existing log that iptables creates (or grep
the relevant material out of the syslog), and mail the result. Put a cron
job on this script at your desired frequency, and that should accomplish
Helpful reference material: `man iptables`, `man grep`, `man crontab`, `man
sh`, `man perl`....