From patchwork Fri Sep 12 10:10:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 9045 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) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cNVYw2PKZz3wkk for ; Fri, 12 Sep 2025 10:11:00 +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) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cNVYw1VkLz3gx for ; Fri, 12 Sep 2025 10:11:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cNVYr6bn6z32xl for ; Fri, 12 Sep 2025 10:10:56 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cNVYp1h1vz32SZ for ; Fri, 12 Sep 2025 10:10: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 4cNVYn4tqbz3X1; Fri, 12 Sep 2025 10:10:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757671853; 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: in-reply-to:in-reply-to:references:references; bh=m/bj2WYFOKpPmV90h4UmApAYNEJbYbNeoiZd2f10Kik=; b=gb8978pr63RAvvarIIqXw/qS2hbRwvkNruTv3ZWPihY0+wPfI1Do5nOjwhh3ve1P7/GjHG F82jfVV8WolZ84Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757671853; 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: in-reply-to:in-reply-to:references:references; bh=m/bj2WYFOKpPmV90h4UmApAYNEJbYbNeoiZd2f10Kik=; b=p5K4skrTpHZV9Ais2UAfBs7xCxcejjZA3FWLTRQK4+lcrnE3P5qaV7wHD6u+scgH3w8n81 Nofegi8yhDYl7ohx03JDU/wSI3U60m9hBy8bMx0SbfBGdfwLRCbBZlibyxoyFGkdy/xMVP 0mE3E5IQ/el0W2mIXo9QKnEt3dcAVSolh2tVcbB68xTzHfxtpD9s6nS4ioVO4Wn1pRzivj Vd+xLdBmffVp78F8VLkiRVYwRmLIhAZQRcBQQ8cQGWIRTxheeTyeld7fvuuG/44IpGHL7o n2xVLHRNu/NnrzSrNUKoIM97NggUJSYcTgdse9A6AKS7g62hH3Su/7mwOgpqlQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] libslirp: Update to version 4.9.1 Date: Fri, 12 Sep 2025 12:10:40 +0200 Message-ID: <20250912101046.7142-7-adolf.belka@ipfire.org> In-Reply-To: <20250912101046.7142-1-adolf.belka@ipfire.org> References: <20250912101046.7142-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 4.7.0 to 4.9.1 - Update of rootfile not required - 2 security fixes in version 4.8.0 - Changelog 4.9.1 Fixed - meson: use boolean defaults for boolean options !149 - meson: specify that C++ is only used for host binaries !149 - meson: add dependency override for libslirp !150 - Do not link tests with libslirp.map #84 - apple: Fix getting IPv4 DNS server address when IPv4 and IPv4 are interleaved #85 - Windows: Fix ICMP generation #87 #88 - tcp: Fix starting the linger2 timer on socket shutdown #86 Changed - tcp: on input, reset TCPT_KEEP to TCPTV_KEEP_IDLE rather than TCPTV_KEEPINTVL - tcp: on input during init, reset TCPT_KEEP to TCPTV_KEEP_INIT - tcp: Reduce linger time to two minutes 4.9.0 Added - Add SlirpAddPollSocketCb and {,un}register_poll_socket that can be used from SLIRP_CONFIG_VERSION_MAX 6 to properly support socket handles on win64. Fixed - bootp: Fill siaddr with tftp addr as per RFC2131 !135 - tcp_listen: Fix host forwarding on Windows !137 - tftp: Fix address returned in proxying #82 !147 Changed - Fix build on mold #77 - Fix static linking !134 - slirp_os_socket abstraction for Windows !136 - cksum: Update implementation to include 64-bit computation support !144 - reduce compilation warnings on Windows !143 4.8.0 Security - tcp: Fix testing for last fragment - tftp: Fix use-after-free Added - Add support for Haiku !123 - ncsi: Add manufacturer's ID !122 - ncsi: Add Get Version ID command !122 - ncsi: Add out-of-band ethernet address !125 - ncsi: Add Mellanox Get Mac Address handler !125 - icmp6: Add echo request forwarding support - Add fuzzing infrastructure Fixed - Fix missing cleanups - windows: Build fixes - ipv6: Use target address from Neighbor Advertisement !129 - dns: Reject domain-search when any entry ends with ".." - dns: Use localhost as dns when /etc/resolv.conf empty !130 - icmp: Handle ICMP packets as IPPROTO_IP on BSD !133 - eth: pad ethernet frames to 60 bytes #34 Signed-off-by: Adolf Belka --- lfs/libslirp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/lfs/libslirp b/lfs/libslirp index cdbb7981f..1488baac2 100644 --- a/lfs/libslirp +++ b/lfs/libslirp @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2025 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,8 +26,7 @@ include Config SUMMARY = A general purpose TCP-IP emulator used by virtual machine hypervisors to provide virtual networking services. - -VER = 4.7.0 +VER = 4.9.1 THISAPP = libslirp-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -35,13 +34,12 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = libslirp -PAK_VER = 1 +PAK_VER = 2 DEPS = SERVICES = - ############################################################################### # Top-level Rules ############################################################################### @@ -50,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = ccea2413c1dc6148e80851496955d5a991f37e359dc30946fd901627ce5d100b4ea065189b87dd79f574f15cac0e7468063d347efac9251f7180d3d291b1b2e5 +$(DL_FILE)_BLAKE2 = 320d2e7de9eda78ad39cfbc5b70ac95625255f088f472d7d2047249f078b5f5da4048808d2c80ce77da040835f4c29b293a9688d9feaaee47832c23b8ef67dc2 install : $(TARGET) @@ -83,8 +81,9 @@ $(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) && meson --prefix=/usr \ - builddir/ + cd $(DIR_APP) && meson setup \ + --prefix=/usr \ + builddir/ cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) cd $(DIR_APP) && ninja -C builddir/ install