what about socks support?
Berend De Schouwer
bds at jhb.ucs.co.za
Mon Mar 12 01:04:05 EST 2001
On Sun, 11 Mar 2001 13:16:31 douglas.manton at uk.ibm.com wrote:
|
|
|
| Michael,
|
| It is quite simple to socksify OpenSSH using the NEC socks code from
| http://www.socks.nec.com. If you comile the socks library then you can
| add the support to OpenSSH by:
|
| adding #include <socks.h> in front of the other includes in
| sshconnect.c
| configuring with: --with-cflags="-DSOCKS" --with-libs="-lsocks5"
|
| This will give you socks4 and socks5 support which you can define using
| libsocks5.conf (see the NEC socks man pages).
|
| An alternative socks implementation to use is Dante. I have no
| experience
| with that library but I have heard good things about it.
Even easier: run
LDFLAGS=-ldsocks ./configure
and you are away :)
This basically just preloads libdsocks, which you can't do with
LD_LIBRARY_PRELOAD since ssh is suid'd. If you can disable the suid
bit, you could run 'socksify ssh <hostname>'.
| Hope this helps,
| --------------------------------------------------------
| Doug Manton, AT&T EMEA Commercial Security Solutions
|
| E: demanton at att.com
| --------------------------------------------------------
| "If privacy is outlawed, only outlaws will have privacy"
|
|
| Please respond to michael at bizsystems.com
| To: openssh-unix-dev at mindrot.org
| cc:
| Subject: what about socks support?
|
|
|
|
| Is there any plan to add socks 4 or socks 5 support to openssh like
| the original ssh developed in finland??
|
| Michael
| Michael at bizsystems.com
|
|
|
|
|
Kind regards,
Berend
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-712-1435, UCS
More information about the openssh-unix-dev
mailing list