LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Do I really need a firewall? (https://www.linuxquestions.org/questions/linux-security-4/do-i-really-need-a-firewall-813248/)

M$ISBS 06-09-2010 08:57 PM

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... :)

hilyard 06-09-2010 09:30 PM

@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!

M$ISBS 06-09-2010 10:13 PM

Thanks for the link but it says its for 2.4 kernel only. :(

sparc86 06-09-2010 11:25 PM

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.

unSpawn 06-10-2010 02:58 AM

Quote:

Originally Posted by sparc86 (Post 3998499)
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.

M$ISBS 06-10-2010 07:29 PM

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?

sparc86 06-10-2010 11:55 PM

Quote:

Originally Posted by M$ISBS (Post 3999586)
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

M$ISBS 06-11-2010 06:35 AM

Yea, I have a DSL router but its really old.
Thanks for the links.

salasi 06-11-2010 05:27 PM

Quote:

Originally Posted by M$ISBS (Post 3998457)
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.

unSpawn 06-12-2010 04:45 AM

Quote:

Originally Posted by sparc86 (Post 3999768)
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.

stell 06-22-2010 02:46 AM

@M$ISBS

I use this: http://connie.slackware.com/~alien/efg/ :) try it, it's very good!

catkin 06-22-2010 02:58 AM

Quote:

Originally Posted by M$ISBS (Post 4000097)
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?

konsolebox 06-22-2010 03:15 AM

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.

unSpawn 06-22-2010 05:54 AM

Quote:

Originally Posted by konsolebox (Post 4011082)
(..) 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.

konsolebox 06-22-2010 06:09 AM

Quote:

Originally Posted by unSpawn (Post 4011225)
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.


All times are GMT -5. The time now is 10:30 PM.