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

Tunneling svn through a proxy?

From: Robert L Krawitz <rlk_at_alum.mit.edu>
Date: 2006-08-27 01:44:30 CEST

I've read the documentation and searched the web, and I can't find any
answer to how to tunnel svn through a proxy without having to use a
bounce script on my local machine. I do *not* mean accessing an svn
repository via http. In particular, the anonsvn.kde.org does not
allow access via any method other svn, and the machine I wish to run
on is behind a proxy. I control the proxy. My svn tunnel is via a
bounce-ssh script that basically does

ssh proxy ssh "$@"

In particular, none of these methods work:

$ svn co -N http://anonsvn.kde.org/home/kde/trunk/extragear/graphics KPhotoAlbum-src
svn: PROPFIND request failed on '/home/kde/trunk/extragear/graphics'
svn: PROPFIND of '/home/kde/trunk/extragear/graphics': 301 Moved Permanently (http://anonsvn.kde.org)

$ svn co -N svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics KPhotoAlbum-src
svn: Can't connect to host 'anonsvn.kde.org': Network is unreachable

$ svn co -N svn+ssh://anonsvn.kde.org/home/kde/trunk/extragear/graphics KPhotoAlbum-src
Permission denied (publickey).
svn: Connection closed unexpectedly

If I follow the 301 from the first alternative, I get this:

$ svn co -N http://websvn.kde.org/home/kde/trunk/extragear/graphics KPhotoAlbum-src
svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 200 OK (http://websvn.kde.org)

As best as I can tell, the svn protocol is a simple bidirectional
stream protocol not much different from any other. However, the only
way I've found that works is to use desproxy to create a connection to
the proxy, which can be used to fake an svn server on my local
system. I don't really want to do this, because I'd like for it to
work on my system if I put it directly on the net and because I have
to use a somewhat strange URL (referring to localhost rather than
anonsvn.kde.org).

desproxy anonsvn.kde.org 3690 webcache 8080 3690

Hopefully I've just missed something obvious here. Any suggestions?

-- 
Robert Krawitz                                     <rlk@alum.mit.edu>
Tall Clubs International  --  http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail lpf@uunet.uu.net
Project lead for Gutenprint   --    http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 27 14:42:59 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.