diff options
author | Steven Barth <steven@midlink.org> | 2013-07-15 06:12:03 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-07-15 06:12:03 +0000 |
commit | 0ce0c8ad59b197c841253565feb3707fb0e1b937 (patch) | |
tree | eb122e4dc761bd264c6db2f4055e746fa2bd8533 /package/network/utils | |
parent | e83bb26670c8c9a3375a8a680ad73a1d6b0cf981 (diff) | |
download | upstream-0ce0c8ad59b197c841253565feb3707fb0e1b937.tar.gz upstream-0ce0c8ad59b197c841253565feb3707fb0e1b937.tar.bz2 upstream-0ce0c8ad59b197c841253565feb3707fb0e1b937.zip |
iptables: restore reap functionality to recent module
The reap functionality appears to have been accidentally disabled by
commit 74ded7257e5da5e309844d386290f24ae91950a6 to iptables.git, see:
git://git.netfilter.org/iptables.git
and subsequently in iptables 1.4.15 and later. This adds a patch to
restore reap functionality for recent_opts_v1.
Signed-off-by: Russell Senior <russell@personaltelco.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37328 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils')
-rw-r--r-- | package/network/utils/iptables/patches/410-add_reap_again.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/network/utils/iptables/patches/410-add_reap_again.patch b/package/network/utils/iptables/patches/410-add_reap_again.patch new file mode 100644 index 0000000000..0bb40fbcf0 --- /dev/null +++ b/package/network/utils/iptables/patches/410-add_reap_again.patch @@ -0,0 +1,13 @@ +Index: iptables-1.4.19.1/extensions/libxt_recent.c +=================================================================== +--- iptables-1.4.19.1.orig/extensions/libxt_recent.c ++++ iptables-1.4.19.1/extensions/libxt_recent.c +@@ -63,6 +63,8 @@ static const struct xt_option_entry rece + .excl = F_ANY_OP, .flags = XTOPT_INVERT}, + {.name = "seconds", .id = O_SECONDS, .type = XTTYPE_UINT32, + .flags = XTOPT_PUT, XTOPT_POINTER(s, seconds)}, ++ {.name = "reap", .id = O_REAP, .type = XTTYPE_NONE, ++ .also = F_SECONDS }, + {.name = "hitcount", .id = O_HITCOUNT, .type = XTTYPE_UINT32, + .flags = XTOPT_PUT, XTOPT_POINTER(s, hit_count)}, + {.name = "rttl", .id = O_RTTL, .type = XTTYPE_NONE, |