From: Marc Ballarin <Ballarin.Marc@gmx.de>
To: Patrick McHardy <kaber@trash.net>
Cc: davem@davemloft.net, rusty@rustcorp.com.au, torvalds@osdl.org,
netfilter-devel@lists.netfilter.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Warn people that ipchains and ipfwadm are going away.
Date: Wed, 22 Sep 2004 15:37:07 +0200 [thread overview]
Message-ID: <20040922153707.2cc1d886.Ballarin.Marc@gmx.de> (raw)
In-Reply-To: <4150C448.5040604@trash.net>
On Wed, 22 Sep 2004 02:16:08 +0200
Patrick McHardy <kaber@trash.net> wrote:
> Fixed by this patch.
Yes, works fine. Does this mean that ipchains was broken for a while, but
no one complained?
Anyway, here is another trivial patch against -bk7 that adds runtime
warnings. IMO most users are going to miss compile time warnings, or
won't even compile kernels themselves.
Regards
diff -Nurp tmp/linux-2.6.9/net/ipv4/netfilter/ipchains_core.c
linux-2.6.9/net/ipv4/netfilter/ipchains_core.c
--- tmp/linux-2.6.9/net/ipv4/netfilter/ipchains_core.c 2004-09-22 14:45:26.398827000 +0200
+++ linux-2.6.9/net/ipv4/netfilter/ipchains_core.c 2004-09-22 14:51:20.017069184 +0200
@@ -1800,6 +1800,9 @@ int ipfw_init_or_cleanup(int init)
if (!init) goto cleanup;
+ printk(KERN_WARNING
+ "Warning: ipchains is obsolete, and will be removed soon!\n");
+
#ifdef DEBUG_IP_FIREWALL_LOCKING
fwc_wlocks = fwc_rlocks = 0;
#endif
diff -Nurp tmp/linux-2.6.9/net/ipv4/netfilter/ipfwadm_core.c
linux-2.6.9/net/ipv4/netfilter/ipfwadm_core.c
--- tmp/linux-2.6.9/net/ipv4/netfilter/ipfwadm_core.c 2004-09-22 14:45:53.545700000 +0200
+++ linux-2.6.9/net/ipv4/netfilter/ipfwadm_core.c 2004-09-22 14:51:37.780368752 +0200
@@ -1420,6 +1420,9 @@ int ipfw_init_or_cleanup(int init)
if (!init)
goto cleanup;
+ printk(KERN_WARNING
+ "Warning: ipfwadm is obsolete, and will be removed soon!\n");
+
ret = register_firewall(PF_INET, &ipfw_ops);
if (ret < 0)
goto cleanup_nothing;
next prev parent reply other threads:[~2004-09-22 13:32 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-20 23:09 Rusty Russell (IBM)
2004-09-21 12:36 ` Marc Ballarin
2004-09-21 21:58 ` Rusty Russell
2004-09-21 22:36 ` Marc Ballarin
2004-09-21 22:36 ` David S. Miller
2004-09-21 23:35 ` Marc Ballarin
2004-09-22 0:16 ` Patrick McHardy
2004-09-22 13:37 ` Marc Ballarin [this message]
2004-09-22 13:58 ` Jesper Juhl
2004-09-22 14:13 ` Richard B. Johnson
2004-09-22 11:36 ` Richard B. Johnson
2004-09-22 11:47 ` Martin Josefsson
2004-09-22 12:05 ` Richard B. Johnson
2004-09-22 12:41 ` Gene Heskett
2004-09-22 14:19 ` Fao, Sean
2004-09-22 15:31 ` William Stearns
2004-09-22 11:52 ` James Courtier-Dutton
2004-09-22 11:55 ` Marc Ballarin
2004-09-21 17:57 ` Bill Davidsen
[not found] <2GFBZ-61e-11@gated-at.bofh.it>
[not found] ` <2GSfS-6eW-5@gated-at.bofh.it>
[not found] ` <2H0ZO-49v-13@gated-at.bofh.it>
[not found] ` <2HdDL-48z-53@gated-at.bofh.it>
[not found] ` <2HdNp-4eJ-27@gated-at.bofh.it>
2004-09-22 12:15 ` Andi Kleen
2004-09-22 14:04 ` David Woodhouse
2004-09-23 18:07 Albert Cahalan
2004-09-23 19:33 ` Chris Friesen
2004-09-23 19:36 ` Albert Cahalan
2004-09-23 19:57 ` Andy Lutomirski
2004-09-23 19:57 ` David S. Miller
2004-09-23 23:08 ` Matthew Garrett
2004-09-23 23:25 ` David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040922153707.2cc1d886.Ballarin.Marc@gmx.de \
--to=ballarin.marc@gmx.de \
--cc=davem@davemloft.net \
--cc=kaber@trash.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=rusty@rustcorp.com.au \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome