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]
Message-ID: <fe0c34409428f100fb2e602e021062b8c4df4b6b.camel@arcor.de>
Date:   Mon, 15 Mar 2021 09:30:07 +0100
From:   "B.Arenfeld" <b.arenfeld@...or.de>
To:     netdev@...r.kernel.org
Subject: [PATCH] Fix error message generated in routel script when have
 'multicase' in routing list

Hello :-)

I'm on an machine with Manjaro Linux. 
I get some error messages from shift command in the routel script:
/usr/bin/routel: Zeile 48: shift: shift count out of range

Reason are lines from "ip route list table 0" starting with word "multicast" :
 
multicast ff00::/8 dev enp2s0 table local proto kernel metric 256 pref medium

I added the "multicast" word in routel script and everything is fine ;-)

Greetings

Burkhard Arenfeld


Signed-off-by: Burkhard Arenfeld <b.arenfeld@...or.de>

--- routel.orig	2021-03-15 08:23:24.706677247 +0100
+++ routel	2021-03-15 08:23:20.293589911 +0100
@@ -25,7 +25,7 @@ ip route list table "$@" |
     src=""
     table=""
     case $network in
-       broadcast|local|unreachable) via=$network
+       broadcast|local|multicast|unreachable) via=$network
           network=$1
           shift
           ;;


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ