[pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply

Wolfgang Bumiller w.bumiller at proxmox.com
Fri Nov 17 09:55:18 CET 2023


On Fri, Nov 17, 2023 at 06:49:27AM +0000, DERUMIER, Alexandre wrote:
> -------- Message initial --------
> De: "DERUMIER, Alexandre" <alexandre.derumier at groupe-cyllene.com>
> À: pve-devel at lists.proxmox.com <pve-devel at lists.proxmox.com>,
> aderumier at odiso.com <aderumier at odiso.com>, s.hanreich at proxmox.com
> <s.hanreich at proxmox.com>
> Objet: Re: [pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease
> of dhcp reply
> Date: 16/11/2023 14:47:20
> 
> > > Maybe this [1][2] could be a less intrusive solution for this
> > > issue?
> 
> >>Yes, dhcp release packet should be the way, but I don't known if can
> >simply forge packet why any mac ?
> >>>
> >>I'll test it this afternoon to see if it's work.
> 
> 
> mmm,It's not working, the dhcp release packet never reach the bridge

What command did you use?

If all you need is the `lease_prune()` call from your C patch, dnsmasq
also does this on a SIGALRM so you could try to see if sending that
helps.

(dnsmasq also has a dbus api to add/remove leases for the worst case...)

Otherwise, at first glance the C patch seems to potentially break some
other cases, but I don't know the code at all.





More information about the pve-devel mailing list