ESTABLISHED TCP connections missing from /proc/net/tcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I telnet to my target system running linux 2.6.14 (PowerPC 32 platform).

If at that time I cat /proc/net/tcp at my serial console, I see no
entries for the ESTABLISHED tcp connection that telnet is running
through:

FD21:root> cat /proc/net/tcp
  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
retrnsmt   uid  timeout inode                                      
   0: C0A84A66:0381 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 814 1 c7eb1040 300 0 0 2 -1  
   1: 7F000001:8009 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 575 1 c7eb17c0 300 0 0 2 -1
   2: 00000000:006F 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 195 1 c7eb1b80 300 0 0 2 -1
   3: C0A84A66:0050 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 948 1 c7eb1400 300 0 0 2 -1
   4: DCDCDC02:0050 00000000:0000 0A 00000000:00000000 00:00000000
00000000     0        0 949 1 c343cba0 300 0 0 2 -1
   5: C0A84A66:0050 C0A84A66:0471 06 00000000:00000000 03:000000BD
00000000     0        0 0 2 c2fda660

Those "0A"s under "st" are listening sockets. The "06" is an old
connection in time wait. But no established connections are shown, which
I believe should be showing up as "01"s (at least they do when I do the
same on the PC I have Redhat running on).

netstat, which appears to derive its output from this proc entry, thus
shows no active connections:

FD21:root> netstat -tn
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State
FD21:root>

Any ideas as to why I am not seeing established TCP connections in
/proc/net/tcp?

Thanks,

Jeff Haran
Brocade Communications Systems
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux