httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun-ichiro itojun Hagino <>
Subject [PATCH] IPv6 enable patch for apahce 1.3.x
Date Mon, 18 Jan 1999 12:35:26 GMT

>My opinion, it would be nice to see both to see how invasive the
>changes for 1.3.x are. If they aren't too bad, it would be better
>to get this into a next release of 1.3 rather than wait for 2.0.
>But then again, I think we need to be getting into a bug fix mode
>for 1.3 sometime real soon.

	Here's IPv6 enable patch for apache 1.3.x.
	There are fair amount of changes, like:
	- Eliminate gethostbyname() and gethostbyaddr().  Replace them
	  by getaddrinfo() and getnameinfo() for address family independence.
	  Supply tiny library for getaddrinfo() and getnameinfo(), in case
	  your operating do not have one.
	  Eliminate struct in_addr (or u_long, sometimes).  use struct
	  sockaddr_storage for that.
	  See rfc2133 for specs of those library/structure.
	- Configure --enable-rule=INET6 should enable IPv6.
	  (tested with KAME IPv6 implementation)
	  Without --enable-rule=INET6, it should work as before.
	- extend Listen directive to take two separate arguments
	  (like "Listen 80"), to allow IPv6 address into
	  the address portion ("Listen :: 80").

	I'm sorry that I was not able to check all the modules.
	There may be some modules that are not compatible with the patch,
	as it may change some of the core-module interface structure.
	README.v6 in the patch discusses compatibility issues.

	I do not attempt to attach the patch as it is something like 5000
	lines.  Please review:

	(I made the patch against 1.3.4 but it can be applied to the
	latest version on the cvs repository)

	Comments and suggestions are, of course, welcome.
jun-ichiro itojun hagino

View raw message