Proxychains, Tortunnel, Privoxy: cannot connect() to port

Posted by Benjamin on Server Fault See other posts from Server Fault or by Benjamin
Published on 2010-06-02T08:43:49Z Indexed on 2010/06/02 8:56 UTC
Read the original article Hit count: 311

Filed under:
|
|

Hi all,

I'm trying to do an nmap scan through tor using tortunnel, privoxy and proxychains like explained in the following video: http://vimeo.com/6238958

I'm getting rather weird results. I can successfully perform any SYN scan on any port. However as soon as I try to do connect() scans, proxychains cannot connect itself to all ports.

In other words, I can perform connect() scans to port 80: proxychains nmap -P0 -A -sV www.zzz.com -p80

but not port 21: proxychains nmap -P0 -A -sV www.zzz.net -p21

I get the following error:

Starting Nmap 4.62 ( http://nmap.org ) at 2010-06-02 08:34 UTC
ProxyChains-2.1 (http://proxychains.sf.net)
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21
random chain (1):....127.0.0.1:5060....can't connect to..113.I2.1W1.YY:21

My only guess would be that the exit node I'm using does not allow connections to port 21. Would that be correct? How could I fix it?

Thanks for your time.

© Server Fault or respective owner

Related posts about nmap

Related posts about tor