Displaying 3 results from an estimated 3 matches for "ipaddr_is_v6".
Did you mean:
ipaddr_is_v4
2015 Dec 22
2
allow_nets=local in passdb gets "auth: Panic"
...Panic" on POP3/IMAP logins as the below:
Dec 22 14:57:39 localhost dovecot: auth: ldap(u0000,::1,<oiF8SHYngqsAAAAAAAAAAAAAAAAAAAAB>): allow_nets: Invalid network 'local'
Dec 22 14:57:39 localhost dovecot: auth: Panic: file net.c: line 1137 (net_is_in_network): assertion failed: (IPADDR_IS_V6(ip) == IPADDR_IS_V6(net_ip))
`doveadm auth test <username> <password>` is no problem as expected.
What's wrong?
Regards,
--
-- Name: SATOH Fumiyasu @ OSS Technology Corp. (fumiyas @ osstech co jp)
-- Business Home: http://www.OSSTech.co.jp/
-- GitHub Home: https://GitHub.com/fu...
2006 Jun 29
3
Secure connection from "localhost" in jails
...(ip);
+ local_addr = net_ip2addr(local_ip);
client->common.secured = ssl ||
(IPADDR_IS_V4(ip) && strncmp(addr, "127.", 4) == 0) ||
+ (IPADDR_IS_V4(ip) && strncmp(addr, local_addr,
strlen(local_addr)) == 0) ||
(IPADDR_IS_V6(ip) && (strcmp(addr, "::1") == 0 ||
strncmp(addr, "::ffff:127.", 11)
== 0));
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEpAu4ImmQdUyYEgkRAnC8AJ9W3L5XwjdTuLvGfUwmIjEfyq8sAQCdErPc
v6JW46e9dfYBsKzAWprg2zw=
=/I...
2005 Jan 25
1
disable_plaintext_auth, inetd, localhost, IPv6, and mapped addresses
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...