{"thread":{"id":"2014","subject":"cvsimport using proxy?","startedAt":"2005-10-04T21:42:34Z","lastAt":"2005-10-05T13:55:55Z","messageCount":3,"participants":["Junio C Hamano","Matthias Urlichs","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"9682","messageId":"7v4q7xc62d.fsf@assigned-by-dhcp.cox.net","threadId":"2014","inReplyTo":null,"subject":"cvsimport using proxy?","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-10-04T21:42:34Z","receivedAt":"2005-10-04T21:42:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"I was going to try cvsimport over the firewall --\n\nCVSROOT=':pserver;proxy=firewall;proxyport=3128:anoncvs@anoncvs.postgresql.org:/projects/cvsroot' cvs co -c\n\nworks fine, but it does not appear to me that cvsimport knows\nabout the proxied connection.  Is anybody savvy and helpful\nenough to look into adding this?\n"},{"id":"9698","messageId":"20051005125055.GF4682@kiste.smurf.noris.de","threadId":"2014","inReplyTo":"46a038f90510050309t1d075d7fj37c60a6052ec62f3@mail.gmail.com","subject":"Re: cvsimport using proxy?","fromName":"Matthias Urlichs","fromEmail":"smurf@smurf.noris.de","sentAt":"2005-10-05T12:50:55Z","receivedAt":"2005-10-05T12:50:55Z","isPatch":false,"sender":{"key":"matthias@urlichs.de","avatar":"https://gravatar.com/avatar/2708905af227313eba6f2b2ae0f7d0259b5ac5d71baef58fe5a13c699ce0bbf0?d=mp&s=160"},"body":"Hi,\n\nMartin Langhoff:\n> For the second stage, we'll need to hack CVSConn::conn() method around\n> line 118. As I have never used the proxy option, I did a bit of\n> googling. It seems that cvs 1.12.11 knows how to tunnel its protocol\n> over an HTTP proxy.\n> \nHTTP proxies are quite simple, you say \n\n   1. Connect to Proxy Server.\n   2. Issue CONNECT Host:Port HTTP/1.1<CR><LF>.\n   3. Issue <CR><LF>.\n   4. Wait for a line of response.\n      If it contains HTTP/1.X 200 , the connection is successful.\n   5. Read further lines of response until you receive an empty line.\n   6. Now, you are connected to outside world through a proxy.\n      Do any data exchange you want.\n\n-- \nMatthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  smurf@smurf.noris.de\nDisclaimer: The quote was selected randomly. Really. | http://smurf.noris.de\n - -\nAlmost all absurdity of conduct arises from the imitation of those who we\ncannot resemble.\n\t\t\t\t\t-- Samuel Johnson\n"},{"id":"9700","messageId":"Pine.LNX.4.63.0510051554310.14244@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"2014","inReplyTo":"20051005125055.GF4682@kiste.smurf.noris.de","subject":"Re: cvsimport using proxy?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-10-05T13:55:55Z","receivedAt":"2005-10-05T13:55:55Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Wed, 5 Oct 2005, Matthias Urlichs wrote:\n\n> HTTP proxies are quite simple, you say \n> \n>    1. Connect to Proxy Server.\n>    2. Issue CONNECT Host:Port HTTP/1.1<CR><LF>.\n>    3. Issue <CR><LF>.\n>    4. Wait for a line of response.\n>       If it contains HTTP/1.X 200 , the connection is successful.\n>    5. Read further lines of response until you receive an empty line.\n>    6. Now, you are connected to outside world through a proxy.\n>       Do any data exchange you want.\n\nEven simpler is to use transconnect, which transparently uses the proxy by \nintercepting the connect method using LD_PRELOAD.\n\nCiao,\nDscho\n"}]}