From: Leonardo Carneiro <lscarneiro@veltrac.com.br>
To: "netfilter@vger.kernel.org" <netfilter@vger.kernel.org>
Subject: Re: Learning iptables
Date: Sat, 18 Apr 2009 10:20:44 -0300 [thread overview]
Message-ID: <49E9D3AC.5030801@veltrac.com.br> (raw)
In-Reply-To: <20090418125916.GA14236@internet24.de>
Tks Thomas and Brian. It was very helpful.
Now i'll follow with my jorney _o/
tks again! =)
Thomas Jacob escreveu:
> On Sat, Apr 18, 2009 at 09:32:58AM -0300, Leonardo Carneiro wrote:
>
>> Is there any good reason why someone would set an ACCEPT policy for all
>> chains first to withdraw some later? What the benefit of doing this?
>>
>
> If I'd have to guess at the ruleset authors intentions, I'd say
> s/he wanted to prevent service disruptions when reloading the
> firewall scripts.
>
> Loading a lot of rules without iptables-restore can take quite some time,
> and if you have a DROP policy during the rule loading time,
> some packets that your final ruleset would pass thru will be dropped.
> Also, if your scripts terminate prematurely, you might not be able
> to remote access your machine anymore.
>
> But then again, you should load your ruleset before you bring up
> your network, so the first reason should be irrelevant. And the
> second shouldn't really matter after the initial testing phase.
>
>
--
*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarneiro@veltrac.com.br <mailto:lscarneiro@veltrac.com.br>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5600/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/
next prev parent reply other threads:[~2009-04-18 13:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-18 12:32 Learning iptables Leonardo Carneiro
2009-04-18 12:48 ` Brian Austin - Standard Universal
2009-04-18 12:59 ` Thomas Jacob
2009-04-18 13:20 ` Leonardo Carneiro [this message]
2009-04-18 23:34 ` Amos Jeffries
2009-04-18 15:55 ` Bruno Moreira Guedes
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=49E9D3AC.5030801@veltrac.com.br \
--to=lscarneiro@veltrac.com.br \
--cc=netfilter@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.