From: Oliver Schad <oliver.schad@communology.com>
To: gentoo-security@lists.gentoo.org
Subject: Re: [gentoo-security] iptables window of opportunity at startup
Date: Wed, 08 Feb 2006 12:53:02 +0100 [thread overview]
Message-ID: <43E9DB9E.8050605@communology.com> (raw)
In-Reply-To: <1139127849.9183.11.camel@hornbeam.arboretum>
Jon Mitchell wrote:
> On Sat, 2006-02-04 at 18:22 +0100, Oliver Schad wrote:
>> No this doesn't offers a hole, when no service is running and routing
>> is
>> deactivated. So all services have to be started after iptables rules.
>> Same for routing.
>
> But this isn't quite what happens by default. Starting up I seem to get
> the network, then http-replicator, then iptables. Shutting down is
> worse: First iptables is turned off, then ntpd, sshd, http-replicator,
> "unmounting network file systems", then the network. So if there were a
> problem in these services they would be exposed.
>
> How do you control the order that programs are shutdown in gentoo?
Edit /etc/init.d/iptables and change dendency settings to
depend() {
before net
use logger
}
>> Iptables doesn't have to protect the TCP/IP stack but a network
>> behind
>> the host or services on that host.
>
> Could the network behind the host also be exposed in this small window?
No, because Routing is activated in /etc/init.d/iptables after loading
ruleset
Regards
Oli
--
gentoo-security@gentoo.org mailing list
next prev parent reply other threads:[~2006-02-08 11:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-04 12:50 [gentoo-security] iptables window of opportunity at startup Jon Mitchell
2006-02-04 13:12 ` Graham Murray
2006-02-04 16:34 ` Steven Sennebogen
2006-02-04 22:51 ` Mariusz Pękala
2006-02-05 1:16 ` Matt Drew
2006-02-04 17:22 ` Oliver Schad
2006-02-04 21:04 ` Staffan Emrén
2006-02-05 8:24 ` Jon Mitchell
2006-02-05 12:29 ` Tobias Klausmann
2006-02-07 17:16 ` Francois Toussenel
2006-02-07 17:42 ` xyon
2006-02-08 11:22 ` Tobias Klausmann
2006-02-08 11:29 ` Oliver Schad
2006-02-08 11:36 ` Tobias Klausmann
2006-02-08 11:46 ` Oliver Schad
2006-02-08 11:53 ` Oliver Schad [this message]
2006-02-09 13:52 ` Oliver Schad
2006-02-07 18:08 ` Thierry Carrez
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=43E9DB9E.8050605@communology.com \
--to=oliver.schad@communology.com \
--cc=gentoo-security@lists.gentoo.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