LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2009, 04:16 PM   #1
donniemack1
LQ Newbie
 
Registered: May 2009
Posts: 17

Rep: Reputation: 0
Is there a reason to run a firewall with Linux


I am running Ubuntu 9.04. I have a windows xp pro laptop that accesses the internet through a wireless router connected to my cable modem. Is it necessary to run AV or install a firewall? I do not run a server of any kind and receive email through gmail using the Thunderbird email client.

Thanks in advance for your help.
donniemack1
 
Old 05-11-2009, 04:21 PM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
So long as you are not running as root you do not need to run an anti-virus. However if you want then you can run ClamAV.

Also there are firewalls in most wireless routers so you should be good there. However you have more control over the firewall under GNU/Linux
 
Old 05-11-2009, 04:29 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by donniemack1
Is it necessary to ... install a firewall? I do not run a server of any kind and receive email through gmail using the Thunderbird email client.
Your host-level firewall (iptables/netfilter) is already baked into the Linux kernel, so you wouldn't need to install anything even if you wanted to run one.

That said, if you do not have any services listening for connections on external interfaces, a firewall probably is not necessary.

Double check using:

# netstat -ltnup
 
Old 05-11-2009, 05:33 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by taxtropel View Post
So long as you are not running as root you do not need to run an anti-virus. However if you want then you can run ClamAV.
Viruses for linux are quite rare. But technically, anything that you download and run as a regular user can screw up all the files that are writable by your user.

If you operate as root then all files are vulnerable, including the files of *all* the rest of the users, but running as a user doesn't make you invulnerable by any means. It just limits the scope of the threat.

Quote:
Also there are firewalls in most wireless routers so you should be good there. However you have more control over the firewall under GNU/Linux
Having a firewall can be a good thing for a number of reasons, depending on how permissive the firewall on your router is. Mind that lots of programs can potentially open a port to the external world without you noticing it. For example, if you run mldonkey then ports 4000 (telnet), 4080 (http) and 4001 (GUI) will be exposed, besides the rest of ports that it uses to connect to the p2p networks. You might want to allow access to these ports only on local networks and not from the outside.

In other words: a server is not just "a web server" or an "ftp server". Lots of unix applications act as servers for one or another purpose and they are all -potentially- vulnerable. That's why having a default policy to drop all the connections from the outside is a good thing. Then you can just enable the ones you need. If your external firewall can do this then it's ok, if not, you definitely shouldn't run a machine connected to the internet without configuring an iptables script first.
 
  


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
is there a linux based firewall that can be run in a Windows xp x64 os? Shadowmeph Linux - Newbie 5 03-07-2009 03:25 PM
I run Fedora 9 and I boot from USB, how I run at startup Firewall and antivirus? gginis Linux - Software 3 06-08-2008 03:19 AM
BitTorrent Tracker Behaving Strangely When Run Through Linux Iptables Firewall tvynr Linux - Networking 0 04-07-2004 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

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