Bug#423457: wakeonlan: extract MAC from IPv6 address
Hi, I'm not sure this idea makes sense. Where would someone obtain a list of IPv6 addresses that they wish to send Wake-on-LAN packets to? And if preparing such a list, would it not be possible to compile an accurate list of MAC addresses at the time (using broadcast pings, ICMPv6 neighbour discovery and/or ipv6calc)? In many cases, a link-local (FE80:://64) IPv6 address can be mapped to the interface's MAC address, but a notable exception would be Windows boxes since Vista by default -- they randomise this: * http://technet.microsoft.com/en-us/magazine/2007.08.cableguy.aspx A properly-generated link-local address based on the interface MAC should end with ':xxFF:FExx:', whereas the random ones generated by Windows probably won't. Globally-routed IPv6 addresses are even less likely to map to a real MAC address. Hosts using IPv6 Privacy Extensions may periodically randomise these on their outgoing traffic. And globally-routed or site-local addresses may have been statically assigned, or leased from a pool via DHCPv6. So it would seem this feature would rarely work. Regards, -- Steven Chamberlain ste...@pyro.eu.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#423457: wakeonlan: extract MAC from IPv6 address
On Wed, Sep 03, 2008 at 11:10:50AM +0200, Thomas Prochaska wrote: this is about the common way of autoconfiguring IPv6 addresses by creating the host-specific interface identifier (the lower 64 bits of the address)from the Ethernet address of the host. This can indeed be reversed, so the request makes sense. That's right. But I think the question is if that is always possible. The interface doesn't necessarily have to be autoconfigured. Maybe we can think of a way to handle this cases. The autoconfigured addresses have the bytes 0xFF and 0xFE in the middle of the MAC address to fill the lower 64 bits. -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#423457: wakeonlan: extract MAC from IPv6 address
hi! this is about the common way of autoconfiguring IPv6 addresses by creating the host-specific interface identifier (the lower 64 bits of the address)from the Ethernet address of the host. This can indeed be reversed, so the request makes sense. That's right. But I think the question is if that is always possible. The interface doesn't necessarily have to be autoconfigured. Maybe we can think of a way to handle this cases. regards Thomas Prochaska -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#423457: wakeonlan: extract MAC from IPv6 address
On Mon, May 14, 2007 at 01:10:19PM +0200, Thijs Kinkhorst wrote: Hi, On Saturday 12 May 2007 01:12, Rob Leslie wrote: If a host has a resolvable IPv6 address, it would be nice to have an option to automatically extract the MAC address from it. Thanks for your report, but can you clarify: how exactly do you expect such an option to work? I don't think a way exists to automatically deduce the mac address from the IPv6 address in any case? Hi Thijs, this is about the common way of autoconfiguring IPv6 addresses by creating the host-specific interface identifier (the lower 64 bits of the address) from the Ethernet address of the host. This can indeed be reversed, so the request makes sense. An example with the 'ipv6calc' program: % host -t www.kame.net www.kame.net2001:200:0:8002:203:47FF:FEA5:3085 % ipv6calc --showinfo 2001:200:0:8002:203:47FF:FEA5:3085 No input type specified, try autodetection...found type: ipv6addr No output type specified, try autodetection...found type: ipv6addr Address type: unicast, global-unicast, productive Address type has SLA: 8002 Registry for address: APNIC Interface identifier: 0203:47ff:fea5:3085 EUI-48/MAC address: 00:03:47:a5:30:85 MAC is a global unique one MAC is an unicast one OUI is: Intel Corporation See RFC 2464 for details. Cheers, -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#423457: wakeonlan: extract MAC from IPv6 address
tags 423457 moreinfo ipv6 thanks Hi, On Saturday 12 May 2007 01:12, Rob Leslie wrote: If a host has a resolvable IPv6 address, it would be nice to have an option to automatically extract the MAC address from it. Thanks for your report, but can you clarify: how exactly do you expect such an option to work? I don't think a way exists to automatically deduce the mac address from the IPv6 address in any case? Please provide an example of how you would use this and how wakeonlan would then work (or a patch :). thanks, Thijs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#423457: wakeonlan: extract MAC from IPv6 address
Package: wakeonlan Version: 0.41-6 Severity: wishlist If a host has a resolvable IPv6 address, it would be nice to have an option to automatically extract the MAC address from it. Cheers. -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wakeonlan depends on: ii perl 5.8.8-7Larry Wall's Practical Extraction ii perl-modules 5.8.8-7Core Perl modules wakeonlan recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]