LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2007, 01:12 PM   #1
klarsin
Member
 
Registered: Oct 2006
Distribution: Ubuntu / Mepis
Posts: 144

Rep: Reputation: 15
Firewalls


I downloaded a security suite via Automatix which included 'Firestarter' firewall. My question is: Why do I need a firewall when my computer already has one? Does the likes of FS include additonal features such as blocking outgoing and incoming unwanted specific activity i.e. spyware?
 
Old 01-26-2007, 01:34 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
"already has one". You mean you have a separate firewall/router device or that you have something like iptables running on the system itself?

The answer if the former is that the firewall/router protects things only to that point. All systems on the other side (e.g. internal to you or your organization) are unprotected. Having the latter protects the system itself from other internal systems. A couple of reason to have the latter even if you have the former:
1) A good portion of hacking especially for destructive purposes is done by disgruntled employees.
2) Even for home use it helps if someone has hacked one of your systems they don't automatically get access to all the others. They have to work out what you've left open etc...

In security it's all about "hardening the target". The harder it is to get to a given system the more likely it is they'll go try hacking elsewhere.

If you already have something like iptables running you probably don't need another firewall product on the same system. You mentioned it was a "security suite". It would be silly indeed if a security suite didn't include a basic firewall package. You probably can use the other components without using firestarter.
 
Old 01-26-2007, 07:35 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Firestarter is just a GUI configuration tool for IPTables. It lets you create an IPTables firewall without knowing IPTables commands.

While all Linux systems have IPTables built in, many don't configure it by default. (I don't know why)

--Ian
 
Old 01-26-2007, 10:20 PM   #4
klarsin
Member
 
Registered: Oct 2006
Distribution: Ubuntu / Mepis
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by IBall
Firestarter is just a GUI configuration tool for IPTables. It lets you create an IPTables firewall without knowing IPTables commands.

While all Linux systems have IPTables built in, many don't configure it by default. (I don't know why)

--Ian
Using Ubuntu, so I guess it comes with IPTables. How do I know if it is configured to do an adequate job of protecting the syste if I can't see it? Also, on windows running two firewalls simultaneously confuses the system. Should I shut one off here on Ubuntu?
 
Old 01-26-2007, 10:41 PM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Try "sudo iptables -L" to see your firewall rules. Before you set anything up, each section of the output should be empty.

Like I said though, Firestarter is not a firewall. It is basically a config tool for IPTables.

--Ian
 
Old 01-27-2007, 11:00 AM   #6
klarsin
Member
 
Registered: Oct 2006
Distribution: Ubuntu / Mepis
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by IBall
Try "sudo iptables -L" to see your firewall rules. Before you set anything up, each section of the output should be empty.

Like I said though, Firestarter is not a firewall. It is basically a config tool for IPTables.

--Ian
OK, this explains things more clearly. The output is not empty, though. I'll have to bone up on all these settings to understand them more.

One last question. If I turn off the firewall in Firestarter then should I assume that the iptables are disabled leaving my comupter with no active firewall?
 
Old 01-27-2007, 11:19 AM   #7
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
While all Linux systems have IPTables built in, many don't configure it by default. (I don't know why)
Because there is no one good setup that works for everyone; security is the job of an administrator, and if people don't want to configure an iptables firewall or don't know how to do it, it'd be an odd job to setup one that doesn't suit their configuration.

Code:
iptables -L
will tell you if the firewall has some rules. If you clear the firewall with Firestarter it effectively just removes (flushes) all iptables rules. After that the above list command should not give any rules. When you add some, the above command shows them.

With Firestarter you can create iptables rules and "save" them, and when you boot they are loaded -- you can choose whether Firestarter is used to load them to iptables, or iptables itself. The result is just the same, so no matter which one you use. Firestarter does not need to be run manually or be visible after rules are created, it's merely a tool to edit the rules. You can do the same job with userspace command iptables and reading the man-page should give somekind of picture on how it's done; iptables.org tells more.
Code:
man iptables
 
Old 01-28-2007, 09:41 PM   #8
klarsin
Member
 
Registered: Oct 2006
Distribution: Ubuntu / Mepis
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by b0uncer
Because there is no one good setup that works for everyone; security is the job of an administrator, and if people don't want to configure an iptables firewall or don't know how to do it, it'd be an odd job to setup one that doesn't suit their configuration.

Code:
iptables -L
will tell you if the firewall has some rules. If you clear the firewall with Firestarter it effectively just removes (flushes) all iptables rules. After that the above list command should not give any rules. When you add some, the above command shows them.

With Firestarter you can create iptables rules and "save" them, and when you boot they are loaded -- you can choose whether Firestarter is used to load them to iptables, or iptables itself. The result is just the same, so no matter which one you use. Firestarter does not need to be run manually or be visible after rules are created, it's merely a tool to edit the rules. You can do the same job with userspace command iptables and reading the man-page should give somekind of picture on how it's done; iptables.org tells more.
Code:
man iptables
Very well explained...Now I get it!

Thanks for the input
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Firewalls VS Hardware Firewalls metallica1973 Linux - Security 7 03-17-2006 02:21 PM
firewalls anyone? BajaNick Linux - General 0 02-05-2004 09:08 PM
Firewalls matt3333 Linux - Software 4 07-03-2003 10:53 PM
Linux Firewalls [iso firewalls] yoogie Linux - Networking 3 01-28-2002 06:56 PM
Firewalls Alejandro Aguilera Vega Linux - Networking 1 03-02-2001 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration