25 Jan
2005
25 Jan
'05
7:37 p.m.
Dovecot 0.99.13.
I've noticed that the condition
client->secured = ssl ||
(IPADDR_IS_V4(ip) && strncmp(addr, "127.", 4) == 0) ||
(IPADDR_IS_V6(ip) && strcmp(addr, "::1") == 0);
(in (imap-login|pop3-login)/client.c) isn't enough, at least not when running from inetd. The thing is that you will come across ::ffff:127.0.0.1, which is secure, but not covered by the above.
I thought I saw someting on this earlier, but in that case I cant't find it now.
Cheers, Magnus Holmgren holmgren@lysator.liu.se