나는위챗irc.server.freenode.ipv6
옵션이 다음으로 설정된 Debian 8.5에 버전 1.5가 설치되었습니다 on
.
10:57:15 weechat | [server] (irc.conf)
10:57:15 weechat | irc.server.freenode.ipv6 = on (default: (undefined))
10:57:15 weechat |
10:57:15 weechat | 1 option (matching with "irc.server.freenode.ipv6")
이로 인해 WeeChat은 IPv4보다 IPv6를 선호하게 됩니다. irc.freenode.net에는 IPv6 AAAA 레코드가 있습니다.
$ dig @8.8.8.8 -t AAAA irc.freenode.net +noall +short
chat.freenode.net.
2a00:1a28:1100:11::42
2a01:270:0:666f::1
2a01:7e00::f03c:91ff:fee2:413b
2001:6b0:e:2a18::118
$
..예를 들어 IPv6를 통해 irc.freenode.net을 ping할 수 있습니다.
$ ping6 -nc 4 irc.freenode.net
PING irc.freenode.net(2001:5a0:3604:1:64:86:243:181) 56 data bytes
64 bytes from 2001:5a0:3604:1:64:86:243:181: icmp_seq=1 ttl=51 time=141 ms
64 bytes from 2001:5a0:3604:1:64:86:243:181: icmp_seq=2 ttl=51 time=141 ms
64 bytes from 2001:5a0:3604:1:64:86:243:181: icmp_seq=3 ttl=51 time=142 ms
64 bytes from 2001:5a0:3604:1:64:86:243:181: icmp_seq=4 ttl=51 time=142 ms
--- irc.freenode.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 141.567/141.903/142.081/0.431 ms
$
하지만 WeeChat에서 irc.freenode.net에 연결하려고 하면 IPv6도 시도되지 않습니다( 로 확인 tcpdump
). IPv4에서 TCP 포트 6667에 대한 연결을 거부하더라도 IPv6은 시도되지 않습니다.
나는 문제가 WeeChat에 있지 않다고 가정합니다(다른 버전으로도 시도해 보았습니다). 어떤 아이디어가 있습니까? 그러한 동작의 원인은 무엇입니까?
답변1
weechat 1.6-rc2(현재 개발 버전)를 사용해 보시겠습니까? 서버 연결 중 호스트 주소 관련 버그를 수정했습니다. 그런데 버전 1.6이 2일 뒤에 나올 예정입니다.