lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <OFF76F11EC.DE83396F-ON882574CE.00619859-882574CE.00622571@us.ibm.com>
Date:	Wed, 24 Sep 2008 10:52:03 -0700
From:	David Stevens <dlstevens@...ibm.com>
To:	Pekka Savola <pekkas@...core.fi>
Cc:	netdev@...r.kernel.org, netdev-owner@...r.kernel.org
Subject: Re: /proc/net/igmp group address encoding

netdev-owner@...r.kernel.org wrote on 09/24/2008 04:20:48 AM:

> On Wed, 24 Sep 2008, Pekka Savola wrote:
> > [psavola@...ps ~]$ more /proc/net/igmp
> > Idx   Device    : Count Querier   Group    Users Timer   Reporter
> > 1   lo        :     0      V3
> >             010000E0     1 0:00000000      0
> > 2   eth0      :     2      V3
> >             010000E0     1 0:00000000      0
> > 3   wmaster0  :     3      V3
> >             010000E0     1 0:00000000      0
> > 4   wlan0     :     3      V3
> >              010000E0     1 0:00000000      0
> >
> > (The header and the fields seem to be a little off in the output..)
> >
> > [psavola@...ps ~]$ netstat -gn | grep eth0
> > eth0            1      224.0.0.1
> > eth0            1      ff02::1
> 
> Another observation here:  the "Count" field appears to correspond to 
> 'netstat -gn | wc -l' output.  But this includes both IPv4 and IPv6 
> groups.  Is this intentional?  Shouldn't this only count the v4 
> entries, just like /proc/net/igmp6 only includes v6 entries?

I'm guessing this is Alan Cox's code, but it's at least 8 years
old, so I'm not sure original intent is easy to establish. :-)

I agree it'd be a good idea to separate the counts. Are you
planning to do a patch?

                                                                +-DLS

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ