If you use the iptables ULOG target (available in kernels >2.4.18) and ulogd daemon you can log raw packets to either a log file or directly into a mysql database. This gives you much more flexibility in terms of the data you want to log and also on how you want to handle the packets afterwards (just use one of the libpcap modules). See http://www.sunbeam.franken.de/projects/ulogd for more details on ulogd.
However, from your description of the goals you are trying to achieve it sounds like you're looking for netflows. Take a look at fprobe and flow-tools (the latter comes with a perl module for further processing).
In reply to Re: iptables log auditing
by tirwhan
in thread iptables log auditing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |