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] [day] [month] [year] [list]
Date:	Tue, 10 Dec 2013 13:57:54 +0100
From:	Jiri Pirko <jiri@...nulli.us>
To:	Alexander Aring <alex.aring@...il.com>
Cc:	netdev@...r.kernel.org
Subject: Re: ifconfig doesn't show assignment ip-addresses

Tue, Dec 10, 2013 at 12:48:48PM CET, alex.aring@...il.com wrote:
>On Tue, Dec 10, 2013 at 12:43:39PM +0100, Jiri Pirko wrote:
>> Tue, Dec 10, 2013 at 12:06:49PM CET, alex.aring@...il.com wrote:
>> >Hi,
>> >
>> >thanks for your reply.
>> >
>> >On Tue, Dec 10, 2013 at 11:57:41AM +0100, Jiri Pirko wrote:
>> >> Mon, Dec 09, 2013 at 04:32:39PM CET, alex.aring@...il.com wrote:
>> >> >Hi,
>> >> >
>> >> >On current net-next with a lowpan interface created with:
>> >> >
>> >> >ip link add link wpan0 name lowpan0 type lowpan
>> >> >
>> >> >I don't see any ipv6 addresses in ifconfig anymore. The addresses exist,
>> >> >because I can ping my device.
>> >> 
>> >> 
>> >> Can you see the address in "ip a" ? Would you send me output of
>> >> "ifconfig" and "ip a" please? Is this a problem for lowpan only or do
>> >> you see this with other device types as well?
>> >> 
>> 
>> The problem is that ifconfig parses /proc/net/if_inet6 which changed
>> flag format from 2 hexa chars to 3.
>> I will send revert for this change in couple of minutes.
>> 
>
>ah, nice to known. Thanks!
>
>What would be a proper solution to add a u32 flag property? Or we never
>should change this, because we want backwards compatibility?

I think that we should leave this as it is. The u32 flags are reachable
via Netlink and that is the preferred way nowadays.

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