[5.3-STABLE] netstat doesn't show tcp sockets
Sam Nilsson
sam at servingpeace.com
Sun Dec 19 19:53:29 PST 2004
Nguyen Tam Chinh wrote:
> On Mon, 20 Dec 2004, Matthias Buelow wrote:
>
>>> After upgrading from 5.2.1 (cvsup 18/Dec), It seems to be a bug with
>>> netstat. It doesn't show tcp sockets any more. kernel is a customized
>>> with ipv6 disable.
>>
>>
>> same here. I thought that maybe it was because I put CPUTYPE=p4 in
>> /etc/make.conf and gcc messed up again, and wanted to test this
>> hypothesis some time but if others are seeing it too...
>>
>
> Yeah, please test it. I also have a CPUTYPE=p4 and -O3 in make.conf. In
> kernel config -O2. I'll try to compile again with default options to
> ensure.
> -----
> With best regards, | The Power to Serve
> Nguyen Tam Chinh | http://www.FreeBSD.org
> Loc: sp.cs.msu.ru |
> http://chinhngt.svmgu.com | http://www.gnu.org/copyleft/copyleft.html
In case this is helpful, I don't seem to have this problem. I am running
on a pentium 2 however, and I didn't use -O or CPUTYPE.
--> snip -->
-bash-2.05b$ uname -a
FreeBSD opti.localdomain 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #1: Fri
Dec 10 16:52:50 PST 2004
root at opti.localdomain:/usr/obj/usr/src/sys/SERVER i386
-bash-2.05b$ netstat
Active Internet connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 opti.ssh 10.0.0.2.50009
ESTABLISHED
udp4 0 0 localhost.domain *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c13f8dac stream 0 0 0 c13f8460 0 0
c13f8460 stream 0 0 0 c13f8dac 0 0
c13f8ec4 stream 0 0 c14e0630 0 0 0
--> snip -->
I know that this is a different situation, but I thought it might help
to pinpoint the problem if you haven't already identified it.
- Sam Nilsson
More information about the freebsd-stable
mailing list