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]
Message-ID: <20120315143435.7f3b8482@nehalam.linuxnetplumber.net>
Date:	Thu, 15 Mar 2012 14:34:35 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	"Kiss Gabor (Bitman)" <kissg@....ki.iif.hu>
Cc:	netdev@...r.kernel.org
Subject: Re: Patch to ip(8) manpage

On Sat, 3 Mar 2012 10:18:01 +0100 (CET)
"Kiss Gabor (Bitman)" <kissg@....ki.iif.hu> wrote:

> Dear folks,
> 
> For a while I did not understand why I get
> "RTNETLINK answers: Numerical result out of range"
> message when adding more addresses to an interface.
> 
> The attached patch may help some peoples to avoid wasting
> time with investigating this strange error. :-)
> 
> Regards
> 
> Gabor

There are many  values limited to 16 characters, this is an API
restriction back to BSD days (see IFNAMSIZ).  The man page could mention
this, but it is well known limitation. The manpage idea is good,
but don't reference net/if.h since somebody might get the idea that is
the only thing that needs to change to allow longer names. Just state
that interface names are limited to 15 characters (need to account for
the nul at end).
--
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