Is there a firewall of some sort on Solaris that will let me define a filter, for instance outbound traffic to a certain range of ip adresses and port, but instead of blocking the traffic I want to log the process id and user?
migrated from stackoverflow.com Mar 30 '11 at 12:58
This question came from our site for professional and enthusiast programmers.
I believe dtrace can extract that information. Check some of the scripts in here such as tcptop: