From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rusty Russell (IBM)" Subject: [PATCH] Warn people that ipchains and ipfwadm are going away. Date: Tue, 21 Sep 2004 09:09:02 +1000 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <1095721742.5886.128.camel@bach> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org, lkml - Kernel Mailing List , "David S. Miller" Return-path: To: Linus Torvalds List-Id: netfilter-devel.vger.kernel.org Name: Warn that ipchains and ipfwadm are going away Status: Trivial Signed-off-by: Rusty Russell At the recent netfilter workshop in Erlangen, we was decided to remove the backwards compatibility code for ipchains and ipfwadm. This will allow significant cleanup of interfaces, since we had to have a mid-level interface for the backwards compatibility layer to use. Start off with a warning for 2.6.9, so any remaining users have a chance to migrate. Their firewall scripts might not check return values, and they might get a nasty surprise when this goes away. diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5978-linux-2.6.9-rc2-bk6/net/ipv4/netfilter/ipchains_core.c .5978-linux-2.6.9-rc2-bk6.updated/net/ipv4/netfilter/ipchains_core.c --- .5978-linux-2.6.9-rc2-bk6/net/ipv4/netfilter/ipchains_core.c 2004-09-16 00:17:16.000000000 +1000 +++ .5978-linux-2.6.9-rc2-bk6.updated/net/ipv4/netfilter/ipchains_core.c 2004-09-21 09:06:07.000000000 +1000 @@ -1,3 +1,5 @@ +#warning ipchains is obsolete, and will be removed soon. + /* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */ diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .5978-linux-2.6.9-rc2-bk6/net/ipv4/netfilter/ipfwadm_core.c .5978-linux-2.6.9-rc2-bk6.updated/net/ipv4/netfilter/ipfwadm_core.c --- .5978-linux-2.6.9-rc2-bk6/net/ipv4/netfilter/ipfwadm_core.c 2004-09-16 00:17:16.000000000 +1000 +++ .5978-linux-2.6.9-rc2-bk6.updated/net/ipv4/netfilter/ipfwadm_core.c 2004-09-21 09:06:18.000000000 +1000 @@ -1,3 +1,5 @@ +#warning ipfwadm is obsolete, and will be removed soon. + /* Minor modifications to fit on compatibility framework: Rusty.Russell@rustcorp.com.au */