From patchwork Thu Sep 5 08:44:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8080 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4WztGL6Mpdz3wdh for ; Thu, 5 Sep 2024 08:44:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4WztGJ2P81z1kN; Thu, 5 Sep 2024 08:44:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4WztGJ0FgFz33nf; Thu, 5 Sep 2024 08:44:56 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4WztGG13kBz2xkm for ; Thu, 5 Sep 2024 08:44:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4WztGF40BYzpt; Thu, 5 Sep 2024 08:44:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1725525893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=D8c0lDUqo2AXLw3jAcmI7xV+qQ+ek5PT0wcKk7AdHSw=; b=K7QG8Kk97XvpEEmv3SjGbGjl/JP/ef+CUXnIeo4pM73hadUeQplACvPksJV5hbuUdqKnJW 7Itb+N3watAXeYBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1725525893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=D8c0lDUqo2AXLw3jAcmI7xV+qQ+ek5PT0wcKk7AdHSw=; b=gQw4aPUhYe5328mvQw6nxEvuAhtKvEsX0EI2GAYWCGiVy8ybrmcHlCiWZw2rYQmDsD4hZG AWsTAk7I0S2TE04/fJ/bLnaMndiysc5qWy5Noay14GO3RTSTprbzzCMbP/tvZcQ/WPRKow ZlrG58/DWccdOnnfO58TlhKu0OjIGB0nf1rE/QYLhLMJggKjmBkHjpvdhPduiawJ+hm6Bg vaYQv8kAg0U2fHL5s5xsISZStcB9IZc6HZbjo7vYaIl5WWVJh0P5BFF+nYhq1WuNmfXhRI pgYISD+Qlsm0bNnCckswoRtZAVZay29IrKy1e927ocY27FdZ93RaMCWklyIp6A== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] dhcpcd: Update to version 10.0.10 Date: Thu, 5 Sep 2024 10:44:49 +0200 Message-ID: <20240905084449.3414820-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: IETKC6WJH63F522KDWAIIFPOFVDXE26D X-Message-ID-Hash: IETKC6WJH63F522KDWAIIFPOFVDXE26D X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 10.0.8 to 10.0.10 - Update of rootfile not required - Patch for free selection of MTU has been removed as in version 10.0.9 the MTU code was changed to not apply limits to it. - Changelog 10.0.10 Reversion of commit "linux: make if_getnetworknamespace static" 10.0.9 Option 2: Fix stdin parsing by @holmanb in #289 IPv4LL: Restart ARP probling on address conflict by @LeoRuan in #340 DHCP: Handle option 108 correctly when receiving 0.0.0.0 OFFER by @taoyl-g in #342 DHCP: No longer set interface mtu by @rsmarples in #346 Update privsep-linux.c to allow statx by @Jabrwock in #349 Signed-off-by: Adolf Belka --- lfs/dhcpcd | 5 +-- ...ow-free-selection-of-MTU-by-the-user.patch | 44 ------------------- 2 files changed, 2 insertions(+), 47 deletions(-) delete mode 100644 src/patches/dhcpcd-10.0.2-Allow-free-selection-of-MTU-by-the-user.patch diff --git a/lfs/dhcpcd b/lfs/dhcpcd index 3bac681d8..10b7b0212 100644 --- a/lfs/dhcpcd +++ b/lfs/dhcpcd @@ -24,7 +24,7 @@ include Config -VER = 10.0.8 +VER = 10.0.10 THISAPP = dhcpcd-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 1bf27387c13f192c6216e2f1ecad06bfa82267d5d6e08ddaa123789699fe9154222c33b1aa1f603e65ae8dce510cb24d48e72701494e0793c766e81f024f8bc5 +$(DL_FILE)_BLAKE2 = 2ecf52009f3fd4442863e1927a8d9e777ee6f34ff4d50a6f1e67821fb23fd12221df1e3a0a04ea0874df8feac15785772b4aa75af407f74448e442db36410e30 install : $(TARGET) @@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/dhcpcd-10.0.2-Allow-free-selection-of-MTU-by-the-user.patch cd $(DIR_APP) && ./configure \ --prefix="" \ --sysconfdir=/var/ipfire/dhcpc \ diff --git a/src/patches/dhcpcd-10.0.2-Allow-free-selection-of-MTU-by-the-user.patch b/src/patches/dhcpcd-10.0.2-Allow-free-selection-of-MTU-by-the-user.patch deleted file mode 100644 index 69a35daf5..000000000 --- a/src/patches/dhcpcd-10.0.2-Allow-free-selection-of-MTU-by-the-user.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 1acff721a3874a74efc9921a1e07bd48bd7efab0 Mon Sep 17 00:00:00 2001 -From: Michael Tremer -Date: Tue, 22 Feb 2022 12:07:15 +0000 -Subject: [PATCH] Allow free selection of MTU by the user - -Various ISPs (or equipment?) seem to hand out an MTU of only 576 bytes. -Hwoever, this does not seem to be intentional which is why we would like -to manually overwrite this in the configuration. - -dhcpcd only allows setting a maximum MTU of 1472 bytes which does not -seem to have any rationale (any more). Although Ethernet might limit any -MTU to less, IPv6 and IPv4 support MTUs of up to 64KiB. - -This patch allows the user to configure the MTU freely with providing -some sanity check. - -Signed-off-by: Michael Tremer ---- - src/dhcp-common.h | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/src/dhcp-common.h b/src/dhcp-common.h -index a82fcd4c..d6620822 100644 ---- a/src/dhcp-common.h -+++ b/src/dhcp-common.h -@@ -46,10 +46,11 @@ - #define NS_MAXLABEL MAXLABEL - #endif - --/* Max MTU - defines dhcp option length */ --#define IP_UDP_SIZE 28 --#define MTU_MAX 1500 - IP_UDP_SIZE --#define MTU_MIN 576 + IP_UDP_SIZE -+/* Max/Min MTU */ -+#define MTU_MAX 65536 -+#define MTU_MIN 576 -+ -+#define IP_UDP_SIZE 28 - - #define OT_REQUEST (1 << 0) - #define OT_UINT8 (1 << 1) --- -2.30.2 -