[SATLUG] MAC Address Spoofing

Alan Lesmerises alesmerises at satx.rr.com
Mon Dec 10 22:37:07 CST 2007

I don't really know any of the details about this particular topic, but 
couldn't you build a database of pre-built messages (with the MAC 
addresses generated and encoded as required) ahead of time, and when it 
comes time to run the test, use a script of some kind to retrieve and 
send the messages with all the encoding already embedded in them?

You wouldn't have to spend any time running some random number generator 
routine to create the fictional MAC addresses during the test, so it 
should allow you to send more messages nearly simultaneously than if you 
were generating the MAC addresses on-the-fly.

Brad Knowles wrote:
> On 12/10/07, Bruce Dubbs wrote:
>>>  I saw this, but I need to change the MAC address many times in a short
>>>  amount of time so that the switch thinks that it is receiving a lot of
>>>  messages from a lot of devices. (I apologize for phrases like "a lot",
>>>  "a short amount of time", but I don't know exactly what I need yet).
>>  Why can't you write a bash script to do it as many times as you need?
> I get the impression that the OP needs to generate hundreds of 
> thousands or millions of different MAC addresses in just a few seconds 
> in order to completely overflow the MAC address tables on the switch, 
> and I don't think a bash script is going to be able to operate quickly 
> enough.
> But if you could get a moderate number of clients all running the same 
> script and randomly choosing MAC addresses, you might be able to 
> parallelize the work enough that it would be sufficient.  But only the 
> OP can tell for sure.

More information about the SATLUG mailing list