[From nobody Thu Jun 25 05:54:56 2020
Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144])
 by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux))
 id 1gSpNI-0001Ci-1X
 for openwrt-devel@lists.openwrt.org; Fri, 30 Nov 2018 20:26:57 +0000
Received: by mail-lf1-x144.google.com with SMTP id p6so5039711lfc.1
 for &lt;openwrt-devel@lists.openwrt.org&gt;; Fri, 30 Nov 2018 12:26:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kempniu.pl; s=google;
 h=sender:date:from:to:subject:message-id:references:mime-version
 :content-disposition:content-transfer-encoding:in-reply-to
 :user-agent; bh=8h46esj4MJdUaSQ9RoO3TrVUXn6wplzgWGIoasQWTD4=;
 b=wHlptsRaC4PQIPA6rxJawiQskZE+FbvyQKWym7XSnqfm05Mmfi7olPD2t+pAA/Naag
 1D5NaikxOVN5YMm8JSM90wFHjZ5rRf1re82YBdVXP5PJvEeIeqAVIredOEpFGsrUto+V
 P1jm17kicWhptkmn8P9GgulUtfM/DhrbGiKRk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:date:from:to:subject:message-id
 :references:mime-version:content-disposition
 :content-transfer-encoding:in-reply-to:user-agent;
 bh=8h46esj4MJdUaSQ9RoO3TrVUXn6wplzgWGIoasQWTD4=;
 b=Az4pxNhJkvCL/amh6WWWLh4G2r+asSx2PYs13AUb2K7JZpV4G3BhV2fiXE3Basxqrb
 XOa92vLipl3TRBHEpiU9r44R7UvfAn/7p1JB5pSzoZ4rBUTDkQpWdBZCSU4FEOhIA2YG
 /IGS4MdX2kv6LyBqLLQwIRDChrLuS69RsTfYq7BeKXV/sw0WN4WvpoQT3Hcn2c5NKtbJ
 jTgs+8zYqao9XiM/AKtJ2HzLaey8LitE3mXvogOmcf8c3btmpazqftdpTnKAKBIVMbMv
 PzvvwCQj1PBd+lRXMuYj2aRDGpiq7pFhvBAvXsgH8uxtOsVQkGU+1zvzp/igq3NZG/9T
 YKUA==
X-Gm-Message-State: AA+aEWZ6lMgNz1XGpD91hQ2nQgXIF89BDhLqnu1CB2+eifKD+uJFbR6Q
 PPjASLwN/jtpK4kJMT+sYP5lmg==
X-Google-Smtp-Source: AFSGD/X8yYFlib1EqVmUIQklQl0HYFCOtHY8anRdA4aRQdBRn3JCQBxhehiKnzyll3uLJ2QIAsmMfA==
X-Received: by 2002:a19:6a13:: with SMTP id u19mr4284513lfu.46.1543609603472; 
 Fri, 30 Nov 2018 12:26:43 -0800 (PST)
Received: from larwa.hq.kempniu.pl ([2001:470:64df:64::b71])
 by smtp.gmail.com with ESMTPSA id u26-v6sm947574lji.22.2018.11.30.12.26.41
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Fri, 30 Nov 2018 12:26:42 -0800 (PST)
Sender: =?UTF-8?B?TWljaGHFgiBLxJlwaWXFhA==?= &lt;kempniu@kempniu.pl&gt;
Date: Fri, 30 Nov 2018 21:26:39 +0100
From: =?utf-8?B?TWljaGHFgiBLxJlwaWXFhA==?= &lt;lede@kempniu.pl&gt;
To: Hans Dedecker &lt;dedeckeh@gmail.com&gt;,
 openwrt-devel &lt;openwrt-devel@lists.openwrt.org&gt;
Subject: Re: [OpenWrt-Devel] [PATCH] odhcpd: allow specifying lease trigger
 mode
Message-ID: &lt;20181130202639.GB3075@larwa.hq.kempniu.pl&gt;
References: &lt;mailman.6910.1530045246.25356.openwrt-devel@lists.openwrt.org&gt;
 &lt;CAJLcKsHfAea_va3tCSWShTW=EY768EmiDTfWuxbRba_Bm604iw@mail.gmail.com&gt;
 &lt;mailman.10547.1531678838.25356.openwrt-devel@lists.openwrt.org&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: &lt;mailman.10547.1531678838.25356.openwrt-devel@lists.openwrt.org&gt;
User-Agent: Mutt/1.11.0 (2018-11-25)
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 
X-CRM114-CacheID: sfid-20181130_122656_159414_69FAEA7F 
X-CRM114-Status: GOOD (  10.62  )
X-Spam-Score: -0.1 (/)
X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary:
 Content analysis details:   (-0.1 points)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:144 listed in]
 [list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
 author's domain
 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
 valid
 -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from
 envelope-from domain
 0.1 FROM_EXCESS_BASE64     From: base64 encoded unnecessarily

&gt; &gt; What usecase do you want to cover by calling the lease script every time ?
&gt; 
&gt; I want to assign a FQDN to every device which gets an IP address from
&gt; odhcpd.  My lease script updates DNS records, generating MAC-based names
&gt; for devices which do not provide hostnames in their DHCP requests.  The
&gt; missing piece of the puzzle is thus a way of triggering the lease script
&gt; when an IP address is leased to a host which did not provide a hostname
&gt; in its DHCP request (and when such a lease is deleted).  The only way I
&gt; can think of to achieve that without patching odhcpd is to resort to
&gt; some sort of polling, but it feels a bit clumsy to me since an arbitrary
&gt; amount of time may pass between two DHCP events and I am trying to make
&gt; the relevant DNS zone match the lease database as closely as possible at
&gt; any given time.

Was there any particular reason for marking this patch as &quot;Rejected&quot; in
Patchwork?

-- 
Best regards,
Michał Kępień

]