Re: [Exim] Exim with IPv6

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Philip Hazel
Data:  
Para: Kevin Sindhu
CC: sheldonh, exim-users
Assunto: Re: [Exim] Exim with IPv6
On Wed, 11 Jul 2001, Kevin Sindhu wrote:

> Because of the above, OpenBSD does not route IPv4 traffic to
> AF_INET6 socket. The particular behavior in RFC2553 is intentionally
> omitted for security reasons presented above. If you need to accept
> both IPv4 and IPv6 traffic, listen to two sockets.


> So what should be done next?


You could try adding this to your Exim configuration file:

local_interfaces = <; 127.0.0.1 ;  \
                      ::1 ;        \
                      x.x.x.x ;    \
                      y:y:y:y:...


where x.x.x.x is your IPv4 address and y:y:y:y.... is your IPv6 address.

Exim will still create IPv6 sockets, even for the IPv4 interface
addresses, but it will turn the IPv4 addresses into IPv6 mapped format
before calling bind(). Whether that is good enough for OpenBSD I don't
know, but it is worth a try.

I would have to modify the code to make it use IPv4 sockets for IPv4
addresses. This seems a pity, as I envisage in the long term that IPv4
sockets will be phased out, even before all IPv4 addresses have gone.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.