delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/19/01:08:16

X-Spam-Check-By: sourceware.org
Message-ID: <3981705.post@talk.nabble.com>
Date: Tue, 18 Apr 2006 22:08:06 -0700 (PDT)
From: peter360 <peter360 AT fastmail DOT us>
To: cygwin AT cygwin DOT com
Subject: RE: netcat lacks socks support?
In-Reply-To: <000701c6621b$387b6dd0$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Nabble-Sender: peter360 AT fastmail DOT us
X-Nabble-From: peter360 <peter360 AT fastmail DOT us>
References: <3943997 DOT post AT talk DOT nabble DOT com> <000701c6621b$387b6dd0$a501a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019