From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 317B79A021 for ; Fri, 17 Nov 2023 09:55:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0C36A1E358 for ; Fri, 17 Nov 2023 09:55:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 17 Nov 2023 09:55:19 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 37EE343D29; Fri, 17 Nov 2023 09:55:19 +0100 (CET) Date: Fri, 17 Nov 2023 09:55:18 +0100 From: Wolfgang Bumiller To: "DERUMIER, Alexandre" Cc: "pve-devel@lists.proxmox.com" , "aderumier@odiso.com" , "s.hanreich@proxmox.com" Message-ID: References: <20231115215843.856752-1-aderumier@odiso.com> <22427644-8456-fa1c-92f7-aa5386127fc7@proxmox.com> <300e8e6526824d5c31aa7677bd030ade872572c3.camel@groupe-cyllene.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-SPAM-LEVEL: Spam detection results: 0 AWL 0.101 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Nov 2023 08:55:50 -0000 On Fri, Nov 17, 2023 at 06:49:27AM +0000, DERUMIER, Alexandre wrote: > -------- Message initial -------- > De: "DERUMIER, Alexandre" > À: pve-devel@lists.proxmox.com , > aderumier@odiso.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.