This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: netcat lacks socks support?


Oh, for the first question, I run fedora core 4 at home and the netcat
program I installed can act as a socks client.  Here is the nc -h output:

nc -h
usage: nc [-46DdhklnrStUuvz] [-i interval] [-p source_port]
          [-s source_ip_address] [-w timeout] [-X proxy_version]
          [-x proxy_address[:port]] [hostname] [port[s]]
        Command Summary:
                -4              Use IPv4
                -6              Use IPv6
                -D              Enable the debug socket option
                -d              Detach from stdin
                -h              This help text
                -i secs         Delay interval for lines sent, ports scanned
                -k              Keep inbound sockets open for multiple
connects
                -l              Listen mode, for inbound connects
                -n              Suppress name/port resolutions
                -p port         Specify local port for remote connects
                -r              Randomize remote ports
                -S              Enable the TCP MD5 signature option
                -s addr         Local source address
                -t              Answer TELNET negotiation
                -U              Use UNIX domain socket
                -u              UDP mode
                -v              Verbose
                -w secs         Timeout for connects and final net reads
                -X proto        Proxy protocol: "4", "5" (SOCKS) or
"connect"
                -x addr[:port]  Specify proxy address and port
                -z              Zero-I/O mode [used for scanning]
        Port numbers can be individual or ranges: lo-hi [inclusive]

You can see the -X and -x options.  Here is the version info
rpm -qi nc
Name        : nc                           Relocations: (not relocatable)
Version     : 1.78                              Vendor: Red Hat, Inc.
Release     : 2                             Build Date: Wed 11 May 2005
03:41:43 AM PDT
Install Date: Fri 11 Nov 2005 01:15:39 AM PST      Build Host:
decompose.build.redhat.com
Group       : Applications/Internet         Source RPM: nc-1.78-2.src.rpm
Size        : 105413                           License: GPL
Signature   : DSA/SHA1, Fri 20 May 2005 12:42:16 PM PDT, Key ID
b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/nc/
Summary     : Reads and writes data across network connections using TCP or
UDP.
Description :
The nc package contains Netcat (the program is actually nc), a simple
utility for reading and writing data across network connections, using
the TCP or UDP protocols. Netcat is intended to be a reliable back-end
tool which can be used directly or driven by other programs and
scripts. Netcat is also a feature-rich network debugging and
exploration tool, since it can create many different connections and

I have been using it as a socks client on my fedora box for a long time.   
Perhaps this is specific to fedora/redhat?

--
View this message in context: http://www.nabble.com/netcat-lacks-socks-support--t1459349.html#a3981705
Sent from the Cygwin Users forum at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]