On Monday, July 29th, 2024 at 21:08, Salatiel Filho <salatiel.fi...@gmail.com> 
wrote:
> Would it be possible to make that log for dhcpdiscover ignored macs be in 
> that "logged only once" mode that shows up for some dnsmasq events?

I had a similar problem with my Lutron bridge spamming with DHCPv6 requests 
once a second that I was able to address with a couple of iptables rules to 
rate-limit the requests before they ever reach dnsmasq.

This is what worked for me:

ip6tables -I INPUT -p udp -m udp --dport 546:547 -m mac --mac-source 
30:45:11:AD:98:6F -j DROP
ip6tables -I INPUT -p udp -m udp --dport 546:547 -m mac --mac-source 
30:45:11:AD:98:6F -m limit --limit 1/hour -j ACCEPT

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q3/017636.html

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to