Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables immutable
@ 2003-02-07  1:44 Kelly Setzer
  2003-02-10  7:42 ` Cedric Blancher
  0 siblings, 1 reply; 2+ messages in thread
From: Kelly Setzer @ 2003-02-07  1:44 UTC (permalink / raw)
  To: netfilter

We are in the process of implementing a firewall based on iptables.
Our basic implementation is laid out, and now we are searching for
every scrap that might improve security.  One thing I'd like is the
ability to "lock" the iptables configuration so that no further
changes can be made (without rebooting).

I don't see that iptables supports that directly.  I would be willing
to put my effort into such a project, although it's at the limits of
my expertise.  I have been trying to think of a way to emulate this
behavior.

The only reasonable idea I've had is using Linux Capabilities:
http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/capfaq-0.2.txt

However, I'm not even sure how I'd apply that to iptables to prevent
changes to the iptables chains.

Thoughts?

Kelly



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: iptables immutable
  2003-02-07  1:44 iptables immutable Kelly Setzer
@ 2003-02-10  7:42 ` Cedric Blancher
  0 siblings, 0 replies; 2+ messages in thread
From: Cedric Blancher @ 2003-02-10  7:42 UTC (permalink / raw)
  To: Kelly Setzer; +Cc: netfilter

Le ven 07/02/2003 à 02:44, Kelly Setzer a écrit :
> We are in the process of implementing a firewall based on iptables.
> Our basic implementation is laid out, and now we are searching for
> every scrap that might improve security.  One thing I'd like is the
> ability to "lock" the iptables configuration so that no further
> changes can be made (without rebooting).

See LIDS :

	http://www.lids.org/

Things such as CAP_NET_ADMIN should do the trick. Consider also
CAP_NET_RAW to prevent someone from injecting layer 2 stuff under the
firewalling process.

-- 
Cédric Blancher  <blancher@cartel-securite.fr>
Consultant en sécurité des systèmes et réseaux  - Cartel Sécurité
Tél: +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE  FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-10  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-07  1:44 iptables immutable Kelly Setzer
2003-02-10  7:42 ` Cedric Blancher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox