|
Posted by Burkhard Ott on August 12, 2008, 8:31 am
If you were Registered and logged in, you could reply and use other advanced thread options
Am Sun, 10 Aug 2008 10:51:49 -0700 schrieb hat-trick:
> On Jun 15, 3:02 pm, albrechtuhlm...@gmx.net wrote:
>> for every IP packet that I send. Is this possible at all? I know that
>> the MAC address
>> can be changed in software but per IP frame? On the other hand, every
>> layer 2
>> controllers I got hands on allow you to program the MAC address but it
>> is then
>> automatically filled in for every packet.
>>
>> Also, how would the programming side look like? I presume I must use
>> RAW sockets
>> but in which field would I set the source MAC address?
>>
What about /usr/src/linux/if_ether.h ?
(struct ethhdr)
You can set the MAC address to what ever you want.
cheers
|