nethogs and netstat can connect pids to program names, so in theory someone 
could add this functionality to iptables.  You could also setup a cron job to 
regularly log netstat output for all network connections to a file.  For 
example, the following command ran as root will timestamp and log all network 
connections every 5 seconds to log.txt:
   # while [ 1 == 1 ]; do date >> log.txt; netstat -pn -A inet --wide >> 
log.txt; sleep 5 ; done
You can run without root privledge, however process you don't own won't be 
included.  Hope this helps a little.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/820895

Title:
  Log File Viewer does not log "Process Name"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/820895/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to