Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 1999 23:56:39 -0500 (EST)
From:      Peter Philipp <pjp@bsd-daemon.net>
To:        Ruslan Ermilov <ru@ucb.crimea.ua>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Problems with fstat/netstat in 3.0-STABLE
Message-ID:  <Pine.BSF.4.01.9902072313270.287-100000@bsd-daemon.net>
In-Reply-To: <19990204182141.B46126@ucb.crimea.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
I've seen exactly the same problem but with a 3.0-980804-SNAP, comparing
this with a 3.0-980428-SNAP it works.  So somewhere between those two
snapshots it was broken and probably never noticed.  I have found that the
difference between the address is higher by 60 hex in an fstat as compared
to a netstat -A.  It seems it's still off by 60 hex in 3.0-RELEASE.

Peter Philipp (PP2441)
Daemonic Networks
"In theory, theory is the same as practice, but not in practice" - ???

On Thu, 4 Feb 1999, Ruslan Ermilov wrote:

> Hi!
> 
> On 2.2.X I was able to do the following:
> 
> # fstat -p 13612
> USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
> root     telnetd    13612   wd /             2 drwxr-xr-x     512  r
> root     telnetd    13612 text /usr      61498 -r-xr-xr-x   49152  r
> root     telnetd    13612    0* internet stream tcp f0b79e00
> root     telnetd    13612    1* internet stream tcp f0b79e00
> root     telnetd    13612    2* internet stream tcp f0b79e00
> root     telnetd    13612    3 /           524 crw-rw-rw-   ptyp1 rw
> 
> # netstat -Aan | grep f0b79e00
> f0b79e00 tcp        0      0  212.110.138.4.23   192.168.1.250.1030 ESTABLISHED
> 
> 
> On 3.0-STABLE it doesn't work for TCP sockets (for udp it works).
> Anyone's comments?
> 
> -- 
> Ruslan Ermilov		Sysadmin and DBA of the
> ru@ucb.crimea.ua	United Commercial Bank
> +380.652.247.647	Simferopol, Ukraine
> 
> http://www.FreeBSD.org	The Power To Serve
> http://www.oracle.com	Enabling The Information Age
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.01.9902072313270.287-100000>