Discussion:
I need something like ssh -D, but http proxy, not socks
(too old to reply)
Ilya Basin
2010-11-02 09:22:48 UTC
Permalink
Hi. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
I'm pretty sure it's possible.
ADFHAU
2010-11-03 14:02:51 UTC
Permalink
On Tue, 2 Nov 2010 12:22:48 +0300
Post by Ilya Basin
Hi. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
I'm pretty sure it's possible.
You could either use dante-client's "socksify" and point it to -D
opened port or tell the HTTP application to use the socks proxy if it
supports it.

Or do you mean tunnelling SSH over HTTP?
Gustavo Castro
2010-11-03 15:39:01 UTC
Permalink
Post by Ilya Basin
Hi. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
I'm pretty sure it's possible.
  What about stunnel? http://www.stunnel.org/

--
Saludos,
     Gustavo Castro Puig.
     E-Mail: ***@gmail.com

LPI Level-1 Certified (https://www.lpi.org/es/verify.html
LPID:LPI000042304 Verification Code: hp6re8w5qg )
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/IT/ED dx s-:- a? C(+++)$ UL++++*$ P+ L++++(++)$ E--- W+++$ N+ o?
K- w O M V-- PS PE++(-) Y-(+) PGP+ t(++) 5+ X++ R tv+ b++(++++) DI+++
D++ G++ e++ h--- r y+++
------END GEEK CODE BLOCK------
Registered Linux User #69342
Darren Tucker
2010-11-03 23:59:24 UTC
Permalink
The SSH protocol itself supports names
resolving on server (PuTTY is the proof), but ssh -D provides only
socks4, which doesn't support names resolving on server.
That's not the case for OpenSSH; it's supported socks5 since 2003 (v3.7
and up) and socks4a since January last year (v5.2 and up). Both of
those support resolving names on the server side if the socks client
asks for it (eg in Firefox, about:config ->
network.proxy.socks_remote_dns=true).

[1] http://anoncvs.mindrot.org/index.cgi/openssh/channels.c?annotate=1.169
[2] http://anoncvs.mindrot.org/index.cgi/openssh/channels.c?annotate=1.280
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
Jon Price
2010-11-08 22:26:10 UTC
Permalink
Hi Ilya,

Did your original question (pasted here) get answered?
Post by Ilya Basin
Post by Ilya Basin
. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
Jon
Hi Ilya,
Did your original question (pasted here) get answered?
. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
Jon
Post by Ilya Basin
Hi. Is there any existing ssh client for *nix with http proxy feature?
Maybe someone patched the ssh program from OpenSSH to add it?
I'm pretty sure it's possible.
Loading...