DNAT/SNAT: support persistent mappings
commit15120d6e83c52149023273ac5da25fcdcb0ddd49
authorApollon Oikonomopoulos <apollon@skroutz.gr>
Fri, 10 May 2013 07:53:38 +0000 (10 10:53 +0300)
committerMax Kellermann <max@duempel.org>
Fri, 10 May 2013 08:09:31 +0000 (10 10:09 +0200)
tree86141386735cb594d42e22e6a286935a027c43e6
parentc81dd6d2d5fc429940345e1dc432b147164e605e
DNAT/SNAT: support persistent mappings

Linux kernel since 2.6.30 and iptables since 1.4.4 support persistent SNAT/DNAT
mappings via the `peristent' flag. The `persistent' flag supersedes the SAME
target, which was removed from the Linux kernel in 2.6.25[1].

This patch adds the flag to the SNAT and DNAT targets.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=cb76c6a597350534d211ba79d92da1f9771f8226
src/ferm