Re: Determining what process/uid is attempting a network connection
From: Jez Hancock (jez.hancock_at_munk.nu)
Date: 05/23/03
- Previous message: Colin Campbell: "Re: Determining what process/uid is attempting a network connection"
- In reply to: Colin Campbell: "Re: Determining what process/uid is attempting a network connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 23 May 2003 01:28:25 +0100 To: freebsd-isp@freebsd.org
On Fri, May 23, 2003 at 09:29:53AM +1000, Colin Campbell wrote:
> > How can I determine what process is spawning this connection attempt and
> > the uid of the process?
>
> Try "sockstat" or install "lsof".
Cheers, just trawled through the man page for lsof and never realized it
was so useful or had such an extensive array of filtering parameters.
lsof -i@0.0.13.5 -r10
should hopefully catch the problematic requests.
Thanks also to the others who responded in private.
Jez
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Colin Campbell: "Re: Determining what process/uid is attempting a network connection"
- In reply to: Colin Campbell: "Re: Determining what process/uid is attempting a network connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]