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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Lionel Elie Mamane
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [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 ]
--