Quote:
Originally Posted by lotuseclat79 Shields Up! is only a partial test - i.e. there are 65,535 ports and nmap tests them all. If they all are not stealthed, then you run the risk of making your computer become a target to the miscreants. |
I partially disagree with this. Shields Up! will test well-known ports, at least, that are exposed to the outside world. I mean it has to since it's a site that is external to your computer. nmap runs on your local computer so it will have access to more than an external computer would or could.
This is why I suggested running the netstat command. netstat DOES indicate which ports are bound to which IP addresses. Here is a sample from my Ubuntu system:
Quote:
tom@deathstar:~$ netstat -a | more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:ipp *:* LISTEN
tcp 0 0 localhost:31416 *:* LISTEN
tcp 0 0 deathstar.local:45823 cf-in-f17.google.co:www TIME_WAIT
tcp 1 0 deathstar.local:60347 basic-rank.go.dream:www CLOSE_WAIT
tcp 1 0 deathstar.local:32899 wf-in-f189.google.c:www CLOSE_WAIT
tcp 1 0 deathstar.local:46319 cf-in-f17.google.co:www CLOSE_WAIT
tcp 0 0 localhost:31416 localhost:37894 ESTABLISHED
tcp 1 0 deathstar.local:53263 my.opera.com:www CLOSE_WAIT
tcp 0 0 deathstar.local:45837 cf-in-f17.google.co:www ESTABLISHED
tcp 1 0 deathstar.local:55044 cf-in-f103.google.c:www CLOSE_WAIT
tcp 0 0 localhost:37894 localhost:31416 ESTABLISHED
udp 0 0 *:32768 *:*
udp 0 0 *:bootpc *:*
udp 0 0 *:mdns *:*
|
The "localhost:[port]" syntax means a process is running that is associated ONLY with the localhost interface on the indicated port. The "LISTEN" status means that process is listening on the specified port. So, the "localhost:ipp" entry means a process is listening on port 631 (the ipp port) only on the localhost interface. This is most likely CUPS.
The "*:[port]" syntax means a process is running that is associated with ANY IP address assigned to the computer on the indicated port. So, in my output above, a process is running that "bound" to all IPs assigned to my machine on the bootpc port (whatever port number that is). That process doesn't seem to be in a LISTEN state and I don't know if that means it will still be able to accept connections from external machines or not. This would be cause for concern, on my part.
This also gets to another aspect of Unix security that often gets overlooked: the ability or practice of processes to bind only to the localhost interface thereby allowing or receiving connections ONLY from processes contacting the listening process on the localhost interface. iptables would be great for blocking spoofed IP packets (where to AND from addresses are localhost).
I think his system is safe from external intrusion.
Peace...