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: <CAKD1Yr1nGPY131oDrHHHNyhatE3nHFA+Tb4QfVv-mTTHY7B=Yw@mail.gmail.com>
Date:	Thu, 3 Apr 2014 17:55:51 +0900
From:	Lorenzo Colitti <lorenzo@...gle.com>
To:	Julian Anastasov <ja@....bg>
Cc:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	David Miller <davem@...emloft.net>
Subject: Re: [PATCH] net: reflect the fwmark for replies with no socket

On Wed, Mar 12, 2014 at 5:22 PM, Julian Anastasov <ja@....bg> wrote:
>         sysctl looks better to me. For example,
> ip_reply_fwmark(net, fwmark) that will return 0 or
> fwmark depending on net->ipv4.sysctl_reply_fwmark boolean.
> Similar for ip6_reply_fwmark() and net->ipv6.sysctl_reply_fwmark.
> You can select the right names.

Ack. I'll shortly post a patch that does this. It uses one
per-namespace sysctl - net.ipv4.fwmark_reflect - for both IPv4 and
IPv6. Using only one sysctl is consistent with things like ping and
tcp, and it marginally shortens the code, but I can change this to two
if desired.
--
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