Re: git_inetd_server: run git-http-backend using inetd

2014-07-20 Thread Torsten Bögershausen
On 07/19/2014 07:06 PM, Jonathan Nieder wrote: Torsten Bögershausen wrote: Jonathan, (I'm good in searching, but bad in finding) could you point out where the source code for the git package for debian is ? I recently learned about mDNS, and will probably do some tests and experiments later,

Re: git_inetd_server: run git-http-backend using inetd

2014-07-20 Thread Torsten Bögershausen
On 07/20/2014 08:10 AM, Torsten Bögershausen wrote: On 07/19/2014 07:06 PM, Jonathan Nieder wrote: Torsten Bögershausen wrote: Jonathan, (I'm good in searching, but bad in finding) could you point out where the source code for the git package for debian is ? I recently learned about mDNS,

Re: git_inetd_server: run git-http-backend using inetd

2014-07-19 Thread Torsten Bögershausen
On 07/18/2014 12:10 AM, Jonathan Nieder wrote: Hi, Kyle J. McKay wrote: When I then try to fetch using a git://host/... URL where host is an mDNS host name, the 0010 patch causes git to attempt to lookup a DNS SRV record on the non-mDNS regular DNS service (a violation of RFC 6762 [4] section

Re: git_inetd_server: run git-http-backend using inetd

2014-07-19 Thread Jonathan Nieder
Torsten Bögershausen wrote: Jonathan, (I'm good in searching, but bad in finding) could you point out where the source code for the git package for debian is ? I recently learned about mDNS, and will probably do some tests and experiments later, and would like to test the lookup feature of

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Kyle J. McKay
On Jul 17, 2014, at 19:22, Jonathan Nieder wrote: Thanks for these details. I'll file a bug and mull it over some more. RFC 6762 makes it clear that what the package is currently doing is wrong. Given that Debian's libc knows nothing about mdns on its own, I think I'll need to parse

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Kyle J. McKay
On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: Kyle J. McKay wrote: You might also want to take a look at [1] which suggests that when doing SRV lookups for URLs they should be done regardless of whether or not a port number is present (which then eliminates the RFC 3986 issue the current

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Jonathan Nieder
Kyle J. McKay wrote: On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: Kyle J. McKay wrote: You might also want to take a look at [1] which suggests that when doing SRV lookups for URLs they should be done regardless of whether or not a port number is present (which then eliminates the RFC

Re: git_inetd_server: run git-http-backend using inetd

2014-07-18 Thread Kyle J. McKay
On Jul 18, 2014, at 17:19, Jonathan Nieder wrote: Kyle J. McKay wrote: On Jul 18, 2014, at 10:16, Jonathan Nieder wrote: Git URLs as described e.g. in git-clone(1) weren't intended to be actual URIs. According to RFC 3968 section 1.1.3: A URI can be further classified as a locator, a name,

git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Kyle J. McKay
=== What is it? === I have created a script (POSIX sh compatible) that allows running git- http-backend via inetd or similar service (it makes it like git-http- backend had a --inet option just like git-daemon does). This allows the Git smart HTTP protocol to be served without

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Jonathan Nieder
Hi, Kyle J. McKay wrote: When I then try to fetch using a git://host/... URL where host is an mDNS host name, the 0010 patch causes git to attempt to lookup a DNS SRV record on the non-mDNS regular DNS service (a violation of RFC 6762 [4] section 22) and this is what has to time out before

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Kyle J. McKay
On Jul 17, 2014, at 15:10, Jonathan Nieder wrote: Hi, Kyle J. McKay wrote: When I then try to fetch using a git://host/... URL where host is an mDNS host name, the 0010 patch causes git to attempt to lookup a DNS SRV record on the non-mDNS regular DNS service (a violation of RFC 6762 [4]

Re: git_inetd_server: run git-http-backend using inetd

2014-07-17 Thread Jonathan Nieder
Kyle J. McKay wrote: On Jul 17, 2014, at 15:10, Jonathan Nieder wrote: It was added to respond to a feature request within Debian but it is intended to eventually go upstream. I'm glad you found this issue before that could happen. :) Is there some reason the patch is not opt-in at