Stephen Hemminger 9f59365374 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@vyatta.com>

[ added missing EXPORT_SYMBOL_GPL ]

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-18 21:32:32 -07:00
..
2008-07-24 10:47:27 -07:00
2008-08-15 19:51:07 -07:00
2008-07-28 21:14:43 +02:00
2008-08-13 02:39:56 -07:00
2008-07-24 10:47:27 -07:00
2008-07-08 03:23:36 -07:00