Netcat

Hanspeter Spalinger tor at spahan.ch
Fri Jan 22 10:27:01 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 20.01.10 02:46, schrieb downie -:
> 
> Hi,
>  can anyone explain the Torify netcat instructions at
> https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO/Misc#NC
> please?
nc -n -X 5 -x 127.0.0.1:9050 <target_host> <target_port>

- From the nc man page on my system:
     -n      Do not do any DNS or service lookups on any specified
addresses, hostnames or ports.
     -X proxy_version
             Requests that nc should use the specified protocol when
talking to the proxy server.  Supported protocols are ``4'' (SOCKS v.4),
``5'' (SOCKS v.5) and ``connect'' (HTTPS proxy).  If the protocol is not
specified, SOCKS version 5 is used.

     -x proxy_address[:port]
             Requests that nc should connect to hostname using a proxy
at proxy_address and port.  If port is not specified, the well-known
port for the proxy protocol is used (1080 for SOCKS, 3128 for HTTPS).

> Neither the -X nor -x options exist in my version of nc.
Maybe your nc was compiled without proxy support? Where you got it from?
I have distant memories of me compile the gnu nc version once because I
had a weird implementation of netcat on my system.
http://netcat.sourceforge.net/
> 
> Thanks,
> GD
>  		 	   		  
> _________________________________________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
> http://clk.atdmt.com/GBL/go/196390706/direct/01/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAktZfXUACgkQpjmLjrU66/5JxwD/agF8pY7EEIBa36zUGi5HgfwE
qDA56je1QogWFkiwyK8A+QEKI1gu+MqPPd2H7e/ynps5R0EfkNxHCV6g/lP55Yzs
=dF2F
-----END PGP SIGNATURE-----
***********************************************************************
To unsubscribe, send an e-mail to majordomo at torproject.org with
unsubscribe or-talk    in the body. http://archives.seul.org/or/talk/



More information about the tor-talk mailing list