OSDN Git Service

[NETFILTER]: NAT: optional source port randomization support
authorEric Leblond <eric@inl.fr>
Wed, 7 Feb 2007 23:10:09 +0000 (15:10 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:17 +0000 (12:39 -0800)
commit41f4689a7c8cd76b77864461b3c58fde8f322b2c
tree29be7597bc02158ca41261f365ebcbd8047dd56f
parentcdd289a2f833b93e65b9a09a02c37f47a58140a8
[NETFILTER]: NAT: optional source port randomization support

This patch adds support to NAT to randomize source ports.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter_ipv4/ip_nat.h
include/net/netfilter/nf_nat.h
net/ipv4/netfilter/ip_nat_core.c
net/ipv4/netfilter/ip_nat_proto_tcp.c
net/ipv4/netfilter/ip_nat_proto_udp.c
net/ipv4/netfilter/ip_nat_rule.c
net/ipv4/netfilter/nf_nat_core.c
net/ipv4/netfilter/nf_nat_proto_tcp.c
net/ipv4/netfilter/nf_nat_proto_udp.c
net/ipv4/netfilter/nf_nat_rule.c