PDA

View Full Version : [ubuntu] Is there a way to 'test' your O/S?



listerdl
February 23rd, 2009, 11:09 PM
Is there a way to see if any ports are open? (I think they are all closed by default?)

I have firestarter installed but I am just curious to know if there is something i should do to prevent a security breach or am i just being paranoid?

HermanAB
February 23rd, 2009, 11:12 PM
Run the scan from another machine:
$ sudo nmap -sT -P0 -v -F 1.2.3.4

However, don't worry about it. Relax and enjoy you nice new secure Ubuntu system.

Cheers,

Herman

Gouki
February 23rd, 2009, 11:15 PM
You can also use Nessus[0] to perform a local test on your computer, and makes changes based on the report it generates.

[0] - http://www.nessus.org/nessus/

bodhi.zazen
February 23rd, 2009, 11:33 PM
I like :


lsof -i -n -P

Or scanning (nmap) from a remote computer.

xzero1
February 24th, 2009, 01:42 AM
See shields up on http://www.grc.com/default.htm

bodhi.zazen
February 24th, 2009, 01:57 AM
Shields up is not such a good tool. It will scan your router but that is not the same thing as HIDS or NIDS.

cdenley
February 24th, 2009, 07:33 PM
I like checking for listening services instead of port scanners. You shouldn't need a firewall to prevent open ports. Fix the problem at the source!


sudo netstat -tlnp

If you want to test your router, then you need an external port scanner.

bodhi.zazen
February 24th, 2009, 07:48 PM
You shouldn't need a firewall to prevent open ports. Fix the problem at the source!

Exactly, this is why we need to ask why and howsomeone wants to use a firewall.

It seems in other OS unnecessary services may be running and people are advised to use a firewall. They do not seem to understand what a firewall does or why they need it, they just run it.

There are valid reasons to run a firewall, for example one may wish to limit connections to http, ftp, or ssh. yes these services can also be configured without a firewall.

At the end of the day, a firewall is a tool and to be used properly one needs a little understanding of what they can do with a firewall, a basic understanding of services, and how it is used.

Roofdaddy
February 25th, 2009, 02:29 AM
At the end of the day, a firewall is a tool and to be used properly one needs a little understanding of what they can do with a firewall, a basic understanding of services, and how it is used.

http://www.interhack.net/pubs/fwfaq/

Will this help ?[-o<