Richard Dice | 31 Oct 15:32
Picon
Favicon

Matt -- some perforce help on working through a proxy?


Matt,

I've sent this here rather than directly to you because it might apply to other
people.

I'd like to do some work on CAF via the perforce CAF repository that we set up /
started working with at the CAF hack-a-thon over the weekend.  Where I am
connect via right now is behind a firewall in an internal network, and all
communication with the outside world is via a proxy server.

How do I work around/through this?

Currently in my .p4settings. file I have a line to the effect:

P4PORT=p4.lpi.org:1666

Intuitively, I would think that I'd need to add another line to the file like:

P4PROXY=http://localproxygateway:8080

At the very least my intuitive guess is unlikely to have the syntax correct. :-)
 I might be more fundamentally off base here too.  Please enlighten me!

Cheers,
Richard

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
(Continue reading)

G. Matthew Rice | 31 Oct 16:29

Re: Matt -- some perforce help on working through a proxy?

Richard Dice <rdice@...> writes:
> am connect via right now is behind a firewall in an internal network, and all
> communication with the outside world is via a proxy server.
> 
> How do I work around/through this?
> 
> Currently in my .p4settings. file I have a line to the effect:
> 
> P4PORT=p4.lpi.org:1666
> 
> Intuitively, I would think that I'd need to add another line to the file
> like:
> 
> P4PROXY=http://localproxygateway:8080
> 
> At the very least my intuitive guess is unlikely to have the syntax
> correct. :-)
>  I might be more fundamentally off base here too.  Please enlighten me!

You probably are :)  Perforce doesn't use a HTTP protocol so the proxy
probably won't work.

Any chance that you could ssh to another machine that has access?

Something like:

        ssh -L 1666:p4.lpi.org:1666 otherhost

would work.  Then you just set the P4PORT (or equiv in the GUIs) to
localhost:1666.
(Continue reading)

Richard Dice | 31 Oct 16:49
Picon
Favicon

Re: Matt -- some perforce help on working through a proxy?


> Any chance that you could ssh to another machine that has access?

Not that I'm aware of.  I'll talk around here to see if anyone has ever gotten
ssh working.  (I know I haven't before.)

Thanks for the info...

Cheers,
Richard

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Gmane