Skip to contentSkip to conversation

What is the diference between ipfw of *bsd and netfilter of linux?

DISCUSSION Carlos Mario Mora (c4y0) 6 participants 7 messages Oct 4, 2004 – Oct 22, 2004

lore
Share & tools
lore
#0 lore raw

hi!

im looking for the diference between ipfw and iptables. Many people
say to ipfw is more secure of iptables, but they cant explain why that.

How can i found some documentation to create a document to explain thats diferences?

Thanks for your help.

#1 lore raw
Quoted 4 lines · Carlos Mario Mora (c4y0) wrote:

hi!

im looking for the diference between ipfw and iptables. Many people
say to ipfw is more secure of iptables, but they cant explain why that.

If ipfw is what I think it is, than only difference is better connection tracking (it tracks TCP window numbers). However, Netfilter got that suppor recently as well (as a patch), and it seems that it will be standard part of Linux kernel as of 2.6.9 (at least by looking into the ChangeLog, I might be wrong).

Other than that, I don't see why would one be more secure than another.
So I'd say they are becoming about the same as security goes.

Signature · 3 lines
Aleksandar Milivojevic <[email protected]>    Pollard Banknote Limited
Systems Administrator                           1499 Buffalo Place
Tel: (204) 474-2323 ext 276                     Winnipeg, MB  R3T 1L7
#2 lore raw
In reply to Carlos Mario Mora (c4y0)
Quoted 9 lines · El lun, 04 de 10 de 2004 a las 22:06, Carlos Mario Mora (c4y0) escribió:

hi!

im looking for the diference between ipfw and iptables. Many people
say to ipfw is more secure of iptables, but they cant explain why that.

How can i found some documentation to create a document to explain thats diferences?

Thanks for your help.

I find netfilter superior in terms of capabilities, it has more extensions and it's technically superior to ipfw. It let you do things that you can't do with ipfw. But it's just an opinion, xBSD supporters would surely say otherwise. My advice: Try both and use the one that suits you better. You probably can look into other matters, as the routing capabilities of both systems.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"
#3 lore raw
Quoted 6 lines
Quoted 5 lines

im looking for the diference between ipfw and iptables. Many people
say to ipfw is more secure of iptables, but they cant explain why that.

How can i found some documentation to create a document to explain thats diferences?

Quoted 7 lines

I find netfilter superior in terms of capabilities, it has more extensions and it's technically superior to ipfw. It let you do things that you can't do with ipfw. But it's just an opinion, xBSD supporters would surely say otherwise. My advice: Try both and use the one that suits you better. You probably can look into other matters, as the routing capabilities of both systems.

However I agree with you that netfilter is easier to use and has more capabilities, I still can't beleive that netfilter (iptables actually) doesn't have a way to identify rules uniquely (via an ID). So simple feaure, so powerfull, and still iptables doesn't have this.

And no, linenumbers don't identify rules uniquely, they can change at any moment.

Signature · 2 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!
#4 lore raw
Quoted 7 lines · Damjan

However I agree with you that netfilter is easier to use and has more capabilities, I still can't beleive that netfilter (iptables actually) doesn't have a way to identify rules uniquely (via an ID). So simple feaure, so powerfull, and still iptables doesn't have this.

And no, linenumbers don't identify rules uniquely, they can change at any moment.

check out the comment patch from POM.

-j

Signature · 1 line
Jason Opperisano <[email protected]>
#5 lore raw
Quoted 8 lines · Jason Opperisano
Quoted 5 lines · Damjan

However I agree with you that netfilter is easier to use and has more capabilities, I still can't beleive that netfilter (iptables actually) doesn't have a way to identify rules uniquely (via an ID). So simple feaure, so powerfull, and still iptables doesn't have this.

Quoted 11 lines
Quoted 4 lines

And no, linenumbers don't identify rules uniquely, they can change at any moment.

check out the comment patch from POM.

-j

I feel obliged to add that wrongly configured proxy-arp devices can bring havoc onto a network. I get a few cases a year where some network devices had proxy-arp left on (we typically disable it on most devices) and a routing error was made, the result in many devices is that the device will start answering for ip addresses it has no actually ability to communicate with thereby effectively knocking that device off the net. Just a warning that it can be nasty.

#6 lore raw
In reply to Jason Opperisano
Quoted 9 lines
Quoted 7 lines

However I agree with you that netfilter is easier to use and has more capabilities, I still can't beleive that netfilter (iptables actually) doesn't have a way to identify rules uniquely (via an ID). So simple feaure, so powerfull, and still iptables doesn't have this.

And no, linenumbers don't identify rules uniquely, they can change at any moment.

check out the comment patch from POM.

Ohh, and its in kernel-2.6.9 by default... I'm happy again.

Signature · 2 lines
damjan | дамјан
This is my jabber ID --> [email protected] <-- not my mail address!!!