Skip to content

Commit 079aa88

Browse files
Jan Engelhardtkaber
authored andcommitted
netfilter: xt_recent: IPv6 support
This updates xt_recent to support the IPv6 address family. The new /proc/net/xt_recent directory must be used for this. The old proc interface can also be configured out. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
1 parent e948b20 commit 079aa88

3 files changed

Lines changed: 256 additions & 54 deletions

File tree

‎Documentation/feature-removal-schedule.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ What (Why):
250250
- xt_mark match revision 0
251251
(superseded by xt_mark match revision 1)
252252

253+
- xt_recent: the old ipt_recent proc dir
254+
(superseded by /proc/net/xt_recent)
255+
253256
When: January 2009 or Linux 2.7.0, whichever comes first
254257
Why: Superseded by newer revisions or modules
255258
Who: Jan Engelhardt <jengelh@computergmbh.de>

‎net/netfilter/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,13 @@ config NETFILTER_XT_MATCH_RECENT
743743
Short options are available by using 'iptables -m recent -h'
744744
Official Website: <http://snowman.net/projects/ipt_recent/>
745745

746+
config NETFILTER_XT_MATCH_RECENT_PROC_COMPAT
747+
bool 'Enable obsolete /proc/net/ipt_recent'
748+
depends on NETFILTER_XT_MATCH_RECENT && PROC_FS
749+
---help---
750+
This option enables the old /proc/net/ipt_recent interface,
751+
which has been obsoleted by /proc/net/xt_recent.
752+
746753
config NETFILTER_XT_MATCH_SCTP
747754
tristate '"sctp" protocol match support (EXPERIMENTAL)'
748755
depends on NETFILTER_XTABLES && EXPERIMENTAL

0 commit comments

Comments
 (0)