On Tue, May 29, 2012 at 1:12 PM, Tom Isaacson <[email protected]> wrote: >>> What are your thoughts? >> >>You can block incoming packets by MAC using iptables. >>This way, all traffic can be ignored, not only DHCP one. > > I don't want to ignore all traffic! I'm trying to support a legacy device > which fails when it's given a DHCP address (old bug, not my fault), but I > still want it to communicate.
This should work: iptables -A PREROUTING -t mangle -m mac --mac-source 22:33:44:55:66 -p udp --sport 68 -j DROP _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
