tcp socket missing from /proc/net/tcp
Subsystems (2)
I'm currently at 2.6 as of cset:
[email protected]|ChangeSet|20030809164017|32866
(the last one on 2003/Aug/09)
I've currently got an open ssh session to a remote box that does not show up in /proc/net/tcp (I also checked /proc/net/tcp6 even though the remote box doesn't do v6; it is not there either).
One possible issue is that I did an 'ifconfig sit1 down' and an 'ifconfig sit1 up' while the ssh session was up (for an unrelated reason).
Hmmm. I just opened another ssh to that same box and now both show up again in /proc/net/tcp.
v6 is copiled in, firewall stuff is a mix on in and modules.
-JimC
Quoted 3 lines · On 23 Aug 2003 15:49:16 -0400 "James H. Cloos Jr." <[email protected]> wrote:
I've currently got an open ssh session to a remote box that does not show up in
/proc/net/tcp(I also checked/proc/net/tcp6even though the remote box doesn't do v6; it is not there either).
Not surprising, nothing seems to be initializing
net/ipv6/tcp_ipv6.c:tcp6_seq_fops
I'd welcome patches to fix this.
In article <[email protected]> (at Sat, 23 Aug 2003 17:27:10 -0700), "David S. Miller" <[email protected]> says:
Quoted 9 lines
Quoted 3 lines · On 23 Aug 2003 15:49:16 -0400 "James H. Cloos Jr." <[email protected]> wrote:
I've currently got an open ssh session to a remote box that does not show up in
/proc/net/tcp(I also checked/proc/net/tcp6even though the remote box doesn't do v6; it is not there either).Not surprising, nothing seems to be initializing
net/ipv6/tcp_ipv6.c:tcp6_seq_fops
net/ipv4/tcp_ipv4.c:tcp_proc_register() called by tcp6_proc_init() does this. Or, do I miss something?
Signature · 2 lines
Hideaki YOSHIFUJI @ USAGI Project <[email protected]> GPG FP: 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
Quoted 2 lines · On Sun, 24 Aug 2003 10:07:53 +0900 (JST) YOSHIFUJI Hideaki / _$B5HF#1QL@…
net/ipv4/tcp_ipv4.c:tcp_proc_register() called by
tcp6_proc_init()does this. Or, do I miss something?
You're right, I missed that.
A further update:
The socket does not need to be open when sit1 is taked down; I've a rsync now that is showing the same symptom, but was started well after a 'ifconfig sit1 down'.
After an ssh occured and closed, the rsync started showing up.
Perhaps there is an off-by-one error?
-JimC