Re: nf_nat 06/06: use secure_ipv4_port_ephemeral() for NAT port randomization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Mon, 18 Aug 2008 18:51:56 +0200 (MEST)

> nf_nat: use secure_ipv4_port_ephemeral() for NAT port randomization
> 
> Use incoming network tuple as seed for NAT port randomization.
> This avoids concerns of leaking net_random() bits, and also gives better
> port distribution. Don't have NAT server, compile tested only.
> 
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxxxx>
> 
> [ added missing EXPORT_SYMBOL_GPL ]
> 
> Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux