Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-24 Thread Colm MacCarthaigh
On Thu, Aug 14, 2003 at 10:45:20PM -0700, Justin Erenkrantz wrote: > --On Thursday, August 14, 2003 23:43:23 +0100 "Colm MacCarthaigh,,," > <[EMAIL PROTECTED]> wrote: > > >good good, patch works so :) In which I'll now cc [EMAIL PROTECTED] and include > >the neccessary autoconf voodoo to fix OSX/

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Justin Erenkrantz
--On Thursday, August 14, 2003 23:43:23 +0100 "Colm MacCarthaigh,,," <[EMAIL PROTECTED]> wrote: good good, patch works so :) In which I'll now cc [EMAIL PROTECTED] and include the neccessary autoconf voodoo to fix OSX/Darwin. I'm not entirely sure the getnameinfo() patch is needed on current rele

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Justin Erenkrantz
--On Thursday, August 14, 2003 10:20 PM +0100 "Colm MacCarthaigh,,," <[EMAIL PROTECTED]> wrote: On Thu, Aug 14, 2003 at 04:56:48PM -0400, John K. Sterling wrote: Hi Colm - I'm not sure what to be looking for, but i applied your patch, rebuilt (with the broken_ipv6 set to 0, of course), turned on

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Colm MacCarthaigh,,,
On Thu, Aug 14, 2003 at 05:48:38PM -0400, John K. Sterling wrote: > On Thursday, August 14, 2003, at 05:20 PM, Colm MacCarthaigh,,, wrote: > > >Can you just confirm it's listening in v6 only ? the output of > >"netstat -an | grep LISTEN" (Darwin has netstat and grep, right?) > >should be enough. >

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread John K . Sterling
On Thursday, August 14, 2003, at 05:20 PM, Colm MacCarthaigh,,, wrote: Can you just confirm it's listening in v6 only ? the output of "netstat -an | grep LISTEN" (Darwin has netstat and grep, right?) should be enough. heh. very funny: % netstat -an | grep LISTEN tcp46 0 0 *.80

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Colm MacCarthaigh,,,
On Thu, Aug 14, 2003 at 04:56:48PM -0400, John K. Sterling wrote: > Hi Colm - > > I'm not sure what to be looking for, but i applied your patch, rebuilt > (with the broken_ipv6 set to 0, of course), turned on HostnameLookups, > and my access logs have remote hostname properly resolved. That s

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread John K . Sterling
On Thursday, August 14, 2003, at 03:55 PM, Colm MacCarthaigh,,, wrote: Patch attached. Since I havnt got a DARWIN machine to test on I can't confirm it works, but it should. It works on Linux anyway (not that it needs to). Darwin might need some slightly different sa.[members] set to make getnamei

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Colm MacCarthaigh,,,
On Thu, Aug 14, 2003 at 09:14:35AM -0700, Justin Erenkrantz wrote: > - Trim IPv6 addresses from getaddrinfo()'s return values if APR_HAVE_IPV6 > is 0. > > (Perhaps only allow PF_INET sockets values to go in there.) > > - Re-enable IPv6 on Darwin, and try to come up with a better solution to > t

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Colm MacCarthaigh,,,
On Thu, Aug 14, 2003 at 10:41:44AM -0700, Justin Erenkrantz wrote: > --On Thursday, August 14, 2003 6:06 PM +0100 "Colm MacCarthaigh,,," > <[EMAIL PROTECTED]> wrote: > > >Both these things really need to happen. The first is relatively > >trivial: > > Yup, I agree. I committed a variant of this

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread John K . Sterling
On Thursday, August 14, 2003, at 01:06 PM, Colm MacCarthaigh,,, wrote: .. or similar. The darwin one is complicated, but I know of at least 3 people running Apache on Darwin for months, all they've been doing is changing v6_broken to 0 in the apr configure script ;) Yup.. that worked. make that 4

Re: Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Justin Erenkrantz
--On Thursday, August 14, 2003 6:06 PM +0100 "Colm MacCarthaigh,,," <[EMAIL PROTECTED]> wrote: Both these things really need to happen. The first is relatively trivial: Yup, I agree. I committed a variant of this to the tree. (The patch you submitted would only execute if the APR_IPV4_ADDR_ONL

Darwin and IPv6 was Re: cvs commit: httpd-2.0/server listen.c

2003-08-14 Thread Justin Erenkrantz
--On Thursday, August 14, 2003 7:56 AM -0400 "John K. Sterling" <[EMAIL PROTECTED]> wrote: I'm still having problems with HEAD this morning on os X (Darwin Kernel Version 6.6) - is that expected? (i'm not sure what the status is, but the above email implies a fix was applied). (22)Invalid argume