LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 12-11-2007, 06:10 AM   #1
lmich391
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
Do you need a firewall?


Hello,

I got my first Linux machine this past weekend. I am waiting on my modem to get here. It has Slackware on it. I asked the guy I bought it from if I needed a firewall and he said no. I was just checking. I am used to Windows where you have to have a firewall, ani-virus, and adware. If I do need a firewall which one? Thanks for your help.



Michael
 
Old 12-11-2007, 06:40 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,561
Blog Entries: 54

Rep: Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927Reputation: 2927
Quote:
Originally Posted by lmich391 View Post
I got my first Linux machine this past weekend.
Congrats!


Quote:
Originally Posted by lmich391 View Post
I asked the guy I bought it from if I needed a firewall and he said no.
Then he's full of it. (If your box comes with Linux preinstalled I wouldn't trust his installation. I would make a backup and then install over it as soon as I got it.)


Quote:
Originally Posted by lmich391 View Post
If I do need a firewall which one?
For all the Linux kernels there is just one firewall and that's all you need to know. (It's called "The Netfilter Framework" and it is "baked" into the kernel or gets loaded as modules.) For kernel series 2.4 and 2.6 the interface is called "iptables", but that is strictly commandline, no GUI. The interface is used to manage "rules". Rules manage (block, allow, do funny stuff, etc, etc) traffic to and from your networked machine. Rules can be loaded by running a script, and if you search LQ you'll find a lot of standard and custom firewall scripts. If you are not yet capable of working the CLI you may want to install a GUI to build and manage rulesets.

Just read around a bit before you do stuff.
LQ has a lot of threads about firewalling to learn from.
 
Old 12-11-2007, 06:47 AM   #3
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Yup, I agree with unSpawn - especially the part about the wipe and re-install.

A firewall gives you control over which packets you want to allow in/out of your box/network.

This type of control is an extremely good idea - regardless of operating system.

Last edited by win32sux; 12-11-2007 at 06:53 AM.
 
Old 12-11-2007, 07:53 PM   #4
lmich391
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Original Poster
Rep: Reputation: 0
How hard is it to make a backup and re-install it?
 
Old 12-11-2007, 09:15 PM   #5
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by lmich391 View Post
How hard is it to make a backup and re-install it?
Depends on how much experience you have. If you're just getting started with GNU/Linux, perhaps Slackware wouldn't be the best choice anyways. I'd probably go with a more newbie-friendly distro like Ubuntu. You could boot the Ubuntu CD (it's a live CD) and play around with it for a while. Once you know all your hardware and stuff works fine you could proceed to install. As for backing the guy's install first, maybe you could simply hook-up the drive to a Windows machine and run a backup application you are already familiar with? Something like Ghost or whatever. Like I said, I'm not sure how comfortable you are working with GNU/Linux at this point. There's definitely GNU/Linux tools like Mondo Rescue which could be used.

Last edited by win32sux; 12-11-2007 at 09:17 PM.
 
Old 12-19-2007, 07:06 PM   #6
Txabuzer
LQ Newbie
 
Registered: Aug 2005
Location: Lake Forest, Ca.
Distribution: PCLinuxOS
Posts: 24

Rep: Reputation: 15
"If you're just getting started with GNU/Linux, perhaps Slackware wouldn't be the best choice anyways. I'd probably go with a more newbie-friendly distro like Ubuntu"

I second that but wanted to elaborate a little, theres also Kubuntu witch is Ubuntu but uses the KDE window manager and might be a little more familiar to you, coming from windows.

"How hard is it to make a backup"

Both Gnome (Ubuntu window manager) and Kubuntu (KDE window manager) let you "drag and drop" files that you would want to save ie personal documents emails ect. If you just got the machine and havent put anything on it your self, you probably dont need to save anything.
There are alot of other "Distro's" like ubuntu and kubuntu out there to try, some of the more noobie friendly ones are PCLinuxOS my personal favorite, Mandriva, SuSE, Fedora witch uses SElinux as its firewall, Knoppix, Sabayon very cool looking with all the 3D stuff on by default and many others, I highly recommend trying a few of the different flavors linux has to offer. Just be careful distro hoping is like geek crack, yes my name is John and I'm an --addict
 
Old 12-25-2007, 06:18 AM   #7
dv502
Member
 
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
Here is a very popular firewall for linux called firestarter

http://www.fs-security.com/

It's a front end for iptables
 
Old 12-30-2007, 09:56 AM   #8
jag2000
Member
 
Registered: Sep 2003
Location: Ohio
Distribution: Ubuntu 12.04
Posts: 314
Blog Entries: 2

Rep: Reputation: 31
for my pc which has 1 static ip bypassing my router i use firestarter. other pc is ubuntu has firestarter plus sonicwall firewall. wifes pc is windows behind sonicwall firewall
 
  


Reply


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
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 11:09 PM
using a router with firewall, local firewall waste? Michael_aust Linux - General 1 03-26-2006 09:02 AM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 10:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 01:32 PM


All times are GMT -5. The time now is 01:59 AM.

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