Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It depends on who is doing the hacking. Since linux is not as widely used as windows, and due to the difference between root and user, it is more secure out of the box and not as much of a target as windows, so it gets attacked less.
As for the firewall, it's your lucky day. Linux already has a firewall built right into your kernel called iptables It probably came set up to deny all incoming and allow all outgoing when you installed mandrake and rh. If you would like to configure it (it's not difficult and it is extremely configurable) then look into something like shorewall or gShield.
Do I need firewall when use linux to surf net ?
Without exeptions, if your box is connected to an untrusted network, you do need a firewall. Be aware tho just *having* a firewall doesn't mean necessarily it is secure by default unless you have a default policy of "deny" or "drop" for inbound traffic.
is linux easily hacked ?
That depends on what services you are running, how they are protected and if they are updated if security issues are known.
Take a default RH 6.0 install with RPC, BIND etc etc, and you'll have root in no time, independant of your skills (but depending on your skills to find the right skiddie tools :-] ).
Since linux is not as widely used as windows, and due to the difference between root and user, it is more secure out of the box and not as much of a target as windows, so it gets attacked less.
Wrong assumptions. Linux is not more secure out of the box because of only privilege separation: it's not a "lazy man's OS" and you should put in some work to secure it. Linux will only be more secure out of the box it is installed with up to date apps, daemons not listening to world as default and proper access restrictions wrt configuration, TCP Wrappers, PAM and firewall. Also Linux is not attacked less because it's "not as widely used as windows". Linux usage *is* widespread (have a look at for instance Netcraft's surveys). Whatever their purpose, Linux servers are powerfull, configurable, and in some instances not well looked after. The ideal hideout to "do some work" for some people.
Without exeptions, if your box is connected to an untrusted network, you do need a firewall. Be aware tho just *having* a firewall doesn't mean necessarily it is secure by default unless you have a default policy of "deny" or "drop" for inbound traffic.
When I installed mandrake 9.1, it asked what services I would like to make avaiable to the internet. When I said none, it set up as default drop. This is all I was referring to.
Quote:
Wrong assumptions. Linux is not more secure out of the box because of only privilege separation: it's not a "lazy man's OS" and you should put in some work to secure it. Linux will only be more secure out of the box it is installed with up to date apps, daemons not listening to world as default and proper access restrictions wrt configuration, TCP Wrappers, PAM and firewall. Also Linux is not attacked less because it's "not as widely used as windows". Linux usage *is* widespread (have a look at for instance Netcraft's surveys). Whatever their purpose, Linux servers are powerfull, configurable, and in some instances not well looked after. The ideal hideout to "do some work" for some people.
True, you must put in the work. Patches and proper config are essential. However, for someone who is running two boxes (or at least a dual boot, look under his name) with 250 posts, this person should know that patches and updated software is essential. I probably should have said something, though.
I know about netcraft's surveys; when I said that linux is not as widespread, I meant desktop, which is true, and since I doubt this person is setting up a server, then that is the situation that applies to him/her.
When I installed mandrake 9.1, it asked what services I would like to make avaiable to the internet. When I said none, it set up as default drop. This is all I was referring to.
Np, one of the things I learned is that I usually need to give a reason why someone should do something and explain stuff in some detail because I can't assume the knowledge is there (and hardly anyone posts what/how they did something in detail to prove it), it allows them to make a decision themselves, and it benefits ppl who'll search LQ later on and read this thread.
However, for someone who is running two boxes (or at least a dual boot, look under his name) with 250 posts, this person should know that patches and updated software is essential. I probably should have said something, though.
I'm not attacking you, but post count != knowledge. One of our jobs as mods is to clear up stuff where we can. Stating the obvious is sometimes necessary.
I know about netcraft's surveys; when I said that linux is not as widespread, I meant desktop, which is true, and since I doubt this person is setting up a server, then that is the situation that applies to him/her.
Even tho a Linux/GNU box has been set up as a "desktop" box, in essence the whole underlying system *is* a server regardless of you wanting it or not: it's how Linux/GNU handles things. Server system = server responsabilities = server security.
I just reread my post, and I seem like I'm kinda pissed. Didn't mean to, I apologize. It was early in the morning and while I am still a relative newb, I didn't want to come off looking like a complete nimrod because I wasn't clear enough and just signed up (so I only have five posts or something.)
I just reread my post, and I seem like I'm kinda pissed.
Hmm. No, no need to apologize, you tried to explain your part, I mine. That's kewl to me, at least we try to make things clear...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.