{"thread":{"id":"4397","subject":"Re: git daemon directory munging?","startedAt":"2006-06-05T02:10:07Z","lastAt":"2006-06-05T02:59:37Z","messageCount":2,"participants":["Jon Loeliger","H. Peter Anvin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"21247","messageId":"E1Fn4Xf-0000bL-82@jdl.com","threadId":"4397","inReplyTo":null,"subject":"Re: git daemon directory munging?","fromName":"Jon Loeliger","fromEmail":"jdl@jdl.com","sentAt":"2006-06-05T02:10:07Z","receivedAt":"2006-06-05T02:10:07Z","isPatch":false,"sender":{"key":"jdl@jdl.com","avatar":"https://gravatar.com/avatar/75ce9a10b151acd2c28ec4ab2136dba7b2ff1634530bd04b155981a749d08a64?d=mp&s=160"},"body":"\n> Well, you can bind different git daemons to different IP addresses \n> (IP-based vhosting) or different ports (with SRV records in DNS.)\n\nIs there existing support for telling the git-daemon what\nspecific IP to bind to out of an inetd setup and I just\nmissed it?\n\nI could set that up realatively easily and gain the \nfunctionality I wanted that way too.\n\nI've also hacked in a host interpolation too.\n\nBut like you said, canonicalizing it and checking it is likely\na bit of a pain.  I've side-stepped one angle of that by\nsymlinking in my /pub directory for multiple different\nhostnames too.  :-)\n\njdl\n"},{"id":"21250","messageId":"44839E19.8070007@zytor.com","threadId":"4397","inReplyTo":"E1Fn4Xf-0000bL-82@jdl.com","subject":"Re: git daemon directory munging?","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2006-06-05T02:59:37Z","receivedAt":"2006-06-05T02:59:37Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Jon Loeliger wrote:\n>> Well, you can bind different git daemons to different IP addresses \n>> (IP-based vhosting) or different ports (with SRV records in DNS.)\n> \n> Is there existing support for telling the git-daemon what\n> specific IP to bind to out of an inetd setup and I just\n> missed it?\n> \n\nNo, but that really should be added.  It's a pretty trivial hack.\n\n> I could set that up realatively easily and gain the \n> functionality I wanted that way too.\n> \n> I've also hacked in a host interpolation too.\n> \n> But like you said, canonicalizing it and checking it is likely\n> a bit of a pain.  I've side-stepped one angle of that by\n> symlinking in my /pub directory for multiple different\n> hostnames too.  :-)\n> \n\nDoesn't work very well.  DNS is case-insensitive, and worse, there are \nthe PunyCode aliases or whatever they're called.\n\n\t-hpa\n"}]}