Is it safe to connect a computer running a freshly installed ubuntu desktop edition directly to the internet? Or do I need to actively configure a firewall before connecting it?
feedback
|
|
You can tell what the currently running firewall rules are by running:
If this doesn't print anything, which it doesn't on my recently installed Ubuntu 10.10 system, then no firewall is in place. Do you absolutely need a firewall? Probably not, particularly if you keep up to date with software updates. However, I would recommend enabling it. The tool you probably want to use is called "ufw", and you can enable it with:
Once you do that, the
This would be if you wanted to be able to access the web server on your machine. For most users on a workstation, the default setting will be good. | |||
|
feedback
|
|
I think it is safe enough. Though firewall doesn't run by default like Windows, but Linux/Unix system always requires superuser/root permission to make change to its system, e.g. opening a network port or even just installing new software. You don't need firewall as long as your OS (whether it's Windows or Linux) doesn't open up network ports which has security holes or backdoor. Windows needs personal firewall because there are so many malicious software out there that will opening up malicious backdoor ports once it is installed, so firewall is there to act as a protection against that. | |||||
feedback
|
|
No it categorically isn't safe! Sure, if an OS has no holes then it would be fine as Ratanachai says, however all operating systems and applications have holes. And although Microsoft operating systems are the most targeted, a standard Ubuntu install has vulnerabilities that are known, as well as other unknown ones (probably) and depending on the applications you run you could have a large number of possible vulnerabilities which can be exploited if your machine is not firewalled from the Internet. You should always build your OS in as secure an environment as you can - so if you are downloading packages from the Internet, at least firewall it so you are only getting responses, not direct targeted scans/exploits etc. Once you have installed, then harden your platform - follow all security advisories and patches, turn off all unneeded services and lock down access (ie deny root access from remote) That will at least leave you with a basic level of security. | |||
|
feedback
|