[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: https/SSL -- proxy (ssh tunnel) problems

From: Leif Warland <leif.warland_at_sintef.no>
Date: 2007-08-07 16:14:32 CEST

Leif Warland <leif.warland@sintef.no> writes:

> Hi!
>
> I'm trying to access our repository through I firewall using a ssh
> tunnel. This works fine as long as we only use http, but the connection
> fails when I use https.
>
> I have the following subversion setup ($HOME/.subversion/servers):
>
> [groups]
> main = mainserver
>
> [main]
> http-proxy-host = 127.0.0.1
> http-proxy-port = 8888
>
> I then forward port 8888 through the ssh-tunnel to mainserver on port
> 443. When I run "svn list https://127.0.0.1:8888/path" the contents of

I checked what is "received" on port 443, by redirecting to port 8888
instead and using netcat, and this is what i got:

svn list https://127.0.0.1:8888/path ->

mainserver: nc -l 8888
<Some binary stuff>

while:

svn list https://mainserver/path ->

mainserver: nc -l 8888
CONNECT bla:443 HTTP/1.1
Host: bla
User-Agent: SVN/1.4.4 (r25188) neon/0.26.4
Connection: TE
TE: trailers

I've searched that documentation, mail lists as well as googled, but I
can not find the answer to how this should be done.

-- 
Leif Warland
However, never daunted, I will cope with adversity
in my traditional manner... sulking and nausea.
		-- Tom K. Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 7 16:13:07 2007

This is an archived mail posted to the Subversion Users mailing list.