this is definitely not the best way to do this, but it works Example log file before parse, the lines in bold are those that are going to be wrapped up to...
IPTables if you want to log all traffic, simply place these rules at the first on in each chain. all log messages will be stored in syslog iptables -A INPUT -j LOG...