lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20060927180317.478cd8f6.akpm@osdl.org>
Date:	Wed, 27 Sep 2006 18:03:17 -0700
From:	Andrew Morton <akpm@...l.org>
To:	Björn Steinbrink <B.Steinbrink@....de>
Cc:	Martin Filip <bugtraq@...ula.net>, linux-kernel@...r.kernel.org,
	Ayaz Abdulla <aabdulla@...dia.com>
Subject: Re: forcedeth - WOL [SOLVED]

On Thu, 28 Sep 2006 02:40:53 +0200
Bj__rn Steinbrink <B.Steinbrink@....de> wrote:

> On 2006.09.28 02:04:48 +0200, Bj__rn Steinbrink wrote:
> > 
> > Hi Andrew,
> > 
> > 
> > On 2006.09.27 16:57:04 -0700, Andrew Morton wrote:
> > > On Wed, 27 Sep 2006 22:38:06 +0200
> > > Martin Filip <bugtraq@...ula.net> wrote:
> > > 
> > > > Hi,
> > > > 
> > > > Bj__rn Steinbrink p____e v St 27. 09. 2006 v 20:38 +0200:
> > > > 
> > > > > Did you check that WOL was enabled? I need to re-activate it after each
> > > > > boot (I guess that's normal, not sure though).
> > > > > The output of "ethtool eth0" should show:
> > > > > 
> > > > >         Supports Wake-on: g
> > > > >         Wake-on: g
> > > > > 
> > > > Yes, of course :)
> > > > 
> > > > > Also, I remember a bugzilla entry in which it was said that the MAC was
> > > > > somehow reversed by the driver. I that is still the case (I can't find
> > > > > the bugzilla entry right now), you might just reverse the MAC address in
> > > > > your WOL packet to workaround the bug.
> > > > 
> > > > Hey! this is really crazy :) but it works! To bo honest - I really do
> > > > not know what crazy bug could cause problems like this. I thought it's
> > > > NIC thing to manage all the work about WOL. I thought OS only sets NIC
> > > > into "WOL mode".
> > > > 
> > > > But seeing this - one packet for windows and one magic packet for linux
> > > > driver - I really do not get it.
> > > > 
> > > 
> > > Are you saying that byte-reversing the MAC address make WOL work correctly?
> > > 
> > > What tool do you use to send the packet, and how is it being invoked?
> > > 
> > > Do we know if this reversal *always* happens with this driver, or only
> > > sometimes?
> > > 
> > > Thanks.
> > 
> > searching bugzilla was more succesful this time (somehow bugzillas hate
> > me, so I need a bunch of tries every time), the bug I meant was #6604.
> > 
> > The bugreport says that it should work with 0.57 though (which is in
> > 2.6.18 AFAICT), I'll go and see if it works for me...
> 
> ... 5 reboots later ...
> 
> It still breaks with 2.6.18.
> 
> Not touching WOL from Linux at all, rebooting and turning the box off
> during POST, WOL works using the real MAC address.
> 
> Booting 2.16.17.x or 2.6.18, turning on WOL and finally shutting down
> the box, I need to send the WOL packet with the MAC address reversed.
> 

Could I re-ask these questions?


Are you saying that byte-reversing the MAC address make WOL work correctly?

What tool do you use to send the packet, and how is it being invoked?

Do we know if this reversal *always* happens with this driver, or only
sometimes?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ