cloning repository through http with session
Matt Mackall
mpm at selenic.com
Tue Dec 4 21:58:47 UTC 2012
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.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list