www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun-ichiro hagino <ito...@iijlab.net>
Subject build/7492: config for IPv6-enabled machines
Date Fri, 30 Mar 2001 21:59:06 GMT

>Number:         7492
>Category:       build
>Synopsis:       config for IPv6-enabled machines
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Mar 30 14:00:02 PST 2001
>Originator:     itojun@iijlab.net
>Release:        2.0.15
NetBSD starfruit.itojun.org 1.5T NetBSD 1.5T (STARFRUIT) #431: Fri Mar 30 19:59:50 JST 2001
it seems that the current code of Apache assumes RFC2553 section 3.7 (AF_INET6
wildcard socket grabs IPv4 traffic as well) and listens to AF_INET6 wildcard
socket only, by default.

For security reasons and other
reasons, there are a lot of platforms that does not do this.

therefore, if we run apache on those platforms, it will only accept IPv6 connections, not
the IPv4 connections.
compile and run apache on IPv6-ready OpenBSD, NetBSD or Win2k.
1. listen to AF_INET6 and AF_INET socket by default, if there's no "Listen" directive.
see apache 1.3.x patches at ftp://ftp.kame.net/pub/kame/misc/.  use getaddrinfo
with AI_PASSIVE flag and then go through all the addresses returned.

2. have the following two lines in docs/conf/httpd-std.conf.
	Listen [::]:80
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message