Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I run nmap from my Ubuntu workstation Tor ports are shown (as closed) on our server.

Starting Nmap 5.21 ( http://nmap.org ) at 2013-03-12 10:22 CDT
Nmap scan report for xx.xx.xx.xx
Host is up (0.062s latency).
Not shown: 985 filtered ports
PORT     STATE  SERVICE
20/tcp   closed ftp-data
21/tcp   open   ftp
80/tcp   open   http
443/tcp  open   https
2020/tcp open   xinupageserver
3306/tcp open   mysql
9000/tcp closed cslistener
9001/tcp closed tor-orport
9002/tcp closed unknown
9003/tcp closed unknown
9009/tcp closed unknown
9010/tcp closed unknown
9011/tcp closed unknown
9040/tcp closed tor-trans
9050/tcp closed tor-socks

These ports are not displayed in an nmap originating from redhat:

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2013-03-12 09:42 CDT
Interesting ports on mugglenet.com (xx.xx.xx.xx):
Not shown: 1674 filtered ports
PORT     STATE  SERVICE
20/tcp   closed ftp-data
21/tcp   open   ftp
80/tcp   open   http
443/tcp  open   https
2020/tcp open   xinupageserver
3306/tcp open   mysql

I know that the systems are running different versions of Nmap, do newer versions of nmap scan common Tor ports by default?

share|improve this question
1  
How are you running nmap and can't you run the same version of nmap on each server? –  Oli Mar 12 '13 at 15:41

1 Answer 1

Probably Tor is not running on redhat(server).

Check this from server side:

# [ -z "$(pidof tor)" ] && echo "No Tor" || echo "Tor pid is: $(pidof tor)"

Thereafter, look at firewall rules, iptables:

# iptables -nL | grep 9001
ACCEPT     tcp  --  0.0.0.0/0     0.0.0.0/0   tcp dpt:9001 state NEW

If you see the same, port is open. And this is kind of mystic.

If you see:

REJECT     all  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:9001

Then port is closed. This is your case must be.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.