Message ID | 20240409030540.77576-1-newtwen+github@gmail.com |
---|---|
Headers | show
Return-Path: <openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=O+RXGmMx; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=BTHHeILL; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VD9qh4421z1yY8 for <incoming@patchwork.ozlabs.org>; Tue, 9 Apr 2024 13:07:28 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uYmoU/O1bwBDbkWmwP0C2w08si3/2dbXKbThkqm/L8E=; b=O+RXGmMxQcHqM2 GhbV8u88ZSMRNYy1HKn7e9MxvpZe4VRYfRqbdkJk51NBooKTM3W+YcfqDWKRdr2eYi5jQMUXuH9Lh qjfBKHAYulJRRZvlo1PFn5sAec1WsQXk17Tv8dkkpjcfwArdM3Dpht0djeB74ib/IY2ple76l1oe8 5xh6DTdLde5RBxnScYuxL4PIVmjDAyRsNQxXNKaS18SKCYRCBrXHEYAAqjb0KwX3uYP1BPdCH3Guu 8YIyGmVjfYfvu5RI801OSP5zc5Wa760bVPdrQQwmhE9H7LgtoSPGUPRX9Ro+5jXy2vlIDL3CQzfhx fNRhCZQah0ehfjB+hKnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru1oW-000000002oq-3wNS; Tue, 09 Apr 2024 03:06:24 +0000 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ru1nx-000000002ZO-490w for openwrt-devel@lists.openwrt.org; Tue, 09 Apr 2024 03:05:53 +0000 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-516d6c1e238so3849985e87.2 for <openwrt-devel@lists.openwrt.org>; Mon, 08 Apr 2024 20:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712631942; x=1713236742; darn=lists.openwrt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=rFNx4DOzmflWF1bXp2fVrOfalNBdMojwUt7sEs4j2ZE=; b=BTHHeILLMrcBtX9EfPrxT7Pvt8ffmzqQXkJ/P9mNk7VpjYflxNLXoHO1liFy9t5fwI g3WZZ1VRxnsI92O1hFlI+ZfVlqtA4v9uSrgUx4tiQ2eTS8X9SkUCUwITnYsEEvPtEDuC JBUn0uO3pkdEqrRkpx6hoATghzbM3pyXTDjOfuSL4GZfrs4DEtA2jnLuz4pCmLA3Zj9J 7WhJ+xWkYFdGuaatfeucA+t4TuzACNrZ3JfQmYzkI4DE+CfW9tNk9k3ToVPgFd97k6Gg YXZ56RbB5u0t8del7QfjGMvVH2LLLr5FqOjTlnaVbCkStMffr7rjBJEILZXWjZNZGx0L kVbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712631942; x=1713236742; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:sender:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rFNx4DOzmflWF1bXp2fVrOfalNBdMojwUt7sEs4j2ZE=; b=ria5yZgov097FMSm4ZjaiZG2hpLUSHKfwN6Qn2MW79ANtLPfC7/sfF79Kb7W2m8LmW XLlVW2v96pVE6Ojg7rS4pdDLFokJ7PExDOp120Icj1hxTKg8hput6jBrV7hebX06rg5X Pu/OtXkYNqVk7Tu6XMRvHcnSM1L1LNzFVfJYQGwPux5LSfN2TDAQrcdDwwKIvTukUD07 8JCeWU2SHfFH6yQcRhW1Jf8I1tMJLmUUV5p1dtpQI+4nybpc2Iy7CSKjScyYgc+Rmh36 9gF97SjZ7qf7fHluGOYP3WyqIpyotywdGWxEPTpkxDL4e5sFdVR112kd6EpSEc+N9Hcm ZkOA== X-Gm-Message-State: AOJu0YwYAvwRc2HuHt/NiZODGuwBU4+s843/ClAwRERq96MCQ9ebH/Ft ejiBYay4ra/KC5s1fBztp4TGoueh+KPefOfSVR7N2g50gmcunHaBboNynayg X-Google-Smtp-Source: AGHT+IH5hVj8U+3SXO5gX/1C+p+9Vqjww+AvegY3lm5XqgEw8KuMbLiuQmSIr+/iqqrXedZC+K82qQ== X-Received: by 2002:ac2:5467:0:b0:516:a091:db5e with SMTP id e7-20020ac25467000000b00516a091db5emr6702735lfn.48.1712631941251; Mon, 08 Apr 2024 20:05:41 -0700 (PDT) Received: from blackhol3 ([2001:9b0:40::cae3:cb03]) by smtp.gmail.com with ESMTPSA id d9-20020ac25ec9000000b00516b0051e6esm1399491lfq.231.2024.04.08.20.05.40 for <openwrt-devel@lists.openwrt.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 20:05:41 -0700 (PDT) From: Paul Donald <newtwen+github@gmail.com> To: OpenWrt Development List <openwrt-devel@lists.openwrt.org> Subject: [PATCH v3 0/9] odhcpd patchset Date: Tue, 9 Apr 2024 05:04:01 +0200 Message-ID: <20240409030540.77576-1-newtwen+github@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240405005510.19778-1-newtwen+github@gmail.com> References: <20240405005510.19778-1-newtwen+github@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240408_200550_189653_E8C9A4AB X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Paul Donald applies to odhcpd master HEAD d8118f6e76e5519881f9a37137c3a06b3cb60fd2 Before: == ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64) Type: Prefix information (3) Length: 4 (32 bytes) Prefix Length: 64 Flag: 0xc0, On-link flag(L), Autonomous address-configuration fl [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:136 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [newtwen+github(at)gmail.com] X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List <openwrt-devel.lists.openwrt.org> List-Unsubscribe: <https://lists.openwrt.org/mailman/options/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=unsubscribe> List-Archive: <http://lists.openwrt.org/pipermail/openwrt-devel/> List-Post: <mailto:openwrt-devel@lists.openwrt.org> List-Help: <mailto:openwrt-devel-request@lists.openwrt.org?subject=help> List-Subscribe: <https://lists.openwrt.org/mailman/listinfo/openwrt-devel>, <mailto:openwrt-devel-request@lists.openwrt.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "openwrt-devel" <openwrt-devel-bounces@lists.openwrt.org> Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org |
Series |
odhcpd patchset
|
expand
|
Any further comments or reviews for this to go in? On 2024-04-09 05:04, Paul Donald wrote: > From: Paul Donald <newtwen@gmail.com> > > applies to odhcpd master HEAD d8118f6e76e5519881f9a37137c3a06b3cb60fd2 > > Before: > == > ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64) > Type: Prefix information (3) > Length: 4 (32 bytes) > Prefix Length: 64 > Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A) > Valid Lifetime: Infinity (4294967295) > Preferred Lifetime: Infinity (4294967295) > Reserved > Prefix: fd51:1c2a:8909:: > ==After:== > ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64) > Type: Prefix information (3) > Length: 4 (32 bytes) > Prefix Length: 64 > Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A) > Valid Lifetime: Infinity (4294967295) > Preferred Lifetime: 420 > Reserved > Prefix: fd51:1c2a:8909:: > == > > > changes: > v1: initial patch > v2: implemented feedback for commit messages > v3: house-keeping. removed config defaults/clamping
From: Paul Donald <newtwen@gmail.com> applies to odhcpd master HEAD d8118f6e76e5519881f9a37137c3a06b3cb60fd2 Before: == ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64) Type: Prefix information (3) Length: 4 (32 bytes) Prefix Length: 64 Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A) Valid Lifetime: Infinity (4294967295) Preferred Lifetime: Infinity (4294967295) Reserved Prefix: fd51:1c2a:8909:: ==After:== ICMPv6 Option (Prefix information : fd51:1c2a:8909::/64) Type: Prefix information (3) Length: 4 (32 bytes) Prefix Length: 64 Flag: 0xc0, On-link flag(L), Autonomous address-configuration flag(A) Valid Lifetime: Infinity (4294967295) Preferred Lifetime: 420 Reserved Prefix: fd51:1c2a:8909:: == changes: v1: initial patch v2: implemented feedback for commit messages v3: house-keeping. removed config defaults/clamping Paul Donald (9): various: refactor pref(erred) to preferred_lt (lifetime) various: refactor valid -> valid_lt (lifetime) router: inherit user-assigned preferred_lifetime router: Limit prefix preferred_lt to valid_lt in accordance with RFC4861 various: Comment spell-fixes, new comments for extra clarification various: (formatting) convert spaces -> tabs router: rename minvalid -> lowest_found_lifetime router: disambiguate and clarify 'no route' messages config: set RFC defaults for preferred lifetime README | 2 +- src/config.c | 55 +++++++++---------- src/dhcpv4.c | 2 +- src/dhcpv6-ia.c | 140 ++++++++++++++++++++++++------------------------ src/dhcpv6.c | 6 +-- src/dhcpv6.h | 8 +-- src/ndp.c | 4 +- src/netlink.c | 56 +++++++++---------- src/odhcpd.c | 8 +-- src/odhcpd.h | 4 +- src/router.c | 115 +++++++++++++++++++++------------------ 11 files changed, 207 insertions(+), 193 deletions(-)