httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject Re: Deny from hostname broken in 2.0 on MacOSX 10.2
Date Thu, 03 Oct 2002 11:47:21 GMT
Sander Temme <> writes:

> I have stepped through the code of a regular (IPv6-enabled) builda bit and
> it appears that what comes back from accept(2) is an IPv6 address, which
> apparently doesn't resolve correctly from mod_authz_host.c. Indeed, the
> remote address information is eventually (sa_common.c:508) passed to
> getnameinfo(3) which returns unsuccessfully with EAI_NONAME.

Can you or somebody else with Jaguar try this program

and see what happens?  It should print

  look up via IPv4: 0/
  look up via IPv6: 0/

(tested on Linux with glibc 2.1.2 and AIX 4.3.3 with recent

The lookup via IPv6 uses a mapped address like we'd get back from
accept() when a client connects over IPv4 to an IPv6 listening
Jeff Trawick |
Born in Roswell... married an alien...

View raw message