Re: 1.19-rc4 and IPv6
Christopher Bodenstein <[email protected]> Wed, 23 Feb 2011 10:55:45 +0100
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, Thank you for your reply. On Wed, Feb 23, 2011 at 11:18:46AM +0900, Simon Horman wrote: > Hi Chris, > > somewhat non-intuitively you need to tell perdition which IPv6 > addresses to bind to. For example, you could bind to all addresses > using. > > perdition --bind_address '[::]' > I tried before to bind to a specific hostname (which resolves to both an IPv4 and an IPv6 address), but it only binded to the IPv6 address and not to the IPv4 one. > Unfortunately while preparing this email I noticed that there is a bug > such that you can't simultaneously bind to the wildcard IPv4 and IPv6 > addresses. That is, the following fails: > > perdition --bind_address 0.0.0.0,'[::]' > > Even though you may expect that is actually the default behaviour. > > I'll look into resolving these problems. > > In the mean I suggest using --bind_address to specify the > specific IPv4 and IPv6 addresses to bind to. You can have > more than once of each. > > e.g. > > ./perdition/perdition --bind_address 10.4.3.135,[2001:3e0:a5f:403:7051:7bff:fe70:9724],[2001:3e0:a5f:403:a6ba:dbff:fefe:59fa] Hmmm... I tried that and it seems vanessa_socket is not willing to accomodate that.. Here is what I see when I enable the debug option: Feb 23 10:46:25 nioo perdition.pop3[2980]: Starting perdition version=1.19-rc4 protocol=POP3 Feb 23 10:46:25 nioo perdition.pop3[2980]: add_domain="", authenticate_in=off, authenticate_timeout=1800, bind_address="81.188.160.70, [2001:06f8:0200:0001:0000:0000:0001:0070]", client_server_specification=off, config_file="/etc/perdition/perdition.conf", connection_limit=0, connection_logging=off, connect_relog=300, debug=on, domain_delimiter="@", explicit_domain="", group="mail", imap_capability="IMAP4 IMAP4REV1", inetd_mode=off, listen_port="pop3", log_facility="mail", log_passwd="never", login_disabled=off, lower_case="", managesieve_capability=""IMPLEMENTATION" "perdition" "SIEVE" "comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date" "SASL" "PLAIN" "NOTIFY" "mailto" "VERSION" "1.19-rc4"", map_library="/usr/lib/libperditiondb_posix_regex.so.0", map_library_opt="/etc/perdition/popmap-test.re", no_bind_banner=off, no_daemon=off, no Feb 23 10:46:25 nioo perdition.pop3[2982]: vanessa_socket_server_bind: getaddrinfo: Servname not supported for ai_socktype Feb 23 10:46:25 nioo perdition.pop3[2982]: vanessa_socket_server_bindv: vanessa_socket_server_bind_sockaddr_in Feb 23 10:46:25 nioo perdition.pop3[2982]: main: vanessa_socket_server_bindv Feb 23 10:46:25 nioo perdition.pop3[2982]: Fatal error listening for connections.Exiting. If I try binding to the hostname, perdition starts but only listen in IPv6: Feb 23 10:48:50 nioo perdition.pop3[3095]: Starting perdition version=1.19-rc4 protocol=POP3 Feb 23 10:48:50 nioo perdition.pop3[3095]: add_domain="", authenticate_in=off, authenticate_timeout=1800, bind_address="nioo.mail.be.easynet.net", client_server_specification=off, config_file="/etc/perdition/perdition.conf", connection_limit=0, connection_logging=off, connect_relog=300, debug=on, domain_delimiter="@", explicit_domain="", group="mail", imap_capability="IMAP4 IMAP4REV1", inetd_mode=off, listen_port="pop3", log_facility="mail", log_passwd="never", login_disabled=off, lower_case="", managesieve_capability=""IMPLEMENTATION" "perdition" "SIEVE" "comparator-i;octet comparator-i;ascii-casemap fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date" "SASL" "PLAIN" "NOTIFY" "mailto" "VERSION" "1.19-rc4"", map_library="/usr/lib/libperditiondb_posix_regex.so.0", map_library_opt="/etc/perdition/popmap-test.re", no_bind_banner=off, no_daemon=off, no_lookup=off, tcp_keepalive=off, Feb 23 10:48:50 nioo perdition.pop3[3097]: vanessa_socket_daemon_setid: uid=8 euid=8 gid=8 egid=8 nioo:/etc/perdition# netstat -lpn |grep \:110 tcp6 0 0 2001:6f8:200:1::1:7:110 :::* LISTEN 3097/perdition.pop3 I hope this can help debugging the issue. Thanks for your help anyway. :) Best regards, Chris -- Christopher Bodenstein - [email protected] CB8461-RIPE - Systems Administrator Easynet Belgium SA - http://www.be.easynet.net/ "Great acts are made up of small deeds." Lao Tsu ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk1k2aEACgkQtTuwuCfLAf9drgCff/IkTP/ZDyilKYZcOcR2GTWk vRAAn1hVYvEyY1Da+6dNHtLO/+M5UEQR =ssW3 -----END PGP SIGNATURE-----