Welcome!

Open Source Cloud Authors: Yeshim Deniz, Liz McMillan, Pat Romanski, Elizabeth White, Zakia Bouachraoui

Related Topics: Open Source Cloud

Open Source Cloud: Article

Linux Firewalls…and their advantages over Windows

Linux Firewalls…and their advantages over Windows

With all of this talk about firewalls, many people are asking "what are the advantages of Linux firewalls over firewalls running on Windows?" In this article, I hope to address this question from several different angles. First, is Linux more secure than Windows as a firewall platform? Second, what problems do Linux firewalls manage to avoid which plague Windows firewalls? Third, why do organizations use Windows firewalls at all? On the way, I'll introduce Bastille Linux, a popular security project that includes a fairly powerful free firewall.

The most obvious reason that you should put your firewall on a Linux or Unix platform is that the alternative, Windows, has shown itself to be rather insecure. MicroSoft doesn't appear to care one bit about security, as incident after incident has shown in the past few years. Between the Melissa, LoveLetter, Code Red and Nimda worms and a whole host of other programs that have easily preyed on vulnerabilities and security bugs in MicroSoft products, we've watched MicroSoft customers lose a huge amount of money and man-hours fixing unnecessary problems in their software.

The industry is even beginning to lose confidence in MicroSoft's ability to create secure applications. The Gartner Group recently recommended that organizations using MicroSoft's IIS Webserver switch immediately to another server application. In a world dominated by MicroSoft marketing, this was a significant deviation from the norm. The security community is currently discussing the fact that several insurance companies are now charging MicroSoft NT and IIS clients greater premiums, to account for the higher danger in running this operating system and server. MicroSoft doesn't appear capable of creating a sound Web server that these groups will trust. Now, when you take note of the fact that operating systems are far more complex than server applications, and that complexity tends to cause more security problems, you see why many of us agree with these insurance companies. We don't trust MicroSoft to create a secure operating system.

Many of us don't even trust MicroSoft to create a stable operating system, much less a secure one. This makes me wonder whether any program that must have a very, very low rate of failure should be running on a Windows system. As noted security writer Mike Rash puts it, "why would anyone run the single point of failure for your entire network on the king of reboot operating systems?!"

Now, Linux and Unix have had security problems as well, but none have caused the widespread damage seen from the high-profile Windows viruses and worms. Further, it's much easier to avoid these problems on a Linux/Unix operating system. See, the entire operating system can be tuned for security by a competent system administrator. While a Linux or Unix operating system usually ships as a general-purpose platform, it's designed to be tuned for the administrator's particular purposes, whether that be as a mail server, a firewall platform, or a workstation. Securing these systems is a well-understood process - there are a number of books, courses and articles on the topic. Windows, on the other hand, has historically been very difficult to secure. Firstly, the MicroSoft operating systems have either had less tunable security settings or they've had so many possibly conflicting settings that the unnecessary complexity buries the system administrator. Secondly, a number of MicroSoft products have been known to ignore their own security settings - even in the case where a system administrator was able to configure the right settings, the product's own bugs stopped those settings from taking effect and preventing a system compromise.

Linux and Unix are just the opposite here. The security settings are generally present by design. Further, because the operating systems are so comprehensible and open, it's a trivial task to remove unnecessary or vulnerable subsystems. This makes tuning for security fairly easy for an experienced system adminstrator. There are even a number of programs that can help an ordinary user or an inexperienced system administrator perform this task. Bastille Linux is one example - this program both tightens security on a machine and teaches the user about security. Bastille runs on Mandrake Linux, Red Hat Linux and HP-UX. It teaches the user about security so that he can make the best informed decisions about tightening security - it then uses the results of those decisions to carefully tune the security settings available. Titan is another such example. While it lacks the educational component of Bastille, it can tighten security on Solaris and FreeBSD as well.

By the way, due to the Open Source nature of Linux, it's even easier to secure than most of the Unix's. Part of this is due to the fact that a third party can modify the operating system itself, not just the settings, for greater security. For example, the United States NSA released SELinux (Security Enhanced Linux) which adds extreme security granularization to Linux, at the cost of some ease of administration. WireX also makes an entire host of solutions to do the same type of thing, including SubDomain, a product which allows a system administrator to define exactly which files that an application will have access to. A number of similar solutions exist as well. The wonderful thing about Linux's Open Source nature is that you're given the ability to not only inspect your entire operating system, but change it on a whim.

All in all, Linux just makes a much better platform to install a firewall on top of, rather than Windows. The Windows operating system has a bad track record for instability problems, bugs and security vulnerabilities. Linux in particular, and Unix in general, avoids these by either being built more solidly or having far greater tunability.

Let's take a look at a related issue: why do Linux machines tend to avoid many of the security problems that plague Windows? Windows machines appear designed for maximal ease of use, with many pieces automatically woven together to make the experience easier for the user. Unfortunately, this leads to a system that's far more complex than is safe - this creates security holes as different pieces interact with each other in ways that weren't originally intended. It also creates problems because MicroSoft often designs systems to make things easier on their users but doesn't realize the security ramifications of these decisions. One dangerous example of this was in MicroSoft's decision to bundle a scripting language (VBscript) into ther mail client, Outlook - because Outlook would run the VBscript enclosed with any mail message, a huge number of people were infected with a worm that continued to spread rapidly across the Internet. This simple judgement call cost the world a huge amount of time and money, as stopping and cleaning up after the worm was incredibly difficult.

MicroSoft continually makes these judgments in their operating system design, but the same kind of problems plague the treatment of their customers. Right now, a debate is raging concerning MicroSoft's stance on security vulnerability disclosure. MicroSoft is working hard to try to shut down communication about security holes in their software. Instead of trying to actually avoid creating these problems, MicroSoft is working to try to stop people from talking about them - they somehow hope that if none of their customers ever hear about the problems, no one will stop buying their products for fear of security holes. Unfortunately, whether or not a MicroSoft customer knows about a security hole, many people will discover the holes independently, communicate them through underground channels, and use them against the MicroSoft customers who don't even know that they're vulnerable!

On the other hand, the Linux companies don't really have the capability or the desire to hide security information from their customers. Actually, these companies have a proven track record of fixing security problems around four times faster than MicroSoft. In a SecurityPortal article two years back, Kurt Seifried examined the amount of time between when a vendor was alerted to a problem and when the vendor issued a "patch" to correct the problem. This time period, called the "Window of Vulnerability," is critical - during this time, every client running the affected program will be vulnerable. For this reason, it's important to minimize it as much as possible. Well, while Red Hat's average turnaround time, or window of vulnerability, was seven days, MicroSoft's average time was a full 30! With the immense resources of MicroSoft, it seems unlikely that they couldn't match, or beat, Red Hat's turnaround time - many of us thus draw the conclusion that they just don't care! Do you really want your firewall running on an operating system with MicroSoft's security history?

So, why do organizations use Windows firewalls at all? Well, the simplest reason that most of us can come up with is that Windows is very user-friendly. Since Linux is less user-friendly, it requires trained staff to administer it. Training your staff, or hiring staff with the necessary skills, definitely raises the cost of the technology, it is thought. Well, while it's certainly true that getting someone with the necessary skills and training is slightly more expensive, it can often be more expensive to recover from a successful break-in. See, while a less experienced person has a better chance of running a firewall on Windows, they probably don't have a better chance of running it well! Properly configuring a firewall for a medium or large size business is a challenging task that requires technical knowledge of networking and application protocols. Don't you want smart, trained people to run this critical subsystem?!

With that said, allow me to propose a solution. Purchase or build your firewall on a Linux or Unix system and take the time to properly "tighten" the system's configuration. You want a well-configured firewall running on a secure, tightened platform. Just don't do it on Windows…

More Stories By Maureen O'Gara

Maureen O'Gara the most read technology reporter for the past 20 years, is the Cloud Computing and Virtualization News Desk editor of SYS-CON Media. She is the publisher of famous "Billygrams" and the editor-in-chief of "Client/Server News" for more than a decade. One of the most respected technology reporters in the business, Maureen can be reached by email at maureen(at)sys-con.com or paperboy(at)g2news.com, and by phone at 516 759-7025. Twitter: @MaureenOGara

Comments (3) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
CPN 02/18/03 09:11:00 AM EST

This article is nothing but one long never-ending rant against Windows, and Microsoft in general. I was rather looking for a qualitative and objective comparison between the firwalling technologies between the 2 OS's, but ....

While the author is right in that Linux (and Unix in general) has security built in, and with features such as iptables in the kernel, things only get better. However, the author fails to mention the alternatives Windows provides however good or bad they may be, and whether why Linux makes a better choice in the matter.

DK O'HARA 05/01/02 10:39:00 AM EDT

I enjoyed your article Jay and look forward to using your product one day. I can attest to and verify your statings on MS Security. Often times even employing their patches and fixes causes more problems than it solves. I have had to reload my box several times after downloading the patches. Whereas in Linux you can always go back and remove if something is working right. As an MCP I truly enjoy the ability to control every aspect of your OS which Linux affords you to do.

Antonio Gutierrez 03/30/02 12:39:00 AM EST

it´s ok.

IoT & Smart Cities Stories
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER gives detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPOalso offers sp...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @ThingsExpo, which will take place on June 6–8, 2017, at the Javits Center in New York City, NY. The IoT Global Network is a platform where you can connect with industry experts and network across the IoT community to build the successful IoT business of the future.