Re: fake MAC addresses and ARP



On Tue, 2007-04-17 at 22:00 +1000, Peter Jeremy wrote:
On 2007-Apr-17 13:36:43 +1000, Alan Garfield <alan@xxxxxxxxxxxxx> wrote:
I've got a little driver that communicates via a small buffer on the
motherboard of a Sun Fire V20z to a built-in "service processor" which
is running Linux. The driver on both sides makes the buffer look like a
Ethernet interface.

I'd be interested in using this.

Yeah it's going to be pretty handy. I'm also going to port the Poci
control daemon too, which should allow FreeBSD to be controlled via the
SP. If you'd like to look/test the code just pop me an email.

Once I figure out the license requirements I'm hoping to have it added
to FreeBSD HEAD.


The Linux driver I'm porting simply grabbed any outgoing arp requests,
made up an appropriate response with the pre-defined fake MAC's, put it
into the input queue and ate the request packet.

A quick-and-dirty work-around would seem to be
arp -s 169.254.101.2 Fa:ke:ma:cA:dd:re:ss

Tried that, I get :-

set: can only proxy for 169.254.101.2

.... and it still doesn't work! :)

Otherwise, I think you would need to fiddle with the transmit packet
code in your driver.

Yeah, I'm beginning to think this will be the case and that I'm starting
to hate ARP and the lack of kernel docs on the subject.

Thanks,
Alan.

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: {OT}Re: HOLY F__k!
    ... Yeah, they say Diana died because she was trying to escape reporters. ... operating the aircraft or the driver of Di's limo. ... Driven by a borderline drunk driver doing a rather high rate of ...
    (alt.autos.toyota)
  • Re: A New Category of Sloth
    ... >> According to what you wrote, you won't stand up and defend your right ... > there anyhting we could have done to not collid with that other vehicle. ... > Yeah, don't assume the other driver is going to yield. ...
    (rec.autos.driving)
  • Re: Crashes vs. Congestion - Whats the Cost to Society?
    ... Sorry that you want to keep your head buried in the sand. ... want to actually drive on a real congested highway to see what ... that will help if the driver is ... "oh yeah, I was following too closely", or "oh yeah, I was trying to ...
    (misc.transport.road)
  • Re: Hats off to #88
    ... > potentially injure or kill another driver? ... > Yeah, he's full of emotion... ... I think his emotion got the better of him and he performed the boot poorly ...
    (rec.autos.sport.nascar)
  • Re: [GIT]: Networking
    ... I looked at the driver and got it working. ... stuff works for the wireless card and that seems to be their way of doing the ... Yeah, the rfkill literally makes the chip go away from the PCI lists, it ... merge window started, so I've had no time to even play with it. ...
    (Linux-Kernel)