Hi, I modified the ipmitool sources to use getaddrinfo() instead of gethostbyname() and it is still working for IPv4 and halfways for IPv6, but there is still something missing. The changes are the same I used for a Windows IPMI PowerControl program and ipmitool works fine with these changes in a Cygwin environment with IPv6, but not in native Linux (tested on Ubuntu and RHEL5).
The socket is listed as established and I verified the Get Channel Auth Capabilities commands arrive correctly in the BMC, but I'm unable to read/receive any IPv6 data sent back from the BMC (select times out). Has anyone any other actual IPv6 UDP6 reference code or any other hints/advice what might be missing? Thanks in advance, Holger root@ubuntu-hl:~# netstat -a -u -p Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 *:bootpc *:* 2049/dhclient udp 0 0 *:mdns *:* 619/avahi-daemon: r udp 0 0 ubuntu-hl.mc:netbios-ns *:* 1851/nmbd udp 0 0 *:netbios-ns *:* 1851/nmbd udp 0 0 ubuntu-hl.m:netbios-dgm *:* 1851/nmbd udp 0 0 *:netbios-dgm *:* 1851/nmbd udp 0 0 *:57873 *:* 619/avahi-daemon: r udp6 0 0 fdfd:13c5:98a9:0::59113 fdfd:13c5:98a9:0:21:623 ESTABLISHED 5672/ipmitool From: Jarrod B Johnson [mailto:jbjoh...@us.ibm.com] Sent: Wednesday, January 12, 2011 9:07 PM To: Schafer, Randy A Cc: Ipmitool-devel@lists.sourceforge.net Subject: Re: [Ipmitool-devel] ipmitool and IPV6 As an aside, anyone know if anyone in IPMI spec land is going to define those lan parameters as a standard? If not already in flight, I might start a patch to at least change UDP to UDP6 as possible for now. [cid:image001.gif@01CBB72C.B3775F60]"Schafer, Randy A" ---01/12/2011 02:53:11 PM---Does anyone know if ipmitool plans on supporting IPV6 in the near future? I realize that there are n From: "Schafer, Randy A" <randy.a.scha...@intel.com> To: "Ipmitool-devel@lists.sourceforge.net" <Ipmitool-devel@lists.sourceforge.net> Date: 01/12/2011 02:53 PM Subject: [Ipmitool-devel] ipmitool and IPV6 ________________________________ Does anyone know if ipmitool plans on supporting IPV6 in the near future? I realize that there are no IPMI commands to configure or query IPV6 parameters, but I would like to be able to establish RMCP and RMCP+ sessions across IPV6. Thanks. Randy Schafer EPSD Firmware Engineering Intel Corporation ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl_______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel
<<inline: image001.gif>>
ipv6_pre.patch
Description: ipv6_pre.patch
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel