VirtualBox

source: vbox/trunk/src/libs/libslirp-4.9.0/CHANGELOG.md

Last change on this file was 109078, checked in by vboxsync, 2 weeks ago

libs/libslirp-4.9.0: Make it build on Linux, bugref:10268

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 7.6 KB
Line 
1# Changelog
2
3All notable changes to this project will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## [4.9.0] - 2025-01-30
9
10### Added
11
12 - Add SlirpAddPollSocketCb and {,un}register_poll_socket that can be used from
13 SLIRP_CONFIG_VERSION_MAX 6 to properly support socket handles on win64.
14
15### Fixed
16
17 - bootp: Fill siaddr with tftp addr as per RFC2131 !135
18 - tcp_listen: Fix host forwarding on Windows !137
19 - tftp: Fix address returned in proxying #82 !147
20
21### Changed
22
23 - Fix build on mold #77
24 - Fix static linking !134
25 - slirp_os_socket abstraction for Windows !136
26 - cksum: Update implementation to include 64-bit computation support !144
27 - reduce compilation warnings on Windows !143
28
29## [4.8.0] - 2024-05-09
30
31## Security
32
33 - tcp: Fix testing for last fragment
34 - tftp: Fix use-after-free
35
36### Added
37
38 - Add support for Haiku !123
39 - ncsi: Add manufacturer's ID !122
40 - ncsi: Add Get Version ID command !122
41 - ncsi: Add out-of-band ethernet address !125
42 - ncsi: Add Mellanox Get Mac Address handler !125
43 - icmp6: Add echo request forwarding support
44 - Add fuzzing infrastructure
45
46### Fixed
47
48 - Fix missing cleanups
49 - windows: Build fixes
50 - ipv6: Use target address from Neighbor Advertisement !129
51 - dns: Reject domain-search when any entry ends with ".."
52 - dns: Use localhost as dns when /etc/resolv.conf empty !130
53 - icmp: Handle ICMP packets as IPPROTO_IP on BSD !133
54 - eth: pad ethernet frames to 60 bytes #34
55
56### Removed
57
58 - windows: Bump the minimum Windows version to Windows 7
59
60## [4.7.0] - 2022-04-26
61
62### Added
63
64 - Allow disabling the internal DHCP server !22
65 - icmp: Support falling back on trying a SOCK_RAW socket !92
66 - Support Unix sockets in hostfwd !103
67 - IPv6 DNS proxying support !110
68 - bootp: add support for UEFI HTTP boot !111
69 - New callback that supports CFI better !117
70
71### Fixed
72
73 - dhcp: Always send DHCP_OPT_LEN bytes in options !97
74 - Fix Haiku build !98 !99
75 - Fix memory leak when using libresolv !100
76 - Ensure sin6_scope_id is zero for global addresses !102
77 - resolv: fix IPv6 resolution on Darwin !104
78 - socket: Initialize so_type in socreate !109
79 - Handle ECONNABORTED from recv !116
80
81## [4.6.1] - 2021-06-18
82
83### Fixed
84
85 - Fix DHCP regression introduced in 4.6.0. !95
86
87## [4.6.0] - 2021-06-14
88
89### Added
90
91 - mbuf: Add debugging helpers for allocation. !90
92
93### Changed
94
95 - Revert "Set macOS deployment target to macOS 10.4". !93
96
97### Fixed
98
99 - mtod()-related buffer overflows (CVE-2021-3592 #44, CVE-2021-3593 #45,
100 CVE-2021-3594 #47, CVE-2021-3595 #46).
101 - poll_fd: add missing fd registration for UDP and ICMP
102 - ncsi: make ncsi_calculate_checksum work with unaligned data. !89
103 - Various typos and doc fixes. !88
104
105## [4.5.0] - 2021-05-18
106
107### Added
108
109 - IPv6 forwarding. !62 !75 !77
110 - slirp_neighbor_info() to dump the ARP/NDP tables. !71
111
112### Changed
113
114 - Lazy guest address resolution for IPv6. !81
115 - Improve signal handling when spawning a child. !61
116 - Set macOS deployment target to macOS 10.4. !72
117 - slirp_add_hostfwd: Ensure all error paths set errno. !80
118 - More API documentation.
119
120### Fixed
121
122 - Assertion failure on unspecified IPv6 address. !86
123 - Disable polling for PRI on MacOS, fixing some closing streams issues. !73
124 - Various memory leak fixes on fastq/batchq. !68
125 - Memory leak on IPv6 fast-send. !67
126 - Slow socket response on Windows. !64
127 - Misc build and code cleanups. !60 !63 !76 !79 !84
128
129## [4.4.0] - 2020-12-02
130
131### Added
132
133 - udp, udp6, icmp: handle TTL value. !48
134 - Enable forwarding ICMP errors. !49
135 - Add DNS resolving for iOS. !54
136
137### Changed
138
139 - Improve meson subproject() support. !53
140 - Removed Makefile-based build system. !56
141
142### Fixed
143
144 - socket: consume empty packets. !55
145 - check pkt_len before reading protocol header (CVE-2020-29129). !57
146 - ip_stripoptions use memmove (fixes undefined behaviour). !47
147 - various Coverity-related changes/fixes.
148
149## [4.3.1] - 2020-07-08
150
151### Changed
152
153 - A silent truncation could occur in `slirp_fmt()`, which will now print a
154 critical message. See also #22.
155
156### Fixed
157
158 - CVE-2020-10756 - Drop bogus IPv6 messages that could lead to data leakage.
159 See !44 and !42.
160 - Fix win32 builds by using the SLIRP_PACKED definition.
161 - Various coverity scan errors fixed. !41
162 - Fix new GCC warnings. !43
163
164## [4.3.0] - 2020-04-22
165
166### Added
167
168 - `SLIRP_VERSION_STRING` macro, with the git sha suffix when building from git
169 - `SlirpConfig.disable_dns`, to disable DNS redirection #16
170
171### Changed
172
173 - `slirp_version_string()` now has the git sha suffix when building form git
174 - Limit DNS redirection to port 53 #16
175
176### Fixed
177
178 - Fix build regression with mingw & NetBSD
179 - Fix use-afte-free in `ip_reass()` (CVE-2020-1983)
180
181## [4.2.0] - 2020-03-17
182
183### Added
184
185 - New API function `slirp_add_unix`: add a forward rule to a Unix socket.
186 - New API function `slirp_remove_guestfwd`: remove a forward rule previously
187 added by `slirp_add_exec`, `slirp_add_unix` or `slirp_add_guestfwd`
188 - New `SlirpConfig.outbound_addr{,6}` fields to bind output socket to a
189 specific address
190
191### Changed
192
193 - socket: do not fallback on host loopback if `get_dns_addr()` failed
194 or the address is in slirp network
195
196### Fixed
197
198 - ncsi: fix checksum OOB memory access
199 - `tcp_emu()`: fix OOB accesses
200 - tftp: restrict relative path access
201 - state: fix loading of guestfwd state
202
203## [4.1.0] - 2019-12-02
204
205### Added
206
207 - The `slirp_new()` API, simpler and more extensible than `slirp_init()`.
208 - Allow custom MTU configuration.
209 - Option to disable host loopback connections.
210 - CI now runs scan-build too.
211
212### Changed
213
214 - Disable `tcp_emu()` by default. `tcp_emu()` is known to have caused
215 several CVEs, and not useful today in most cases. The feature can
216 be still enabled by setting `SlirpConfig.enable_emu` to true.
217 - meson build system is now `subproject()` friendly.
218 - Replace remaining `malloc()`/`free()` with glib (which aborts on OOM)
219 - Various code cleanups.
220
221### Deprecated
222
223 - The `slirp_init()` API.
224
225### Fixed
226
227 - `getpeername()` error after `shutdown(SHUT_WR)`.
228 - Exec forward: correctly parse command lines that contain spaces.
229 - Allow 0.0.0.0 destination address.
230 - Make host receive broadcast packets.
231 - Various memory related fixes (heap overflow, leaks, NULL
232 dereference).
233 - Compilation warnings, dead code.
234
235## [4.0.0] - 2019-05-24
236
237### Added
238
239 - Installable as a shared library.
240 - meson build system
241 (& make build system for in-tree QEMU integration)
242
243### Changed
244
245 - Standalone project, removing any QEMU dependency.
246 - License clarifications.
247
248[Unreleased]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.9.0...master
249[4.9.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.8.0...v4.9.0
250[4.8.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.7.0...v4.8.0
251[4.7.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.6.1...v4.7.0
252[4.6.1]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.6.0...v4.6.1
253[4.6.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.5.0...v4.6.0
254[4.5.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.4.0...v4.5.0
255[4.4.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.3.1...v4.4.0
256[4.3.1]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.3.0...v4.3.1
257[4.3.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.2.0...v4.3.0
258[4.2.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.1.0...v4.2.0
259[4.1.0]: https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.0.0...v4.1.0
260[4.0.0]: https://gitlab.freedesktop.org/slirp/libslirp/commits/v4.0.0
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette