* cvsimport using proxy?
@ 2005-10-04 21:42 Junio C Hamano
[not found] ` <46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2005-10-04 21:42 UTC (permalink / raw)
To: Matthias Urlichs, Martin Langhoff, Sven Verdoolaege; +Cc: git
I was going to try cvsimport over the firewall --
CVSROOT=':pserver;proxy=firewall;proxyport=3128:anoncvs@anoncvs.postgresql.org:/projects/cvsroot' cvs co -c
works fine, but it does not appear to me that cvsimport knows
about the proxied connection. Is anybody savvy and helpful
enough to look into adding this?
^ permalink raw reply [flat|nested] 3+ messages in thread[parent not found: <46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com>]
* Re: cvsimport using proxy? [not found] ` <46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com> @ 2005-10-05 12:50 ` Matthias Urlichs 2005-10-05 13:55 ` Johannes Schindelin 0 siblings, 1 reply; 3+ messages in thread From: Matthias Urlichs @ 2005-10-05 12:50 UTC (permalink / raw) To: Martin Langhoff; +Cc: Junio C Hamano, Martin Langhoff, Sven Verdoolaege, git [-- Attachment #1: Type: text/plain, Size: 974 bytes --] Hi, Martin Langhoff: > For the second stage, we'll need to hack CVSConn::conn() method around > line 118. As I have never used the proxy option, I did a bit of > googling. It seems that cvs 1.12.11 knows how to tunnel its protocol > over an HTTP proxy. > HTTP proxies are quite simple, you say 1. Connect to Proxy Server. 2. Issue CONNECT Host:Port HTTP/1.1<CR><LF>. 3. Issue <CR><LF>. 4. Wait for a line of response. If it contains HTTP/1.X 200 , the connection is successful. 5. Read further lines of response until you receive an empty line. 6. Now, you are connected to outside world through a proxy. Do any data exchange you want. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - Almost all absurdity of conduct arises from the imitation of those who we cannot resemble. -- Samuel Johnson [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cvsimport using proxy? 2005-10-05 12:50 ` Matthias Urlichs @ 2005-10-05 13:55 ` Johannes Schindelin 0 siblings, 0 replies; 3+ messages in thread From: Johannes Schindelin @ 2005-10-05 13:55 UTC (permalink / raw) To: Matthias Urlichs Cc: Martin Langhoff, Junio C Hamano, Martin Langhoff, Sven Verdoolaege, git Hi, On Wed, 5 Oct 2005, Matthias Urlichs wrote: > HTTP proxies are quite simple, you say > > 1. Connect to Proxy Server. > 2. Issue CONNECT Host:Port HTTP/1.1<CR><LF>. > 3. Issue <CR><LF>. > 4. Wait for a line of response. > If it contains HTTP/1.X 200 , the connection is successful. > 5. Read further lines of response until you receive an empty line. > 6. Now, you are connected to outside world through a proxy. > Do any data exchange you want. Even simpler is to use transconnect, which transparently uses the proxy by intercepting the connect method using LD_PRELOAD. Ciao, Dscho ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-05 13:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 21:42 cvsimport using proxy? Junio C Hamano
[not found] ` <46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com>
2005-10-05 12:50 ` Matthias Urlichs
2005-10-05 13:55 ` Johannes Schindelin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox