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