public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Wolfgang Bumiller <w.bumiller@proxmox.com>
To: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
Cc: "pve-devel@lists.proxmox.com" <pve-devel@lists.proxmox.com>,
	 "aderumier@odiso.com" <aderumier@odiso.com>,
	"s.hanreich@proxmox.com" <s.hanreich@proxmox.com>
Subject: Re: [pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply
Date: Fri, 17 Nov 2023 09:55:18 +0100	[thread overview]
Message-ID: <whb7tslznqpbtjujjx6a33wlsmucsdeuti36zdiplei22nmxv3@er2ckmgbxlvf> (raw)
In-Reply-To: <d1c2dfec90ef70a9ffc20bbe669ad837a99a5243.camel@groupe-cyllene.com>

On Fri, Nov 17, 2023 at 06:49:27AM +0000, DERUMIER, Alexandre wrote:
> -------- Message initial --------
> De: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>
> À: pve-devel@lists.proxmox.com <pve-devel@lists.proxmox.com>,
> aderumier@odiso.com <aderumier@odiso.com>, s.hanreich@proxmox.com
> <s.hanreich@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.




  reply	other threads:[~2023-11-17  8:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-15 21:58 Alexandre Derumier
2023-11-15 21:58 ` [pve-devel] [PATCH dnsmasq 1/1] purge old ip-mac lease on dhcpreply Alexandre Derumier
2023-11-16  9:43 ` [pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply Stefan Hanreich
2023-11-16 13:47   ` DERUMIER, Alexandre
2023-11-17  6:49     ` DERUMIER, Alexandre
2023-11-17  8:55       ` Wolfgang Bumiller [this message]
2023-11-17  9:19         ` DERUMIER, Alexandre
2023-11-17  9:42           ` DERUMIER, Alexandre
2023-11-17 10:46             ` DERUMIER, Alexandre
2023-11-17 10:49               ` Stefan Hanreich
2023-11-17 10:52                 ` DERUMIER, Alexandre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=whb7tslznqpbtjujjx6a33wlsmucsdeuti36zdiplei22nmxv3@er2ckmgbxlvf \
    --to=w.bumiller@proxmox.com \
    --cc=aderumier@odiso.com \
    --cc=alexandre.derumier@groupe-cyllene.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.hanreich@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal