Logging process ID
Does iptables have the ability (or is there a patch available) to log the process id that generated a packet that was blocked? Obviously we are talking about internally generated packets only. This would be similar to --log-uid.
Google and a quick look through patch-o-matic didn't turn up anything.
This would probably be easy to add wouldn't it?
Signature · 3 lines
John Lange OpenIT ltd. www.Open-IT.ca (204) 885 0872 VoIP, Web services, Linux Consulting, Server Co-Location
Quoted 9 lines
Does iptables have the ability (or is there a patch available) to log the process id that generated a packet that was blocked? Obviously we are talking about internally generated packets only. This would be similar to --log-uid.
Google and a quick look through patch-o-matic didn't turn up anything.
This would probably be easy to add wouldn't it?
This was just recently discussed on nf or nf-dev mailing list (matching a process's pid).
Problem is the bh locking on SMP, as usual :)
Jan Engelhardt