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:	Sun, 23 Dec 2007 18:00:57 +0200
From:	"Ian Brown" <ianbrn@...il.com>
To:	netdev@...r.kernel.org
Subject: ipv4_devconf.arp_accept mystery

Hello,
I have a question regarding unsolicited ARPs in ipv4/arp.c

As I understand, by default this feature is disabled;
How can one set this feature ?

When working with ipv4_devconf.arp_accept is 0 by default.
This is with 2.6.21 kernel.

I wanted ipv4_devconf.arp_accept to be set to 1.

I added:
net.ipv4.conf.default.arp_accept = 1
net.ipv4.conf.eth0.arp_accept = 1
in /etc/sysctl.conf
and rebooted.

I have:
cat /proc/sys/net/ipv4/conf/default/arp_accept
=> 1
cat /proc/sys/net/ipv4/conf/eth0/arp_accept
=>1

Yet ,the printk() I added shows that ipv4_devconf.arp_accept shows 0 !!


Could it be that this variable could not be set ? or is it dependent
upon other things ?

BTW, in newer kernel version we have IPV4_DEVCONF_ALL(ARP_ACCEPT)
instead. So if anybody knows how to set this macro (instead)to be 1, it will be
also fine.


Ian
--
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