Hacking Mac OS Ain’t Working

I’m trying to hack MacOS to allow spoofing of ethernet MAC addresses. It doesn’t work, yet. I’ve followed the popular advice on the net, but it isn’t quite getting me there”

I’m using a PowerBook G4 12” and I’m trying to spoof with the local ethernet (en0) device. Out of the box, that shouldn’t work. But there are supposedly ways to make it work.

Here are some relevant links

I am using Nemesis to inject packets with spoofed source MACs. Sadly, Nemesis requires an older version of Libnet which is a bit annoying, since they both come from the same place. Libnet, both the latest and the older version, don’t seem to support MacOS X very well.

After seeing this patch from this message on the cfengine mailing list, I decided to change the use of SIOCGIFCONF to OSIOCGIFCONF. This changes the error messages I get, which is interesting. I now get EAFNOSUPPORT Address family not supported by protocol family whatever that means.