[SLL] MAC spoofery and other fun
Rob Smith
kormoc at gmail.com
Sat Aug 5 22:38:03 PDT 2006
On 8/5/06, Glenn Stone <technoshaman at liawol.org> wrote:
> Learn something every day. $BOSS was having fun with a laptop directly
> behind a Comcast cablemodem. No DHCP. Now, most of us know that Comcast is
> persnickety about MAC addresses. Just for such an occasion, most routers
> these days have "spoof the MAC address" interfaces, like this little WRT54GL
> sitting up here doing its thing. But if the '54GL is running Linux, how the
> heck is it spoofing the MAC address underneath it all? (Or how would we do
> it if we were setting up, say, a Shorewall-based router?)
Also, you can just set it on the fly via ifconfig, for example
/sbin/ifconfig eth0 hw ether 12:34:56:78:90:ab
The one college I know did bandwidth restirctions based on mac
addresses, so a simple cronned script to change the mac randomly every
10 minutes or so prevented it from ever getting hit :)
~Rob
More information about the linux-list
mailing list