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]
Message-ID: <20170801194000.68ac99e1@xeon-e3>
Date:   Tue, 1 Aug 2017 19:40:00 -0700
From:   Stephen Hemminger <stephen@...workplumber.org>
To:     Cong Wang <xiyou.wangcong@...il.com>
Cc:     Massimo Sala <massimo.sala.71@...il.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: sysctl, argument parsing, possible bug

On Tue, 1 Aug 2017 14:27:37 -0700
Cong Wang <xiyou.wangcong@...il.com> wrote:

> On Tue, Aug 1, 2017 at 1:47 PM, Massimo Sala <massimo.sala.71@...il.com> wrote:
> > cat /proc/sys/net/ipv4/conf/eth0.100/forwarding
> > 0
> >
> > sysctl net.ipv4.conf.eth0.100.forwarding
> > error: "net.ipv4.conf.eth0.100.forwarding" is an unknown key
> >  
> 
> Use echo instead, sysctl doesn't understand eth0.100
> is a netdev name, sigh.

sysctl happily accepts / as a separator see man sysctl(8)

PARAMETERS
       variable
              The  name  of  a  key to read from.  An example is kernel.ostype.  The '/' separator is also
              accepted in place of a '.'.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ