You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by d....@gmx.net on 2012/02/09 10:15:37 UTC
Re: svn+ssh vs. https (different access methods)
Hello,
first of all: I'm really sorry for the missing subject-line.
-------- original message --------
> Will it stay with access on the repositories only or is it will your
> external devs need access to test infrastructure, documentation or
> whatever, too? In the latter case I would prefer setting up a proper
> VPN infrastructure which allows you to use Apache as the svn host for
> your external devs and only let them see specific networks they need
> via routing, firewall etc.
Normally I would agree to you, but it would be too extensive to gave only to that part of our network, which is necessary for that project, when using a VPN-Client. So the VPN-Connection would be restricted only to the Subversion-Service, so I seems to be easier to set up a SSH-Tunnel than a VPN-Service.
A better solution would be a kind of proxy-service that I can place in the DMZ... is there a working proxy-solution for subversion?
Some time ago I've gave access to a subversion-repository via a reverse-proxy running on apache... that wasn't working properly...
Are there other proxy-like services which will work well with subversion?
Thanks.
Rgds.
Dieter
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: svn+ssh vs. https (different access methods)
Posted by d....@gmx.net.
Hello,
-------- Original-Nachricht --------
> What kind of trouble did you have with apache in the reverse-proxy
> mode? I've had that working and I think the only issue was that the
> relative path had to be the same as the actual target. That is you
> can't proxy http:/realhost/svn as http://proxyhost/somewhere/svn.
> Also for a straight passthrough you might run stunnel accepting https
> from outside your dmz, connecting to http on the inside server.
I had a problem using the COPY-Command over the connections established over the reverse-proxy...
"Server sent unexpected return value (502 Bad Gateway) in response to COPY request for ..."
But today I've found out that there is a solution using Apache 2.2.4 or greater (add "RequestHeader edit Destination ^https http early" to the Subversion-Configuration):
http://www.thedumbterminal.co.uk/php/knowledgebase/article/141
Rgds
Dieter
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Re: svn+ssh vs. https (different access methods)
Posted by Les Mikesell <le...@gmail.com>.
On Thu, Feb 9, 2012 at 3:15 AM, <d....@gmx.net> wrote:
> Hello,
>
> first of all: I'm really sorry for the missing subject-line.
>
> -------- original message --------
>> Will it stay with access on the repositories only or is it will your
>> external devs need access to test infrastructure, documentation or
>> whatever, too? In the latter case I would prefer setting up a proper
>> VPN infrastructure which allows you to use Apache as the svn host for
>> your external devs and only let them see specific networks they need
>> via routing, firewall etc.
>
> Normally I would agree to you, but it would be too extensive to gave only to that part of our network, which is necessary for that project, when using a VPN-Client. So the VPN-Connection would be restricted only to the Subversion-Service, so I seems to be easier to set up a SSH-Tunnel than a VPN-Service.
>
> A better solution would be a kind of proxy-service that I can place in the DMZ... is there a working proxy-solution for subversion?
> Some time ago I've gave access to a subversion-repository via a reverse-proxy running on apache... that wasn't working properly...
> Are there other proxy-like services which will work well with subversion?
What kind of trouble did you have with apache in the reverse-proxy
mode? I've had that working and I think the only issue was that the
relative path had to be the same as the actual target. That is you
can't proxy http:/realhost/svn as http://proxyhost/somewhere/svn.
Also for a straight passthrough you might run stunnel accepting https
from outside your dmz, connecting to http on the inside server.
--
Les Mikesell
lesmikesell@gmail.com