libslirp: Update to version 4.9.1
Commit Message
- 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 <adolf.belka@ipfire.org>
---
lfs/libslirp | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
@@ -1,7 +1,7 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2025 IPFire Team <info@ipfire.org> #
# #
# 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