Re: Get physical MAC address

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jon Masters <jonathan@...>
Cc: Theewara Vorakosit <thvo@...>, <linux-kernel@...>
Date: Tuesday, January 1, 2008 - 11:12 pm

On Jan 01, 2008, at 21:42:18, Jon Masters wrote:

Not necessarily;  I can easily see distros wanting to have a "Restore  
defaults" button in their network config windows which also includes  
restoring the default MAC address to the NIC.  It should also be  
pointed out that anybody with one of a selection of re-flashable NICS  
(or NICS with removable EEPROMS) can easily change the MAC address on  
their NIC.  Other alternatives includes renaming eth0 to mynet0 and  
creating a downed dummy interface called "eth0" with the desired MAC  
addr.



Well for basically any userspace-level check, all it takes is  
somebody who knows ASM and has about 5 minutes to track down the  
problematic branch instructions.  Then they just have to write a 10- 
line GDB script which starts the program, traps the appropriate  
instructions, and then changes a "0" to a "1" (or vice versa) before  
the conditional branch.  On Windows it's vaguely practical (albeit  
crash-prone) to load a kernel hack which prevents your program from  
being debugged, but under Linux it's effectively impossible

Cheers,
Kyle Moffett

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Get physical MAC address, Theewara Vorakosit, (Mon Dec 31, 1:39 am)
Re: Get physical MAC address, Matt Domsch, (Wed Jan 2, 12:58 am)
Re: Get physical MAC address, Bernd Petrovitsch, (Wed Jan 2, 5:31 am)
Re: Get physical MAC address, Jon Masters, (Tue Jan 1, 10:42 pm)
Re: Get physical MAC address, Kyle Moffett, (Tue Jan 1, 11:12 pm)
Re: Get physical MAC address, Bernd Petrovitsch, (Tue Jan 1, 7:07 pm)
Re: Get physical MAC address, Stephen Hemminger, (Tue Jan 1, 10:12 pm)