Package: ipmitool Version: 1.8.14-3 Severity: important Tags: upstream Dear Maintainer,
ipmitool 1.8.14 introduced IPv6 support throughout the suite (upstream commits f6cabfb and 0b97d32). Despite ipmitool now supporting (and preferring) IPv6 by default, most BMCs (most notably at least iDRAC 5 and 6) do not support lanplus sessions over IPv6, although they do support HTTP(s) connections. When attempting to use a lanplus session with a hostname that has both, an A and a AAAA record, ipmitool will fail to establish a session because it will only try the IPv6 address, on which the opposite end will not respond. Normally ipmitool should detect this and fall back to the IPv4 address, however the way ipmitool checks for IPv6 connectivity is broken: it seems to rely on the return status of connect(2) on a SOCK_DGRAM socket¹, however connect(2) on datagram sockets merely sets the remote endpoint address and does not actually attempt to establish any communications; any potential error (e.g. an ICMPv6 port unreachable) will only appear at send(2) time. To quickly reproduce the above behaviour, you can try establishing a lanplus session on localhost: ipmitool -U root -I lanplus -H localhost sol activate while watching the loopback traffic with tcpdump. Added to that, there is no (documented) way to force ipmitool to prefer IPv4 without specifying the IPv4 address verbatim. ¹ see ipmi_intf_socket_connect() at src/plugins/ipmi_intf.c:341 Regards, Apollon -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores) Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ipmitool depends on: ii libc6 2.19-7 ii libncurses5 5.9+20140118-1 ii libreadline6 6.3-6 ii libssl1.0.0 1.0.1h-3 ii libtinfo5 5.9+20140118-1 ii lsb-base 4.1+Debian13 Versions of packages ipmitool recommends: ii openipmi 2.0.16-1.3+b1 ipmitool suggests no packages. -- Configuration Files: /etc/default/ipmievd changed [not included] -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org