Re: A second question of Security

Kendall Lister (
Tue, 21 Dec 1999 09:44:35 +1100 (EST)

On Mon, 20 Dec 1999, Alex Pope wrote:

> > Now the Q:
> > Is there a standard way (Linux,Aix,Solaris,..) to get the
> > port-process-mapping out of the kernel?
> quote from man netstat (netstat 1.38 (1999-04-20), net-tools 1.52):
> -p, --programs
> displays process name and PID of the owner of each socket it
> dumps. You have to be the owner of such process to have all
> its sockets matched to it or generally root user will see all
> the nesessary information in place.

Just a warning: this feature does not seem to exist in netstat 1.26 from
net-tools 1.45 (1998-03-02), so if it doesn't work for you try a more
recent verion of net-tools.

 Kendall Lister, Systems Operator for Charon I.S. -
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to