[Exim] Re: Bug#64531: Exim does not recognize IPv6 local IP'…

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Mark Baker
Data:  
Para: Jason Gunthorpe, 64531
CC: exim-users
Assunto: [Exim] Re: Bug#64531: Exim does not recognize IPv6 local IP's
On Mon, May 22, 2000 at 10:52:23PM -0700, Jason Gunthorpe wrote:

> Exim normally knows if a MX record it is going to try points to itself and
> refuses to send email to it. This prevents mail loops. But, this feature
> does not work for IPv6 hosts and causes exim to go into a loop when
> mis-addressed mail is sent:

[...]
> I suppose Exim is not doing the right call to get the IPv6 interface list.


Yes, that appears to be the case.

The code that gets interface addresses does check the address type it gets
and looks like it is designed to cope with IPv6 addresses, but as I
understand it the ioctl it uses won't actually return IPv6 addresses despite
having an address type field in the response, because that would have broken
too many old programs that didn't bother to check the type. I can't remember
what the correct way to get IPv6 addresses is, I think there's a new API
call (which presumably maps onto some ioctl or something at a lower level)
but I'm not sure (where is the IPv6 API defined anyway?)