View Full Version : i dont need antivirus do i need a firewall.
wlraider70
September 7th, 2009, 10:55 PM
since everything i see tells me that i don't really need an anti-virus.
Do I need a firewall. If I do is there a software firewall that will work?
amauk
September 7th, 2009, 11:27 PM
Linux has a firefall built-in,
it's called iptables
Linux, by default, runs with all ports closed.
Unless you're running server software, you do not need to do anything.
If you are running server software (SSH, HTTP, FTP, etc.) then it's a good idea to restrict open ports to known external IP addresses
MC707
September 7th, 2009, 11:29 PM
iptables is a very powerful tool. But you know which one is more secure? Common sense :P and good+secure passwords. :) linux is a pretty secure OS in itself, too.
running_rabbit07
September 7th, 2009, 11:33 PM
Ubuntu has a simple firewall program called Firestarter, which can be installed via Synaptic Package Manager or using the following code. Jus copy and paste it into terminal. sudo apt-get install firestarter
mikewhatever
September 7th, 2009, 11:41 PM
It's worth mentioning that Firestarter is just a graphic interface for managing iptables, same as gufw. Both shouldn't be needed for a general home user.
running_rabbit07
September 7th, 2009, 11:43 PM
It's worth mentioning that Firestarter is just a graphic interface for managing iptables, same as gufw.
I learn something new every day. That is good to know.
Sgt-Slyde
September 8th, 2009, 01:33 AM
I personally install Firestarter on all my home-use boxes as the GUI is easier to talk people through when they need to make changes. Most of the changes I've had to do is opening ports to allow LAN file sharing among multiple computers on the same home network. As amauk wrote, Linux runs with ports closed - the GUI Firestarter makes it easier/safer to selectively open the ports you need.
lisati
September 8th, 2009, 01:39 AM
Opinions vary on the need for anti-virus. If you're likely to use your Ubuntu box to interact with Windows boxes, it won't hurt to have some means of avoiding passing on viruses on to the Windows boxes in place.
sasho_zl
September 8th, 2009, 01:57 AM
Firestarter is pretty much out of date. It s not supported for years.
You can install gufw from synaptic. Even if you don't run any listening services it wont hurt to turn your firewall on because you allready have it in your system. It has one advantage - if configured the right way it will prevent people and mallware scripts from pinging your PC and it will significally increase the time for scanning your ports.
And one more thing - the linux kernel firewall is NETFILTER. Iptables is just another tool for configuring it.
HermanAB
September 8th, 2009, 10:45 AM
Linux pretty much *IS* a firewall. Most commercial firewalls run Linux. That is why you don't really need to add a firewall in front of a Linux machine.
Firewalls are really mostly a Windows phenomenon, since on a Windows system, you never know which ports are listening to what, so an external band-aid is required in a (ultimately futile) effort to make it safe.
sasho_zl
September 8th, 2009, 02:07 PM
Linux pretty much *IS* a firewall. Most commercial firewalls run Linux. That is why you don't really need to add a firewall in front of a Linux machine.
Firewalls are really mostly a Windows phenomenon, since on a Windows system, you never know which ports are listening to what, so an external band-aid is required in a (ultimately futile) effort to make it safe.
I couldn't agree more. Windows is a system that never should have been plugged to a network. It was never meant for that and that is why security holes from the first versions are still exploitable today. Simply:
Windows + Internet = BAD
On the other side - GNU/Linux and Unix - they were born in the network.
Proof of concept: http://lists.grok.org.uk/pipermail/full-disclosure/2009-September/070568.html (http://lists.grok.org.uk/pipermail/full-disclosure/2009-September/070568.html)
:lolflag:
dk06
September 8th, 2009, 03:42 PM
You already have a good software firewall (iptables)
-&-
I highly recommend a separate hardware firewall (router)
--Cisco/Linksys and SMC make quality routers...Netgear is good too.
Defense in depth is good practice and many hardware firewalls do use a linux kernel, I just prefer a separate box to do the majority of my filtering.
(kinda like a wall around the castle, yeah...the gate works but why not spend the $35 for the wall.)
wlraider70
September 8th, 2009, 03:52 PM
on an a side note, i saw that in fire starter you can bridge network connections, does that work?
phillw
September 8th, 2009, 05:50 PM
Firestarter is pretty much out of date. It s not supported for years.
You can install gufw from synaptic. Even if you don't run any listening services it wont hurt to turn your firewall on because you allready have it in your system. It has one advantage - if configured the right way it will prevent people and mallware scripts from pinging your PC and it will significally increase the time for scanning your ports.
And one more thing - the linux kernel firewall is NETFILTER. Iptables is just another tool for configuring it.
You can't 'turn a firewall on' in linux - linux IS a firewall - users only turn bits of it OFF. !!!
FireStarter is not so much 'out of date' as got to the point where you cannot improve on perfection. That being a nice easy way to configure up IP tables, without having to manually edit them.
ALL 'firewalls' configure up IP tables - firestarter does it very well, if you are running a full blown server, then you can look at Shorewall.
Then again, if you want to go down that route you're going to need this ...
http://ubuntuforums.org/showthread.php?t=510812
IMHO, firestarter will do for you linking up computers at home - as noted earlier, most routers have decent firewalls, so you can rest in peace.
If you'd like to delve into how NETFILTERS uses IPtables to 'talk' to it, there documentation site is here.
http://www.netfilter.org/documentation/index.html
Phill.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.