Skip to contentSkip to conversation

why must linux for halted firewall?

DISCUSSION Chua Boon Ping 6 participants 8 messages Sep 15, 2003 – Sep 16, 2003

lore
Share & tools
lore
#0 lore raw

dear all,
I am newbie in open source and recently i am busy on some assignment
concerning "why opts for Linux(netfilter/iptables) rather than OpenBSD to implement a Halted Firewall". actually, can OpenBSD be halted just like Linux kernel do? As i mentioned, i am newbie and would like have some guidance from you guys. Thanks.

Chua

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online! http://www.msn.com.my/reloadredir/default.asp

#1 lore raw
Quoted 3 lines · Chua Boon Ping

concerning "why opts for Linux(netfilter/iptables) rather than OpenBSD to implement a Halted Firewall". actually, can OpenBSD be halted just like Linux kernel do?

I'm not sure what you mean by a "halted firewall". Do you mean that the kernel uses the "halt" instruction when there is no work to do? Actually, if you have APM or ACPI BIOS (all recent machines do), the kernel will use them to conserve power if the machine has been halted for a while, and if the BIOS has that capability.

I like Linux iptables because it's flexible and semi-comprehensible, and it can do (almost) everything I want to, and it uses relatively little CPU per packet. But what you really need is a reply from someone who knows both NetBSD and Linux, and can say what's good about NetBSD firewall code.

James F. Carter Voice 310 825 2897 FAX 310 206 6673
UCLA-Mathnet; 6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA 90095-1555
Email: [email protected] http://www.math.ucla.edu/~jimc (q.v. for PGP key)

#2 lore raw
Quoted 2 lines · Jim Carter

I'm not sure what you mean by a "halted firewall". Do you mean that the kernel uses the "halt" instruction when there is no work to do?

Nope.
An halted firewall is a firewall that is halted, i.e. you have executed "halt" command. Box is configured not to send halt signal to ATX supply so it is still powered and network stuff is not killed (interfaces up, ruleset not flushed, etc.). As kernel is still alive, your box can continue it's routing/filtering tasks as they're handled within kernel.

But, you won't have the ability to log onto the firewall to update rules or have applications running (no logs).

Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
#3 lore raw
Quoted 15 lines · Cedric Blancher
Quoted 4 lines · Jim Carter

I'm not sure what you mean by a "halted firewall". Do you mean that the kernel uses the "halt" instruction when there is no work to do?

Nope.
An halted firewall is a firewall that is halted, i.e. you have executed "halt" command. Box is configured not to send halt signal to ATX supply so it is still powered and network stuff is not killed (interfaces up, ruleset not flushed, etc.). As kernel is still alive, your box can continue it's routing/filtering tasks as they're handled within kernel.

Quoted 5 lines

But, you won't have the ability to log onto the firewall to update rules or have applications running (no logs).

What would be the benefit in configuring a system like this? It seems to run contrary to the evolution of IT appliances where you can configure and manage everything usually without restarting (firewalls, switches, print servers, even ups units). I don't get it ;-)

#4 lore raw

Tuesday, September 16, 2003, 9:55:28 PM, you wrote:

JL> Cedric Blancher wrote:

JL> What would be the benefit in configuring a system like this? It seems to JL> run contrary to the evolution of IT appliances where you can configure JL> and manage everything usually without restarting (firewalls, switches, JL> print servers, even ups units). I don't get it ;-)

The benefit is that the system can never be exposed, no userspace task can run, its only the kernel with its power of networking.

P.Krumins

#5 lore raw
In reply to Jeffrey Laramie
Quoted 4 lines · Jeffrey Laramie

What would be the benefit in configuring a system like this? It seems to run contrary to the evolution of IT appliances where you can configure and manage everything usually without restarting (firewalls, switches, print servers, even ups units). I don't get it ;-)

Just fun, which always runs against IT appliance evolution that want things boring easy ;)

Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
#6 lore raw
In reply to Chua Boon Ping

For us,
We have a runlevel 0 firewall, from Debian
it was developed in house, fine tuned by this article:

http://www.samag.com/documents/s=1824/sam0201d/0201d.htm

For us, this FW protects a Bioinformatics cluster,
which rarely changes on the rules side of things,
the benefit form our standpoint is the non-access into the machine, (No user priv escalation due to no logon)
the drawback is we currently have no logging enabled. (We are working on it.

Hope that helps

Nox
GenMicro systems
Bioinformatics applications and devices
(Website in development)

Quoted 14 lines · Chua Boon Ping

dear all,
I am newbie in open source and recently i am busy on some assignment
concerning "why opts for Linux(netfilter/iptables) rather than OpenBSD to implement a Halted Firewall". actually, can OpenBSD be halted just like Linux kernel do? As i mentioned, i am newbie and would like have some guidance from you guys. Thanks.

Chua

_________________________________________________________________
Using a handphone prepaid card? Reload your credit online!
http://www.msn.com.my/reloadredir/default.asp

#7 lore raw
Quoted 2 lines · Nox

the drawback is we currently have no logging enabled. (We are working on it.

LIDS guys have developped a kernel side SMTP client so their system can send alerts without interaction with userland. I don't think they have kernel side syslog.

Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE