LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-29-2009, 10:13 AM   #1
adhinsley
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Smile Do I need a firewall and virus protection for Ubuntu?


I am really new to Ubuntu and wonder if it needs protection like XP does? In XP I have Kaspersky Internet Security, is there an equivalent in the world of Ubuntu?
 
Old 04-29-2009, 10:15 AM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,064

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
you shouldn't need either firewall or antivirus in Ubuntu, but if unsure I think Ubuntu has a firewall app called "ufw", look in synaptic...
 
Old 04-29-2009, 10:18 AM   #3
adhinsley
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Synaptic?

Thanks but I am REALLY new!! What is synaptic?
 
Old 04-29-2009, 10:43 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by adhinsley View Post
Thanks but I am REALLY new!! What is synaptic?
its the graphical package-manager to install software from the repositories.
i think you may open it from the panel>system>administration.
then you`ll have to enter your root password (in debian, in ubuntu it might be your users password). just have a look at it, it might take a bit to get used to it, but its quite simple/self-explaining.
i haven`t got a firewall and no antivirus. seems to work fine.
(i think one graphical firewall is called watchdog or guarddog,
just enter firewall in the synaptic-search entry and you should find some)
greetings

Last edited by j1alu; 04-29-2009 at 10:46 AM.
 
Old 04-29-2009, 10:46 AM   #5
cloud9repo
Member
 
Registered: Oct 2008
Location: Middle TN
Posts: 134

Rep: Reputation: 19
Quote:
Originally Posted by adhinsley View Post
I am really new to Ubuntu and wonder if it needs protection like XP does? In XP I have Kaspersky Internet Security, is there an equivalent in the world of Ubuntu?
In the Upper Left, select "System...Administration...Synaptic Package Manager"

Then, within synaptic, select "Reload..." on the far left.

The two programs I use are:
Firestarter which is a firewall
clamav which is anti virus.

Also, selecting within synaptic "Mark all upgrades..." will get you the latest security fixes.
 
Old 04-29-2009, 10:54 AM   #6
dandart
Member
 
Registered: Dec 2005
Posts: 34

Rep: Reputation: 18
Ubuntu needs a firewall, if only to keep intruders from trying to hack you. Though it has less exploits, there are still some that crop up now and then.

ufw should handle your firewall problems out of the box. It is set up to block all connections from the outside and allow all connections from the inside by default. If you want something different and configurable, install firestarter, it is easy and intuitive.

As for anti virus, Linux doesn't get viruses :-P It's far too secure by default. But Linux gets "rootkits". If you were to download some dodgy piece of software off a dodgy site you might get one but now software is located in your repositories which are automatically checked, that's what Add/Remove and Synaptic are for, so you shouldn't need to download stuff off other places. There are rootkit checkers around but are quite difficult to use, but a firewall should be just fine if you just install out of the repositories.

If you are sharing your connection with a computer with a proprietary system (ie windows or osx) then you might want to have an antivirus to stop the viruses getting them.

Hope that helps
Cheers
Dan
 
Old 04-29-2009, 11:26 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,504

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
Quote:
you shouldn't need either firewall or antivirus in Ubuntu
Quote:
As for anti virus, Linux doesnn't get viruses :-P
There are viruses for Linux, and people who say they don't exist are just stupid, and ignoring reality.
The more popular linux will get, the more the chance viruses will apear.
It is recommended and common sense to use a firewall, rootkit checkers, and a virusscanner, and to secure your system by disabling unneeded services.

Last edited by repo; 04-29-2009 at 11:51 AM.
 
Old 04-29-2009, 12:06 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,298

Rep: Reputation: 205Reputation: 205Reputation: 205
For clamav also install clamtk it's a graphical frontend for clamav.
 
Old 04-29-2009, 08:22 PM   #9
joeseph0404
LQ Newbie
 
Registered: Apr 2009
Location: St. Louis, MO
Distribution: Ubuntu of any kind :)
Posts: 17

Rep: Reputation: 1
Ideally, programmers who write malicious software aim to have the biggest target audience possible. This is why most viruses are written for windows - simply because more people use it than any other single operating system in the world. There are viruses for linux (just like windows and macintosh) but there are generally much fewer than other distributions. The viruses are said to be more challenging to get because they usually cannot download and install themselves the same way they can in windows, so they must use other strategies.

I actually don't use any firewall software. When I forward ports through my router, I only enable two or three ports to be open. Also, my router (like most routers) will not respond to a WAN ping. This combined with the fact that the su program purposely takes several seconds to reject a password makes my security relatively stable.

I have never used any kind of rootkit checkers/virusscanners to remove malware (although I have used them to check for it) and I have never been affected by any kind of malicious software. One of my current machines have been running the same version of Ubuntu for three years.

I hope my personal experiences help you in your decisions.
 
Old 04-29-2009, 08:42 PM   #10
OrangeCrate
LQ Newbie
 
Registered: Apr 2009
Location: USA
Posts: 12

Rep: Reputation: 1
Quote:
Originally Posted by adhinsley View Post
I am really new to Ubuntu and wonder if it needs protection like XP does? In XP I have Kaspersky Internet Security, is there an equivalent in the world of Ubuntu?
It seems that I need to make two posts to be able to give you a link. Here's the first one, look for my comment and link in the next post...
 
Old 04-29-2009, 08:44 PM   #11
OrangeCrate
LQ Newbie
 
Registered: Apr 2009
Location: USA
Posts: 12

Rep: Reputation: 1
This is a great tutorial on Ubuntu for new users. It is written by asiyu, one of the Moderators on the Ubuntu forums.

Here is a discussion on security to get you started...

http://psychocats.net/ubuntu/security
 
Old 04-29-2009, 09:06 PM   #12
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
its from the link added by OrangeCrate, but i`ve read the same in different essays.
Quote:
By default, Ubuntu ships with no open ports on public interfaces. In other words, a "port scan" would show all closed ports, nothing open. As a result, putting up a firewall would provide no more security than not putting one up. Remember that open ports provide services that hackers can connect to, and only if they can connect to these services can they be potentially abused and exploited.
so might one explain to me why one does need a firewall and why that isn`t being adviced in the magazines, wikis and books i read?(as i don`t know i write "i`m fine" instead of "you don`t need one")
thanks in advance

Last edited by j1alu; 04-29-2009 at 09:40 PM.
 
Old 04-29-2009, 09:37 PM   #13
OrangeCrate
LQ Newbie
 
Registered: Apr 2009
Location: USA
Posts: 12

Rep: Reputation: 1
The need for a firewall and virus protection has been, and continues to be, a hotly discussed topic in forums. There are strong opinions both ways. Here's another highly regarded source of information on Ubuntu security, that can help a person to make an informed decision:

http://ubuntuforums.org/showthread.php?t=510812

(I personally don't make a recommendation to users either way. It's totally up to them, what they want to do...)

Last edited by OrangeCrate; 04-29-2009 at 09:39 PM.
 
Old 04-29-2009, 09:49 PM   #14
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
yep, but on what i do i think:
as long as i don`t know how a firewall works/what to do it doesn`t make it better if i tweak around with it.
i ran bout a year without antivirus, then installed one: no viruses found; and i removed it again (as "each addtitional software is a security risk, especially one which is allowed to scan the complete fs").
thanks for the following link and greetings
 
Old 04-29-2009, 10:45 PM   #15
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,280

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Basically, most firewalls eg iptables settings focus on incoming connections.
If you know all the services you've got listening and you don't mind/care who connects or how often etc, then you don't need a firewall.
If you do care who connects, you can use a firewall and /etc/hosts.allow, /etc/hosts.deny to limit that.
You can also use fail2ban to limit how often.
It can also act as a failsafe to protect you if you accidentally start a new service listening. Nobody will be allowed to connect if you have a tight firewall, until you open that port.
Similarly for outbound connections and relaying (port fwding).
 
  


Reply

Tags
internet, protection, security, virus


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Virus Protection With F-PROT Antivirus On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 09-24-2007 02:10 PM
LXer: Virus Protection With AVG Antivirus On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 09-12-2007 06:21 PM
virus protection? jasonsexton Ubuntu 4 09-19-2006 02:49 PM
Setting up a Debian proxy with firewall and virus protection ghanalinux Linux - Security 1 06-30-2005 09:43 AM
BEST firewall and virus protection for Linux sschreiner72 Linux - Software 8 02-01-2004 11:43 AM


All times are GMT -5. The time now is 06:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration