You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Murphy <rm...@peoplepc.com> on 2005/04/23 15:44:40 UTC

SVNServe and firewalls

Hello,

My company is trying to share a repository that is hosted using svnserve. Unfortunately our partners have a rather restrictive firewall and are unable to retrieve or send updates to the repo. We tried to be clever hand have svnserve use port 80 and have it bind to a specific host name but to no avail. I have seen previous posts concerning firewalls but those dealt with the Apache module and not the stand alone server. Any ideas would be appreciated.


Thanks,
Rob.


________________________________________
PeoplePC Online
A better way to Internet
http://www.peoplepc.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVNServe and firewalls

Posted by Ben Collins-Sussman <su...@collab.net>.
On Apr 23, 2005, at 10:44 AM, Robert Murphy wrote:

> Hello,
>
> My company is trying to share a repository that is hosted using 
> svnserve. Unfortunately our partners have a rather restrictive 
> firewall and are unable to retrieve or send updates to the repo. We 
> tried to be clever hand have svnserve use port 80 and have it bind to 
> a specific host name but to no avail. I have seen previous posts 
> concerning firewalls but those dealt with the Apache module and not 
> the stand alone server. Any ideas would be appreciated.
>

Set up an apache server with SSL, in addition to your svnserve.  
https:// tends to go through firewalls without a hitch.

Another option is to give system accounts to your partners, and let 
them in via svn+ssh://.  Or have them set up an ssh tunnel (ssh -L), 
and run normal svn:// protocol over the tunnel.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVNServe and firewalls

Posted by Andrew Thompson <su...@aktzero.com>.
Robert Murphy wrote:
> Hello,
> 
> My company is trying to share a repository that is hosted using svnserve. 
> Unfortunately our partners have a rather restrictive firewall and are unable to 
> retrieve or send updates to the repo. We tried to be clever hand have svnserve 
 > use port 80 and have it bind to a specific host name but to no avail. 
 > I have seen previous posts concerning firewalls but those dealt with
 > the Apache module and not the stand alone server. Any ideas would be
 > appreciated.

I doubt you can bind svnserve to a hostname.

You can bind it to port 80 of an IP address that can be seen from the 
outside world.

If you're allowing access from a remote location, and you're not working 
on an open source(or otherwise public) project, you probably want to 
also use ssh or ssl.

-- 
Andrew Thompson
http://aktzero.com/
Interested in a hosted SVN repository? Email me, let's talk...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVNServe and firewalls

Posted by Bob Proulx <bo...@proulx.com>.
Robert Murphy wrote:
> My company is trying to share a repository that is hosted using
> svnserve. Unfortunately our partners have a rather restrictive
> firewall and are unable to retrieve or send updates to the repo.

To be clear let me repeat what I am reading.  You are hosting the
repository.  You think the access to the repository from the outside
world is fine.  But your partners are having trouble getting to it
because they cannot get out of their restrictive firewall.  You think
the problem is on their end getting out.

> We tried to be clever hand have svnserve use port 80 and have it
> bind to a specific host name but to no avail. I have seen previous
> posts concerning firewalls but those dealt with the Apache module
> and not the stand alone server. Any ideas would be appreciated.

Can your partners get out using ssh?  If so then they should be able
to use the svn+ssh:// method.  This will use port 22.  This does
unfortunately mean shell access to your server.  Special and more
restrictive configurations are available.

Many times restrictive corporate firewalls will provide alternate
access methods such as a "socks" server.  Frequently this is not known
to users.  Check to see if your partner has a socks server is
available to get access outside their firewall.  This is the case at
my employment.  We configure ssh to use socks to connect out.  Then
the svn+ssh:// method is available.  If socks is available then you
could also use a "socksified" svn client directly instead of using a
"socksified" ssh client with svn+ssh.  Feel free to mail me directly
with socks questions because that would be off-topic for this list.

I personally like using the svn+ssh:// method and use it whenever
possible by preference.  However issues such as the one you are seeing
have been a push to use the https:// method.  Using http/https works
through most firewalls and is more seamless in port environments such
as MS.  Using https:// would likely solve your problem.  Is it
possible for you to set up an apache2 installation to host a WebDAV
interface?  What system is hosting the repository?  For instance I am
using Debian GNU/Linux and this is quite easy to install and configure
there.

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org