cloning repository through http with session
Shane Turner
shane.turner at newpace.ca
Wed Dec 5 12:33:45 UTC 2012
On 04/12/2012 5:58 PM, Matt Mackall wrote:
> On Tue, 2012-12-04 at 21:10 +0100, Sascha Andres wrote:
>> Hi,
>>
>> I'm trying to clone a repository through an http channel. This http channel
>> is a pass-through through a firewall with VPN. Basically I open a portal
>> logon and have a bookmark to browse that site.
>>
>> Let's say the firewall is http://fw and my hg repository http://hg.repo the
>> url I browse while I'm signed into the VPN looks like this:
>> http://fw/go?hg.rep with additional subdirectories when required.
>>
>> I took that url and tried to clone it and he was able to contact the url,
>> but the error is that the session has been closed.
> There's probably a cookie involved. It's probably a lost cause.
>
> Also, the scheme you describe sounds MASSIVELY broken from a web-browser
> security perspective. Run, don't walk, to another firewall vendor.
Sascha,
I've used a Juniper VPN system that provided a similar interface for
simply connecting to internal web sites, but it also provided the
ability to run a local client that would bring up a full VPN connection
to allow normal connectivity to internal systems. If yours provides a
similar capability, then you should be able to connect to your Mercurial
repository without any problem.
Shane
--
Shane Turner
Senior Software Developer
phone +1 (902) 406--8375 x1008
email Shane.Turner at NewPace.ca <mailto:Shane.Turner at newpace.ca>
aim <aim:GoIm?screenname=Shane.Turner at newpace.ca>/msn
<msnim:chat?contact=Shane.Turner at newpace.ca> Shane.Turner at NewPace.ca
<aim:GoIm?screenname=Shane.Turner at newpace.ca>
skype saturnjct <skype:saturnjct>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20121205/d77dd6dd/attachment-0002.html>
More information about the Mercurial
mailing list