I vaguely remember once having set up a system so that the network traffic was getting dumped into /var/log/messages.
I don't know how I got it set up that way, but I think I eventually got it to stop with help from man pages for
syslog
syslog.conf
klogd
It might also have something to do with iptables.
One thing to look at is the command:
iptables -L
I do not remember the specifics, but I think it is possible to put specific log traffic into a different file than messages.
As an example, I modified my /etc/syslog.conf so that gconfd "spam" goes to /var/log/user instead of /var/log/messages
Code:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none;user.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg *
# Save news errors of level crit and higher in a special file.
uucp,news.crit /var/log/spooler
# Save boot messages also to boot.log
local7.* /var/log/boot.log
# gconfd ?
user.* /var/log/user
Maybe there is a way to redirect IP traffic logs too.
Or maybe there is a way to avoid logging it.
On my system which doesn't have any custom iptables, it doesn't log those kinds of messages.