LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-13-2004, 03:43 PM   #16
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50

Someone sad to me "Linux can be the most secure system of them all, but also the least secure. Everything depends on the user".

This is somewhat true and I use a firewall just to close all my ports except for SSH-port 22 out to my school.

You can play with ports and such with "iptables" (read man) and you should also check out /etc/hosts.allow and /etc/hosts.deny, they can be really handy. :)

/MezzyMeat
 
Old 10-13-2004, 06:51 PM   #17
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
As of right now, I have a D-Link router hardware firewall. (Exact model is DI-604 if you are interested.) On security tests (Shields up and Symantec), the router has been pretty effective at stopping things from getting through to me. However, on the flipside, its really not good at all at checking whats coming out of the network. For instance, if someone were to hijack my computer with a trojan or attempt to steal personal information via setting up some sort of program on my computer that would relay information back to the maker of the program, all the info would most likely get past my hardware firewall. I think that I may need to set up a firewall to check keep a tab on whats flowing out of my computer as well as what is flowing in. Am I just being paranoid or does any of this sound reasonable?

Last edited by Gormless; 10-13-2004 at 06:53 PM.
 
Old 10-14-2004, 06:33 AM   #18
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
hardware firewalls work because they are routers that server many machines with only one ip address. is a new unrelated and unestablished packet arives, the firewall doesnt know which machine to re-direct it to.

provided you do no have port forwarding, its unlikely anyone can get into your machine.

so.... the only way i can see some1 getting into your system...

1)trick you into viewing a website they own so they can get info on what browser you are running.
2)assuming a buffer overflow exploit exists... fine one, apply it to their site, then trick you into viewing it again.
3)the overflow expoloit virii would then need to be created without even knowing anything about what programs or servies you are running, and made to gain root access.
4)it would then need to find a way to steal your firewall password (keylogging ?) so it can setup port forwarding and open a back door.

i think this is as secure as you are going to get.
besides. if the virii got to #3, it would turn off your iptables firewall easy.

your being paranoid in my opinion.,
 
Old 10-14-2004, 08:07 AM   #19
flashingcurser
Member
 
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 32
One side note about firewalls: They do NO good if

1 A port is open/forwarded (most likely because you need it for a useful service)

2 The service/program bound to that port is exploitable


Point is-- make sure you software is up to date!



I agree with the above statements about a hardware firewall, A hardware firewall should be your first line of defense. Your second line of defense should be a good software firewall (like iptables or sygate for windows).
 
Old 10-15-2004, 08:18 PM   #20
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
i think this is as secure as you are going to get.
besides. if the virii got to #3, it would turn off your iptables firewall easy.

your being paranoid in my opinion.,

Ok then....lol I'll just sit back, relax, and trust in my router firewall.
 
Old 10-17-2004, 08:57 PM   #21
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Just switched to Fedora Core 2 and enabled its firewall. So now I have two active barriers to my LinuxBox. Whohoo!
 
Old 10-17-2004, 11:37 PM   #22
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
i think the quote is... "Those who do not understand unix are doomed to re-create it poorly for all eternity"
 
Old 10-19-2004, 02:45 PM   #23
Gormless
Member
 
Registered: Oct 2004
Distribution: Fedora Core 2, Knoppix
Posts: 105

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by qwijibow
i think the quote is... "Those who do not understand unix are doomed to re-create it poorly for all eternity"
Well said...lol!
 
Old 10-23-2004, 08:52 PM   #24
TenEighty
Member
 
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59

Rep: Reputation: 15
I'm using Slackware 10.0 and it doesn't seem to include a firewall like Mandrake. I also blew all my disposable cash (plus lots of non-disposable) on the new computer (one thing led to another and before I knew it...) and so I won't be buying a hardware firewall any time soon.

So, what are good free firewalls for linux. I checked out Smoothwall, but it appears that it will only turn my only machine into a dedicated hardware firewall. I'm about to try Firestarter. Are there other I should consider? Some more secure, more features?

Thanx.
 
Old 10-23-2004, 10:26 PM   #25
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Guarddog is one option/alternative :

http://www.simonzone.com/software/guarddog/
 
Old 10-24-2004, 08:22 AM   #26
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by TenEighty
I'm using Slackware 10.0 and it doesn't seem to include a firewall like Mandrake. I also blew all my disposable cash (plus lots of non-disposable) on the new computer (one thing led to another and before I knew it...) and so I won't be buying a hardware firewall any time soon.
Your distribution does include a mechanism used to build firewalls. It's called iptables. Mandrake (and other 'easier' distros) have tools that make such building easier. In your case the easiest solution will be to search the forum for 'iptables scripts'. There are many examples here, for different situations. You can choose one that fits your requirements best (and probally needs some modifications) and use it in your system (what usually means just to add the script to your starting ones).
 
Old 11-01-2004, 10:27 PM   #27
TenEighty
Member
 
Registered: Oct 2004
Location: Vancouver, B.C., Canada
Distribution: Kubuntu
Posts: 59

Rep: Reputation: 15
Okay, so I seem to understand now... Firestarter and Guarddog, both of which I have now tried, are GUI interfaces for iptables which is included with Slack in the first place. Okay.

I had a problem with firestarter hanging when I used ShieldsUP at GRC.com to scan my computer, thought it scored nearly perfect. I installed Guarddog and it seems to work a little better, and there's a lot more flexibility with individual protocol permissions.

??
I was wondering if program control was an issue in Linux, such as Zone Alarm in, um, windows... where individual programs are granted access to the internet, and the user is notified if a new or altered program tries to connect.
??
 
Old 11-01-2004, 11:03 PM   #28
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
Quote:
??
I was wondering if program control was an issue in Linux, such as Zone Alarm in, um, windows... where individual programs are granted access to the internet, and the user is notified if a new or altered program tries to connect.
??
this is called a personal firewall, and asfar as im aware, is not available in linux.

Iptables deals only in network traffic... all it knows about traffic is whats in the IP packet... Ports, type of service, source and destination IP's, but now what porgram generated the traffic.
 
Old 11-02-2004, 09:11 AM   #29
toddnappi
LQ Newbie
 
Registered: Oct 2004
Location: NJ
Posts: 16

Rep: Reputation: 0
Wow! No one mentioned the linux hardware firewall... www.smoothwall.org. It has an extremely dedicated following. You do need an old computer, though. Check it out.
 
Old 11-02-2004, 11:27 AM   #30
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
guarddog and firestarter do the same thing linux as zone alarm for windows. Both keep out unwanted traffic. Also, make sure that only the services you need are enabled, you only httpd if you running a server. Do a search here for more info.
 
  


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
Help needed with IPCop Firewall and active FTP Damchi Linux - Newbie 5 11-17-2005 11:08 AM
Old pc as firewall - help needed mosquito_dk Linux - Security 14 03-16-2005 12:50 PM
Help Needed with Firewall Script extremebfn Linux - Networking 0 09-04-2004 03:56 PM
Bridging firewall in FC2-Help needed. welwitchia Linux - Security 4 08-12-2004 04:22 PM
firewall..... make it simple needed slack66 Linux - Security 4 10-02-2003 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:40 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