From 2abc07c47189b26fce16f4751a96f747fa53fc0f Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 17 Jun 2021 18:44:28 +0200 Subject: [PATCH] doc: Add deprecation notices to all relevant man pages Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1945151 Upstream Status: RHEL-only This is RHEL9 trying to friendly kick people towards nftables. Signed-off-by: Phil Sutter --- iptables/arptables-nft-restore.8 | 13 ++++++++++++- iptables/arptables-nft-save.8 | 14 +++++++++++++- iptables/arptables-nft.8 | 19 ++++++++++++++++++- iptables/ebtables-nft.8 | 15 ++++++++++++++- iptables/iptables-apply.8.in | 14 +++++++++++++- iptables/iptables-extensions.8.tmpl.in | 14 ++++++++++++++ iptables/iptables-restore.8.in | 17 ++++++++++++++++- iptables/iptables-save.8.in | 15 ++++++++++++++- iptables/iptables.8.in | 17 +++++++++++++++++ iptables/xtables-monitor.8.in | 11 +++++++++++ 10 files changed, 142 insertions(+), 7 deletions(-) diff --git a/iptables/arptables-nft-restore.8 b/iptables/arptables-nft-restore.8 index 09d9082..b1bf029 100644 --- a/iptables/arptables-nft-restore.8 +++ b/iptables/arptables-nft-restore.8 @@ -24,6 +24,17 @@ arptables-restore \- Restore ARP Tables (nft-based) .SH SYNOPSIS \fBarptables\-restore .SH DESCRIPTION +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. .PP .B arptables-restore is used to restore ARP Tables from data specified on STDIN or @@ -35,5 +46,5 @@ flushes (deletes) all previous contents of the respective ARP Table. .SH AUTHOR Jesper Dangaard Brouer .SH SEE ALSO -\fBarptables\-save\fP(8), \fBarptables\fP(8) +\fBarptables\-save\fP(8), \fBarptables\fP(8), \fBnft\fP(8) .PP diff --git a/iptables/arptables-nft-save.8 b/iptables/arptables-nft-save.8 index 905e598..49bb0f6 100644 --- a/iptables/arptables-nft-save.8 +++ b/iptables/arptables-nft-save.8 @@ -27,6 +27,18 @@ arptables-save \- dump arptables rules to stdout (nft-based) \fBarptables\-save\fP [\fB\-V\fP] .SH DESCRIPTION .PP +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. +.PP .B arptables-save is used to dump the contents of an ARP Table in easily parseable format to STDOUT. Use I/O-redirection provided by your shell to write to a file. @@ -43,5 +55,5 @@ Print version information and exit. .SH AUTHOR Jesper Dangaard Brouer .SH SEE ALSO -\fBarptables\-restore\fP(8), \fBarptables\fP(8) +\fBarptables\-restore\fP(8), \fBarptables\fP(8), \fBnft\fP(8) .PP diff --git a/iptables/arptables-nft.8 b/iptables/arptables-nft.8 index ea31e08..ec5b993 100644 --- a/iptables/arptables-nft.8 +++ b/iptables/arptables-nft.8 @@ -39,6 +39,19 @@ arptables \- ARP table administration (nft-based) .BR "arptables " [ "-t table" ] " -P chain target " [ options ] .SH DESCRIPTION +.PP +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. +.PP .B arptables is a user space tool, it is used to set up and maintain the tables of ARP rules in the Linux kernel. These rules inspect @@ -340,9 +353,13 @@ bridges, the same may be achieved using chain in .BR ebtables . +This tool is deprecated in Red Hat Enterprise Linux. It is maintenance only and +will not receive new features. New setups should use \fBnft\fP(8). Existing +setups should migrate to \fBnft\fP(8) when possible. + .SH MAILINGLISTS .BR "" "See " http://netfilter.org/mailinglists.html .SH SEE ALSO -.BR xtables-nft "(8), " iptables "(8), " ebtables "(8), " ip (8) +.BR xtables-nft "(8), " iptables "(8), " ebtables "(8), " ip "(8), " nft (8) .PP .BR "" "See " https://wiki.nftables.org diff --git a/iptables/ebtables-nft.8 b/iptables/ebtables-nft.8 index 0304b50..cfd617a 100644 --- a/iptables/ebtables-nft.8 +++ b/iptables/ebtables-nft.8 @@ -46,6 +46,19 @@ ebtables \- Ethernet bridge frame table administration (nft-based) .br .SH DESCRIPTION +.PP +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. +.PP .B ebtables is an application program used to set up and maintain the tables of rules (inside the Linux kernel) that inspect @@ -1083,6 +1096,6 @@ has not been implemented, although might replace them entirely given the inherent atomicity of nftables. Finally, this list is probably not complete. .SH SEE ALSO -.BR xtables-nft "(8), " iptables "(8), " ip (8) +.BR xtables-nft "(8), " iptables "(8), " ip "(8), " nft (8) .PP .BR "" "See " https://wiki.nftables.org diff --git a/iptables/iptables-apply.8.in b/iptables/iptables-apply.8.in index f0ed4e5..7f99a21 100644 --- a/iptables/iptables-apply.8.in +++ b/iptables/iptables-apply.8.in @@ -11,6 +11,18 @@ iptables-apply \- a safer way to update iptables remotely \fBiptables\-apply\fP [\-\fBhV\fP] [\fB-t\fP \fItimeout\fP] [\fB-w\fP \fIsavefile\fP] {[\fIrulesfile]|-c [runcmd]}\fP .SH "DESCRIPTION" .PP +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. +.PP iptables\-apply will try to apply a new rulesfile (as output by iptables-save, read by iptables-restore) or run a command to configure iptables and then prompt the user whether the changes are okay. If the @@ -47,7 +59,7 @@ Display usage information. Display version information. .SH "SEE ALSO" .PP -\fBiptables-restore\fP(8), \fBiptables-save\fP(8), \fBiptables\fR(8). +\fBiptables-restore\fP(8), \fBiptables-save\fP(8), \fBiptables\fR(8), \fBnft\fP(8). .SH LEGALESE .PP Original iptables-apply - Copyright 2006 Martin F. Krafft . diff --git a/iptables/iptables-extensions.8.tmpl.in b/iptables/iptables-extensions.8.tmpl.in index 99d89a1..73d40bb 100644 --- a/iptables/iptables-extensions.8.tmpl.in +++ b/iptables/iptables-extensions.8.tmpl.in @@ -7,6 +7,20 @@ iptables-extensions \(em list of extensions in the standard iptables distributio .PP \fBiptables\fP [\fB\-m\fP \fIname\fP [\fImodule-options\fP...]] [\fB\-j\fP \fItarget-name\fP [\fItarget-options\fP...] +.SH DESCRIPTION +These tools are +.B deprecated +in Red Hat Enterprise Linux. They are maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. There is also +.BR iptables\-translate (8)/ ip6tables\-translate (8) +to help with the migration. .SH MATCH EXTENSIONS iptables can use extended packet matching modules with the \fB\-m\fP or \fB\-\-match\fP diff --git a/iptables/iptables-restore.8.in b/iptables/iptables-restore.8.in index aa816f7..353d4dc 100644 --- a/iptables/iptables-restore.8.in +++ b/iptables/iptables-restore.8.in @@ -31,6 +31,19 @@ ip6tables-restore \(em Restore IPv6 Tables [\fB\-M\fP \fImodprobe\fP] [\fB\-T\fP \fIname\fP] [\fIfile\fP] .SH DESCRIPTION +These tools are +.B deprecated +in Red Hat Enterprise Linux. They are maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. There is also +.BR iptables\-restore\-translate (8)/ ip6tables\-restore\-translate (8) +to help with the migration. .PP .B iptables-restore and @@ -82,7 +95,9 @@ from Rusty Russell. .br Andras Kis-Szabo contributed ip6tables-restore. .SH SEE ALSO -\fBiptables\-apply\fP(8), \fBiptables\-save\fP(8), \fBiptables\fP(8) +\fBiptables\-apply\fP(8), \fBiptables\-save\fP(8), \fBiptables\fP(8), +\fBnft\fP(8), \fBiptables\-restore\-translate\fP(8), +\fBip6tables\-restore\-translate\fP(8) .PP The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, which details NAT, and the netfilter-hacking-HOWTO which details the diff --git a/iptables/iptables-save.8.in b/iptables/iptables-save.8.in index 65c1f28..d47be27 100644 --- a/iptables/iptables-save.8.in +++ b/iptables/iptables-save.8.in @@ -30,6 +30,18 @@ ip6tables-save \(em dump iptables rules [\fB\-t\fP \fItable\fP] [\fB\-f\fP \fIfilename\fP] .SH DESCRIPTION .PP +These tools are +.B deprecated +in Red Hat Enterprise Linux. They are maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. +.PP .B iptables-save and .B ip6tables-save @@ -66,7 +78,8 @@ Rusty Russell .br Andras Kis-Szabo contributed ip6tables-save. .SH SEE ALSO -\fBiptables\-apply\fP(8), \fBiptables\-restore\fP(8), \fBiptables\fP(8) +\fBiptables\-apply\fP(8), \fBiptables\-restore\fP(8), \fBiptables\fP(8), +\fBnft\fP(8) .PP The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, which details NAT, and the netfilter-hacking-HOWTO which details the diff --git a/iptables/iptables.8.in b/iptables/iptables.8.in index ecaa555..4c4a15a 100644 --- a/iptables/iptables.8.in +++ b/iptables/iptables.8.in @@ -55,6 +55,20 @@ match = \fB\-m\fP \fImatchname\fP [\fIper-match-options\fP] .PP target = \fB\-j\fP \fItargetname\fP [\fIper\-target\-options\fP] .SH DESCRIPTION +These tools are +.B deprecated +in Red Hat Enterprise Linux. They are maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. There is also +.BR iptables\-translate (8)/ ip6tables\-translate (8) +to help with the migration. +.PP \fBIptables\fP and \fBip6tables\fP are used to set up, maintain, and inspect the tables of IPv4 and IPv6 packet filter rules in the Linux kernel. Several different tables @@ -455,6 +469,9 @@ There are several other changes in iptables. \fBiptables\-save\fP(8), \fBiptables\-restore\fP(8), \fBiptables\-extensions\fP(8), +\fBnft\fP(8), +\fBiptables\-translate\fP(8), +\fBip6tables\-translate\fP(8) .PP The packet-filtering-HOWTO details iptables usage for packet filtering, the NAT-HOWTO details NAT, diff --git a/iptables/xtables-monitor.8.in b/iptables/xtables-monitor.8.in index a7f22c0..e21d7ff 100644 --- a/iptables/xtables-monitor.8.in +++ b/iptables/xtables-monitor.8.in @@ -6,6 +6,17 @@ xtables-monitor \(em show changes to rule set and trace-events .PP \ .SH DESCRIPTION +This tool is +.B deprecated +in Red Hat Enterprise Linux. It is maintenance only and will not receive new +features. New setups should use +.BR nft (8). +Existing setups should migrate to +.BR nft (8) +when possible. See +.UR https://red.ht/nft_your_tables +.UE +for details. .PP .B xtables-monitor is used to monitor changes to the ruleset or to show rule evaluation events