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-next>] [day] [month] [year] [list]
Date:   Tue, 15 Aug 2017 11:17:27 +0300
From:   Алексей Болдырев 
        <devel-net-ne-vlezay80@...dex.ru>
To:     netdev <netdev@...r.kernel.org>
Subject: iproute2 invalid argument mpls labels

I updated the kernel 4.12.6. When the mote is hung on the route more than 8 mpls of marks through iproute2, I get the following:

root@...vlezay80:~# ip route add 10.10.10.0/24 encap mpls 50/60/70/80/90/100/110/120/130 dev lo
RTNETLINK answers: Invalid argument

root@...vlezay80:~# ip route add 10.10.10.0/24 encap mpls 50/60/70/80/90/100/110/120 dev lo
root@...vlezay80:~#

root@...vlezay80:~# ip r
default via 10.247.0.1 dev ic-br0 proto zebra metric 20 
10.10.10.0/24  encap mpls  ///////120 dev lo scope link 

root@...vlezay80:~# cat /usr/src/linux-4.12.6/net/mpls/internal.h|grep MAX_NEW
#define MAX_NEW_LABELS 30
root@...vlezay80:~# 

What is the problem, and how can more than 8 MPLS markers be hung on through iproute2?

root@...vlezay80:~# uname -r
4.12.6
root@...vlezay80:~# 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ