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