netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tcp socket missing from /proc/net/tcp
@ 2003-08-23 19:49 James H. Cloos Jr.
  2003-08-24  0:27 ` David S. Miller
  2003-08-27  5:41 ` James H. Cloos Jr.
  0 siblings, 2 replies; 5+ messages in thread
From: James H. Cloos Jr. @ 2003-08-23 19:49 UTC (permalink / raw)
  To: netdev

I'm currently at 2.6 as of cset:

 tmolina@cablespeed.com|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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tcp socket missing from /proc/net/tcp
  2003-08-23 19:49 tcp socket missing from /proc/net/tcp James H. Cloos Jr.
@ 2003-08-24  0:27 ` David S. Miller
  2003-08-24  1:07   ` YOSHIFUJI Hideaki / 吉藤英明
  2003-08-27  5:41 ` James H. Cloos Jr.
  1 sibling, 1 reply; 5+ messages in thread
From: David S. Miller @ 2003-08-24  0:27 UTC (permalink / raw)
  To: James H. Cloos Jr.; +Cc: netdev

On 23 Aug 2003 15:49:16 -0400
"James H. Cloos Jr." <cloos@jhcloos.com> 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/tcp6 even 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tcp socket missing from /proc/net/tcp
  2003-08-24  0:27 ` David S. Miller
@ 2003-08-24  1:07   ` YOSHIFUJI Hideaki / 吉藤英明
  2003-08-24  4:20     ` David S. Miller
  0 siblings, 1 reply; 5+ messages in thread
From: YOSHIFUJI Hideaki / 吉藤英明 @ 2003-08-24  1:07 UTC (permalink / raw)
  To: davem; +Cc: cloos, netdev

In article <20030823172710.478f30f9.davem@redhat.com> (at Sat, 23 Aug 2003 17:27:10 -0700), "David S. Miller" <davem@redhat.com> says:

> On 23 Aug 2003 15:49:16 -0400
> "James H. Cloos Jr." <cloos@jhcloos.com> 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/tcp6 even 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?

-- 
Hideaki YOSHIFUJI @ USAGI Project <yoshfuji@linux-ipv6.org>
GPG FP: 9022 65EB 1ECF 3AD1 0BDF  80D8 4807 F894 E062 0EEA

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tcp socket missing from /proc/net/tcp
  2003-08-24  1:07   ` YOSHIFUJI Hideaki / 吉藤英明
@ 2003-08-24  4:20     ` David S. Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David S. Miller @ 2003-08-24  4:20 UTC (permalink / raw)
  To: YOSHIFUJI Hideaki / _$B5HF#1QL@; +Cc: cloos, netdev

On Sun, 24 Aug 2003 10:07:53 +0900 (JST)
YOSHIFUJI Hideaki / _$B5HF#1QL@ <yoshfuji@linux-ipv6.org> wrote:

> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: tcp socket missing from /proc/net/tcp
  2003-08-23 19:49 tcp socket missing from /proc/net/tcp James H. Cloos Jr.
  2003-08-24  0:27 ` David S. Miller
@ 2003-08-27  5:41 ` James H. Cloos Jr.
  1 sibling, 0 replies; 5+ messages in thread
From: James H. Cloos Jr. @ 2003-08-27  5:41 UTC (permalink / raw)
  To: James H. Cloos Jr.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-27  5:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-23 19:49 tcp socket missing from /proc/net/tcp James H. Cloos Jr.
2003-08-24  0:27 ` David S. Miller
2003-08-24  1:07   ` YOSHIFUJI Hideaki / 吉藤英明
2003-08-24  4:20     ` David S. Miller
2003-08-27  5:41 ` James H. Cloos Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).