Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: Alex Tang <altitude@funkware.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: stop/start iptables vs. "iptables-restore"
Date: Sun, 26 Aug 2007 22:24:14 +0200	[thread overview]
Message-ID: <46D1E16E.9070706@rtij.nl> (raw)
In-Reply-To: <46CE273A.50807@funkware.com>

Alex Tang wrote:
> Hi folks,
>
> We run a linux based product (RHEL4 based, kernel-2.6.9-55, and 
> iptables-1.2.11). During the running of the product, when we make 
> changes to the iptables configuration, we use the SysV-like RHEL 
> script "/etc/init.d/iptables restart", which effectively stops 
> iptables, unloads all of the iptables based kernel modules, then 
> starts iptables and all the kernel stuff.
> A colleague recently asked why we're not using "iptables-restore" 
> instead of the script which does "stop/start".  I'm looking to see if 
> you know of any reasons why we should or should not use 
> iptables-restore vs. "stop/start".  Does it matter if the number of 
> connections on the system is high?  Our product can sometimes handle 
> many millions of connections per day.

The RHEL start/stop scripts do use iptables-save and -restore. They are 
as efficient as they can be.

HTH,
M4



  parent reply	other threads:[~2007-08-26 20:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24  0:32 stop/start iptables vs. "iptables-restore" Alex Tang
2007-08-24 14:46 ` John A. Sullivan III
2007-08-26 20:24 ` Martijn Lievaart [this message]
     [not found] <200708251004.l7PA4Q5a008128@mail3.jubileegroup.co.uk>
2007-08-25 22:11 ` G.W. Haywood

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=46D1E16E.9070706@rtij.nl \
    --to=m@rtij.nl \
    --cc=altitude@funkware.com \
    --cc=netfilter@lists.netfilter.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