[Exim] Linux USAGI and the default bind/listen behaviour

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Lionel Elie Mamane
Fecha:  
A: exim-users
Asunto: [Exim] Linux USAGI and the default bind/listen behaviour
--
Hi,

Are you aware that in the default configuration (no local_interfaces
line in exim.conf), exim 3 fails to start on an USAGI-patched Linux?

That's because basically exim does this:


- bind(IPv6 any address)
- bind(IPv4 any address)
- listen(IPv6 any address)
- listen(IPv4 any address), failure because EADDRINUSE ignored

The problem is that the USAGI stack fails the listen(ipv6) with
EADDRINUSE. The following works, though:

- bind(IPv6 any address)
- listen(IPv6 any address)
- bind(IPv4 any address), failure because EADDRINUSE -> goto end
- listen(IPv4 any address)
- :end:

The bind(ipv4) will fail with EADDRINUSE.

--
Lionel
--
[ Content of type application/pgp-signature deleted ]
--