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]
Date:	Sun, 14 Jun 2015 20:50:50 +0200
From:	Oliver Hartkopp <socketcan@...tkopp.net>
To:	Ulrich Gemkow <ulrich.gemkow@....uni-stuttgart.de>,
	netdev@...r.kernel.org, Nicolas Dichtel <nicolas.dichtel@...nd.com>
Subject: Re: displayed name changed in ip link show for bridge- and other
 interfaces

On 14.06.2015 12:00, Ulrich Gemkow wrote:

> between Linux 4.0.5 and 4.1-rc7 the name as shown by "ip link show"
> of bridge interfaces (and at least the dummy interface) changed from
> (i.e.) br1 to br1@...E.
>
> This breaks (at least for me :-) userspace (ip link show parsing
> scripts). It is easy to solve, so not a big problem. I am using
> Ubuntu 14.04.
>
> Is this user visible change intended?
>

Hi Ulrich,

looking at iproute2 I found this patch:

http://git.kernel.org/cgit/linux/kernel/git/shemminger/iproute2.git/commit/ip/ipaddress.c?id=ccdcbf35f120c754660b3b3f48fa67cc950a6407

 > iplink: add support of IFLA_LINK_NETNSID attribute
 > This new attribute is now advertised by the kernel for x-netns interfaces. 
 > It's also possible to set it when an interface is created (and thus
 > creating a x-netns interface with one single message).

Due to the fact that the kernel now provides the new attribute we get this 
@NONE stuff for interfaces that have no iflink value.

This definitely is @UGLY !

@Nicloas: Why don't you just omit the @NONE when iflink is zero in the new 
attribute?

Regards,
Oliver
--
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