LinuxQuestions.org
Review your favorite Linux distribution.
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 06-09-2010, 08:57 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
Do I really need a firewall?


Just updated to slack 13.1 and KDE4.

I have no idea or the time to figure out how to use iptables from command line.

I had been using guarddog gui for iptables but it does not work with KDE4, neither does firestarter and the other front ends I have found are very complicated.

Is there a simple to use firewall utility program for iptables?

and

Do I really need a firewall?

Thanks...

Last edited by M$ISBS; 06-10-2010 at 07:30 PM.
 
Old 06-09-2010, 09:30 PM   #2
hilyard
Member
 
Registered: Jan 2010
Location: Inland PNW
Distribution: Lite | siduction
Posts: 291

Rep: Reputation: 66
@M$ISBS,
I found this GUI for iptables "firewall builder" -- http://www.kmyfirewall.org/.

Running the new Salix 13.1 with XFCE -- have you tried? It rocks!

Last edited by hilyard; 11-04-2010 at 05:39 PM.
 
Old 06-09-2010, 10:13 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Thanks for the link but it says its for 2.4 kernel only.

Last edited by M$ISBS; 06-09-2010 at 10:53 PM.
 
Old 06-09-2010, 11:25 PM   #4
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
Are you running any network service that you wouldn't want anyone "out" to have any kind of access to it?

If the answer is "no", then I don't see any reason to worry about firewalling.
 
0 members found this post helpful.
Old 06-10-2010, 02:58 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sparc86 View Post
Are you running any network service that you wouldn't want anyone "out" to have any kind of access to it?
If the answer is "no", then I don't see any reason to worry about firewalling.
That's the popular one-sided answer, yes. However 0) it's easy for people to forget to run a firewall after they *do* acquire services to run plus 1) this "answer" makes a SPOF of the device running a firewall (usually the cable or DSL router). Besides that a firewall serves more purposes than blocking traffic alone.
 
Old 06-10-2010, 07:29 PM   #6
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
My other system is just a single user desktop, not a server and mostly used for browsing the internet.

How hard is it to use/configure Iptables?
 
Old 06-10-2010, 11:55 PM   #7
sparc86
Member
 
Registered: Jul 2006
Location: Joinville, Brazil
Distribution: Debian, CentOS
Posts: 301

Rep: Reputation: 31
Quote:
Originally Posted by M$ISBS View Post
My other system is just a single user desktop, not a server and mostly used for browsing the internet.

How hard is it to use/configure Iptables?
What's the scenario? Do you have a DSL router or something? If yes, I wouldn't worry about firewalling, since most routers already do the filtering/NAT thing. I personally don't use any iptables rule in my desktops and never got in any trouble. Only use filtering at my gateway and that's all.

But if you are still interested in setting up a workstation firewall scheme, you should check this link: http://wiki.linuxquestions.org/wiki/..._a_workstation


Also a guide to build a basic firewall for a gateway: http://wiki.linuxquestions.org/wiki/..._a_gateway/nat
 
Old 06-11-2010, 06:35 AM   #8
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Yea, I have a DSL router but its really old.
Thanks for the links.

Last edited by M$ISBS; 06-11-2010 at 06:37 AM.
 
Old 06-11-2010, 05:27 PM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by M$ISBS View Post
Thanks for the link but it says its for 2.4 kernel only.
Does it? I couldn't see that stated anywhere, but there was mention of a version for Ubuntu/Gutsy and that shipped with a 2.6.22 kernel.
 
Old 06-12-2010, 04:45 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sparc86 View Post
I wouldn't worry (..) I personally don't use
This is the Linux Security forum. Subjective interpretations like "thinking", "guessing" and "worrying" have no place here and what you do personally is not relevant. Please keep in mind we like to see members deal with questions objectively, based on facts alone.
 
1 members found this post helpful.
Old 06-22-2010, 02:46 AM   #11
stell
LQ Newbie
 
Registered: Jun 2010
Posts: 6

Rep: Reputation: 0
@M$ISBS

I use this: http://connie.slackware.com/~alien/efg/ try it, it's very good!
 
Old 06-22-2010, 02:58 AM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by M$ISBS View Post
Yea, I have a DSL router but its really old.
Its age is irrelevant for present purposes. Its feature set and configuration are what counts. SOHO routers are being progressively dumbed down so old ones tend to have more features than new ones.

Are you using it as a router (if so, is it configured to do any port-forwarding?) or is it in bridged mode?
 
Old 06-22-2010, 03:15 AM   #13
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
For desktop applications in Linux I don't really need/use firewalls but if I will, I'd prefer to just filter outgoing connections instead of incoming. It just makes sense to filter incoming if your system is targeted by hackers but for defense against viruses / multi/universal-target trojans, I think outgoing is already enough since with applications like browsers/etc. vulnerabilities can never be guaranteed so it's just better to detect if your system is already breached instead of trying to defend it.

Edit: That is of course if you know how to make sure that your firewall will not be accessed or modified once a successful attack is made.

Last edited by konsolebox; 06-22-2010 at 03:16 AM.
 
Old 06-22-2010, 05:54 AM   #14
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by konsolebox View Post
(..) it's just better to detect if your system is already breached instead of trying to defend it.
This implies having default input chain DROP policies else you still have to set restrictions. Yes, people should use egress filtering but your opinion on egress filtering does not hold any valid reasons for not filtering ingress traffic: it "just makes sense to filter incoming" as it allows you to actively regulate, restrict, log and audit what traffic passes through instead of relying on what can turn out to be a SPOF.
 
1 members found this post helpful.
Old 06-22-2010, 06:09 AM   #15
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by unSpawn View Post
This implies having default input chain DROP policies else you still have to set restrictions. Yes, people should use egress filtering but your opinion on egress filtering does not hold any valid reasons for not filtering ingress traffic: it "just makes sense to filter incoming" as it allows you to actively regulate, restrict, log and audit what traffic passes through instead of relying on what can turn out to be a SPOF.
Honestly I can't really parse your message but never mind my post then. My idea was really just to myself anyway.. not general. To me it's just a bother filtering incoming traffic.. waste of processing, analysis.. what for anyway.. You'll still have direct interface with your client softs.. browsers etc. With desktop setups such as mine, effects of incoming connections are just the same anyway.. filtered or not.
 
  


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
pppoe-setup masquerade firewall vs custom firewall matters Slackware 12 03-06-2009 04:50 AM
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 10:09 PM
slackware's /etc/rc.d/rc.firewall equivalent ||| firewall script startup win32sux Debian 1 03-06-2004 09:15 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

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

All times are GMT -5. The time now is 01:22 PM.

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