What is a firewall and why do you need one?

Tue Mar 4, 2008 12:06PM EST

See Comments (24)

Of the many computer security measures available to end users, none is more confusing to the novice than the firewall. I can understand why. Unlike anti-virus or anti-spyware tools, a firewall doesn't immediately telegraph what it does. I wouldn't be surprised if many people thought it was designed to prevent fires inside your computer. (It doesn't.)

I'm writing this post for novices, so please forgive any over-simplifications. Basically, a firewall is software (or hardware) that blocks malicious attacks on your computer from coming through over the internet. But wait, you might say, don't most malware attacks, like viruses, come over the internet? They do, but the difference is that with viruses and spyware, there is generally some human interaction that starts the infection: You might open an infected email or visit a bad website, for example. Anti-virus software helps in these situations where you're actively involved in the process.

But believe it or not, many, many computer attacks come over the internet even if you aren't at your desk and your web browser and email client are closed. Thanks to the millions of zombie PCs in the wild, attack computers are constantly scanning the internet, almost at random, looking for unprotected computers to attack. These zombies continuously scan for security holes (and I won't go into the intricate details of how this works), many of which are caused by Windows. It's like walking down the street, trying all the car doors to find one that's unlocked. If your computer is connected to the internet, they will find you—fast. Before a firewall was added to Windows XP in Service Pack 2, it was commonly held that an unprotected Windows machine connected to the internet would be infected with some form of malware within 20 minutes and in some cases as quickly as 4 minutes. Just plug it in, and the bad guys do their work.

So where does a firewall come in? A firewall plugs the security holes I mentioned and blocks that bad, random traffic from coming through to your computer. Anti-virus won't help you in many of these cases. You really need a firewall to stop a lot of this stuff.

The good news is that you probably already have a firewall up and running. The best firewalls are found inside router hardware (either wired or wireless) that you attach to your broadband modem. Every router I've ever tried has the firewall turned on by default, but check in the configuration tool to make sure it is. It should be easy to find. You usually need not configure it any more other than turning it on.

Don't have a router? Turn on the Windows Firewall by going to the Windows Firewall control panel (in XP or Vista). It also needs no additional configuring, and in my experience it is just as good as using a third-party firewall software product. You do not need both a router-based firewall and the Windows firewall. One will do.

Once your firewall is on, you can largely forget it and let it do its work. You may not notice this silent friend protecting you in the background, but believe me, you'll notice if you turn it off.

Comments on What is a firewall and why do you need one?

Post a Comment

Join in the discussion. Here you'll see the comments in the order they were posted.

  • 2 Posted by sheelah_n on Tue Mar 4, 2008 3:29PM EST Report Abuse

    Thank you. I really had no idea. I'm a little ways beyond a novice user but still had no idea what it ACTUALLY did. Good thing I've always used one

  • 3 Posted by willywirkswell on Tue Mar 4, 2008 3:42PM EST Report Abuse

    There's many ways malicious software can get on a pc and neither a firewall nor an anti-virus, or both, will prevent all of them. Routers tend to concentrate on blocking unwanted in-bound traffic. The Windows firewall is pretty useless. It's essential to have a software firewall that prevents information leaking out.

  • 4 Posted by m_knopp on Tue Mar 4, 2008 3:47PM EST Report Abuse

    Christopher, good article, but your assertion that one does not need both a hardware firewall on their router and a software firewall on their computer does not agree with what I have been told. I have been told that a hardware firewall on ones router is excellent for blocking incoming attacks. However, is ineffective at stopping trojans from opening outgoing connections since it has no way of differentiating between a legitimate internal request and a malicious internal request. Software firewalls on the other hand are more akin to a gatekeeper of the outgoing. They generally setup a list of approved outgoing protocols. Thus, if your computer is infected with a malicious piece of code and tries to link back to the bad guys the software firewall will block that call, and should warn you in some fashion that something is going on. I would also like to add that Gibson Research Center has an excellent program called ShieldsUp! which can check your internet connection for holes in your firewall. It can be found at https://www.grc.com/x/ne.dll?bh0bkyd2 and is an invaluable tool in stealthing your ports.

  • 5 Posted by agustin2489 on Tue Mar 4, 2008 4:24PM EST Report Abuse

    Typically, it's a pick-your-choice sort of scenario when it comes to choosing between firewall software. However, I found that McAfee and Windows Firewall (not counting the Vista firewall) aren't especially effective. The Vista firewall is actually pretty powerful in terms of customization. If you need a good, free firewall solution, use Avast. It might be a bit annoying in terms of notices but I find it helpful to know exactly what's going on.

More Posts: First Prev 1 2 Next Last

Post a Comment

 

Sign In to see your profile information, saved products and more...

Register Sign In

My Favorite Gadgets

 

Recent Activity

 

Recently Viewed

on | off on | off
 

Recent Searches

on | off on | off
 
 
 

Also on Yahoo! Tech

Computers Home Office Wi-Fi & Networking Phones & PDAs Cameras & Camcorders TV & Home Theater Portable Audio

Question and Answer content at Yahoo! Tech is written by Yahoo! users at Yahoo! Answers. Yahoo! does not evaluate or guarantee the accuracy of any Yahoo! Answers content. For more information, read the Full Disclaimer.

Opinions expressed by the Advisors are their own and do not necessarily reflect the views of Yahoo! Inc. Yahoo! receives no compensation from any manufacturer or distributor nor does it compensate any Advisor for the coverage of any product or service in any Advisor's content.