http://bugzilla.spamassassin.org/show_bug.cgi?id=4619
------- Additional Comments From [EMAIL PROTECTED] 2005-10-16 11:22 ------- Subject: Re: impossible to disable IPv6 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On (15/10/05 01:45), [EMAIL PROTECTED] didst pronounce: > That still leaves us needing a force ipv4 option. > Would setting the Domain for the call to IO::Socket::INET6->new() to AF_UNSPEC not fix this bug? This would mean the connection would depend on the PeerAddr family? AF_UNSPEC is the default for Domain if it's omitted. So, essentially, if IO::Socket::INET6 is installed, use it to setup the socket, with Domain => AF_UNSPEC, otherwise use IO::Socket::INET. As a quick test, I wrote a perl script that connects to localhost port 10000. One instance uses ::1 ipv6 address, the other uses 127.0.0.1. I have netcat listening on both for connections. Domain is set to AF_UNSPEC for both, and both connections succeed. - -- Chat ya later, John. - -- BOFH excuse #194: We only support a 1200 bps connection. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDUpr3QBw+ZtKOvTIRAhgaAJ9fUEGkzSd4lSscAAcF/Hz5oneBbgCfRz9s 3VpOzQLQ+iEcRwR8KEGoico= =nf+c -----END PGP SIGNATURE----- ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
