git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Simple proxy test (was Re: What's in master tonight)

From
YSYaacov Akiba Slama <ya@slamail.org>
Date
Nov 20, 2005, 14:28 UTC
Message-ID
<43808816.4050501@slamail.org>
In-Reply-To
<7v7jb31zm2.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 7 quoted lines
>proxy for git:// transport:
>
>	I do not have any pending issues on this patch, and I
>	think it is ready to go in when somebody, preferably
>	other than the original author, says it is useful and
>	does not break things.
>
I tested the proxy code from a place when the git:// port is blocked.
1) I made a ssh socks tunel (ssh -D 2080 a-remote-server).
2) I compiled connect.c from 
http://zippo.taiyo.co.jp/~gotoh/ssh/connect.html
3) I created a simple script called myproxy:
#!/bin/sh
/path/to/connect -S localhost:2080 $@
4) GIT_PROXY_COMMAND=/path/to/myproxy
cg-clone git://git.kernel.org/pub/scm/git/git.git git2 worked perfectly

4bis) % cat .git/config [core] gitproxy = /path/to/myproxy for kernel.org

cg update worked perfectly.
--yas
Previous: Junio C Hamano
Message 2 of 2 in “What's in master tonight.”
  1. Junio C HamanoNov 20, 2005
  2. Simple proxy test (was Re: What's in master tonight)Yaacov Akiba Slama, Nov 20, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.