Skip to contentSkip to conversation

Netfilter vs commercial

DISCUSSION Michael Gale 4 participants 6 messages Aug 9, 2004 – Aug 11, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I know this question has most likely come up a few times and most people ask about performance and through put. But my
question seems to me a little different.

I would like to know how people on this list ... which I know might be a biased opinion feel how a Netfilter firewall box .. properly configured would compare in security to a commercial firewall.

I do not want to compare performance or stats on through put but the strength of the firewall. The reason I am asking is to at the moment we are using Netfilter based firewalls which I have setup Squid and Frox and many other application level filters.

Now some people in the company want to replace them with CheckPoints or WatchGuard firewalls. Which is fine ... security should be done in layers ... but the way I see it I will still need the linux boxes to run squid and frox unless the appliance allows you to install software from other sources (most likely not) or use custom config files (like my own squid.conf -- most likely not).

Signature · 3 lines
Michael Gale
Network Administrator
Utilitran Corporation
#1 lore raw
Quoted 9 lines · Michael Gale

Hello,

I know this question has most likely come up a few times and most people
ask about performance and through put. But my question seems to me a little different.

I would like to know how people on this list ... which I know might be a biased opinion feel how a Netfilter firewall box .. properly configured would compare in security to a commercial firewall.

My response to this is that netfilter has a better security record than most commercial firewalls, based on the number of patches, alerts or security updates announced for each.

Quoted 4 lines

I do not want to compare performance or stats on through put but the strength of the firewall. The reason I am asking is to at the moment we are using Netfilter based firewalls which I have setup Squid and Frox and many other application level filters.

The other half of my response is that as soon as you start running any applications on the same machine as netfilter (and a proxy server definitely counts as an application), then you are immediately reducing the security of
the entire system to that of the weakest component. I would be willing to
bet that netfilter is not going to be the weakest component.

If someone has the choice of breaking into your house through a steel front door with 5-lever locks and deadbolts, or else walking around the back and breaking the single-thickness glass on your kitchen door, the security of your front door is fairly irrelevant to the security of your house.

Quoted 4 lines

Now some people in the company want to replace them with CheckPoints or WatchGuard firewalls. Which is fine ... security should be done in layers ... but the way I see it I will still need the linux boxes to run squid and frox

I believe those proxies should be running on separate machines from the main firewall anyway - because that does give you defence in depth, and multiple layers - whereas running several things on one machine gives you a very shallow depth, if you follow my meaning :)

Besides, if you are happy running netfilter on your Squid / Frox proxy, then by all means continue to do so, even with a dedicated Firewall in front of it as well (no matter whether that machine is running netfilter or Firewall-1).

Quoted 3 lines

unless the appliance allows you to install software from other sources (most likely not) or use custom config files (like my own squid.conf -- most likely not).

Often for the reasons given above - the vendors don't want you running unknown applications on their security servers, and possibly giving their machines a bad name when some software they don't know about has an exploit used against it.

Regards,

Antony.

Signature · 6 lines
Anything that improbable is effectively impossible.

 - Murray Gell-Mann, Nobel Prizewinner in Physics

                                                     Please reply to the list;
                                                           please don't CC me.
#2 lore raw
In reply to Michael Gale
Quoted 8 lines · Michael Gale

Hello,

I know this question has most likely come up a few times and most people ask about performance and through put. But my
question seems to me a little different.

I would like to know how people on this list ... which I know might be a biased opinion feel how a Netfilter firewall box .. properly configured would compare in security to a commercial firewall.

Quoted 8 lines

I do not want to compare performance or stats on through put but the strength of the firewall. The reason I am asking is to at the moment we are using Netfilter based firewalls which I have setup Squid and Frox and many other application level filters.

Now some people in the company want to replace them with CheckPoints or WatchGuard firewalls. Which is fine ... security should be done in layers ... but the way I see it I will still need the linux boxes to run squid and frox unless the appliance allows you to install software from other sources (most likely not) or use custom config files (like my own squid.conf -- most likely not).

It's a difficult question to answer without access to the internals of the proprietary products. I would assume the basic stateful inspection engine of netfilter is weaker than that of Checkpoint. However, this may very well be remedied when one adds the window tracking patch.

Other internals remain a bit of a mystery. For example, if I remember correctly, one can specify MSRPC as a protocol with Checkpoint and it will properly handle the port shift. One the other hand, one cannot do this in netfilter. One must open 135/tcp and then all high ports. Yes, I know that one should never do this on the Internet but what about internal firewalling and VPN firewalls. Now it could very well be that is all Checkpoint does but they've simplified it in the user interface. I do know that we have had to do that with other commercially available firewalls.

There are two other important issues of security that do not necessarily relate to the actual internals. One is how well the management interface shields one from human error. For example, this is one of the chief advantages of the ISCS interface for netfilter
(http://iscs.sourceforge.net). Not only does it reduce the time to configure security by over 90% but it dramatically reduces the exposure to human error. Unfortunately, it has not yet been released. On the other hand, from what I recall, the WatchGuard and Checkpoint interfaces are really just GUI rule configurators and do little to insulate the administrator against human error (such as putting a rule in the wrong order or making it conflict with another subsystem like NAT or VPN). I believe all of the other user interfaces for netfilter also fall into this rule configurator category.

Finally, there is the degree of control. This is where netfilter has a distinct advantage. The degree of flexibility that one has to configure netfilter to do exactly what one wants it to do by command line or script or even editing the source code is outstanding. One can also tinker with the related subsystems such as iproute2 or *swan to coordinate various security and network activities to an extraordinary level. I do not recall such flexibility in other products.

I do hope this is the type of answer you were looking for - John

Signature · 4 lines
John A. Sullivan III
Open Source Development Corporation
Financially sustainable open source development
http://www.opensourcedevelopmentcorp.com
#3 lore raw
Quoted 3 lines · John A. Sullivan III

For example, this is one of the
chief advantages of the ISCS interface for netfilter
(http://iscs.sourceforge.net).

BTW, any dates when to expect first public release?

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
#4 lore raw
Quoted 6 lines · Aleksandar Milivojevic
Quoted 3 lines · John A. Sullivan III

For example, this is one of the
chief advantages of the ISCS interface for netfilter
(http://iscs.sourceforge.net).

BTW, any dates when to expect first public release?

There have been so many requests for access to the code other than CVS that I will go ahead and release a pre-alpha version in a matter of days. Most of the bugs are worked out except for two that do not appear to be my code but rather somewhere between Qt and MySQL. As soon as I have that nailed, I release the code.

I am hoping to release a real version in late October. For all kinds of good reasons, that date may move forward or back. I'm doing an increasing number of demos. These take time but are beginning to bring in some corporate sponsorship. Astaro has been the first to commit funding (besides Nexus and myself). We're also working on some major grant applications to fund the project and that continues to take a lot of time. On the other hand, we have just had an outstanding database expert volunteer 20-25 hours per week to the project. We'll see where it all comes out. If anyone else is interesting in helping, please let me know. We need experts in iptables, iproute2, *swan, Qt, user authentication, layer 2 Linux configuration and embedded Linux. Thanks for asking - John

Signature · 4 lines
John A. Sullivan III
Open Source Development Corporation
Financially sustainable open source development
http://www.opensourcedevelopmentcorp.com
#5 lore raw
In reply to Michael Gale
Quoted 7 lines · Michael Gale

Hello,

I know this question has most likely come up a few times and most people ask about performance and through put. But my
question seems to me a little different.

I would like to know how people on this list ... which I know might be a biased opinion feel how a Netfilter firewall box .. properly configured would compare in security to a commercial firewall.

I'd say that security is at about same level, if you keep the products updated to the latest release, and if you do not have applications running on the firewall itself (like you do, squid is appliaction).

Use product that you feel comfortable with, and that has features you need. No point in using Netfilter if it lacks a feature from CheckPoint that you need. Or using CheckPoint if it lacks a feature from Netfilter that you need.

Sadly, at some places that I used to work in the past (luckily not working there anymore), the two main arguments (usually used by higher management) for going commercial was that "if we pay, we will have someboy to blame when things are not working". And "commercial looks more professional". Totally stupid and neither of those has anything with common sense. Hope it will not be the case at your place.

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