| 1 |
D-Bus 1.9.20 (2015-08-06) |
| 2 |
== |
| 3 |
|
| 4 |
The “Remember Tomorrow” release. |
| 5 |
|
| 6 |
This is a release-candidate for D-Bus 1.10.0. OS distribution vendors |
| 7 |
should test it. |
| 8 |
|
| 9 |
Fixes: |
| 10 |
|
| 11 |
• Don't second-guess what the ABI of poll() is, allowing it to be used |
| 12 |
on Integrity RTOS and other unusual platforms (fd.o #90314; |
| 13 |
Rolland Dudemaine, Simon McVittie) |
| 14 |
|
| 15 |
• Don't duplicate audit subsystem integration if AppArmor and SELinux are |
| 16 |
both enabled (fd.o #89225, Simon McVittie) |
| 17 |
|
| 18 |
• Log audit events for AppArmor/SELinux policy violations whenever |
| 19 |
we have CAP_AUDIT_WRITE, even if not the system bus |
| 20 |
(fd.o #83856, Laurent Bigonville) |
| 21 |
|
| 22 |
D-Bus 1.9.18 (2015-07-21) |
| 23 |
== |
| 24 |
|
| 25 |
The “Pirate Elite” release. |
| 26 |
|
| 27 |
Configuration changes: |
| 28 |
|
| 29 |
• The basic setup for the well-known system and session buses is now done |
| 30 |
in read-only files in ${datadir}, moving a step closer to systems |
| 31 |
that can operate with an empty /etc directory. In increasing order |
| 32 |
of precedence: |
| 33 |
|
| 34 |
· ${datadir}/dbus-1/s*.conf now perform the basic setup such as setting |
| 35 |
the default message policies. |
| 36 |
· ${sysconfdir}/dbus-1/s*.conf are now optional. By default |
| 37 |
dbus still installs a trivial version of each, for documentation |
| 38 |
purposes; putting configuration directives in these files is deprecated. |
| 39 |
· ${datadir}/dbus-1/s*.d/ are now available for third-party software |
| 40 |
to install "drop-in" configuration snippets (any packages |
| 41 |
using those directories should explicitly depend on at least this |
| 42 |
version of dbus). |
| 43 |
· ${sysconfdir}/dbus-1/s*.d/ are also still available for sysadmins |
| 44 |
or third-party software to install "drop-in" configuration snippets |
| 45 |
· ${sysconfdir}/dbus-1/s*-local.conf are still available for sysadmins' |
| 46 |
overrides |
| 47 |
|
| 48 |
${datadir} is normally /usr/share, ${sysconfdir} is normally /etc, |
| 49 |
and "s*" refers to either system or session as appropriate. |
| 50 |
|
| 51 |
(fd.o #89280, Dimitri John Ledkov) |
| 52 |
|
| 53 |
Fixes: |
| 54 |
|
| 55 |
• Fix a memory leak when GetConnectionCredentials() succeeds |
| 56 |
(fd.o #91008, Jacek Bukarewicz) |
| 57 |
|
| 58 |
• Ensure that dbus-monitor does not reply to messages intended for others, |
| 59 |
resulting in its own disconnection (fd.o #90952, Simon McVittie) |
| 60 |
|
| 61 |
D-Bus 1.9.16 (2015-05-14) |
| 62 |
== |
| 63 |
|
| 64 |
The “titanium barns” release. |
| 65 |
|
| 66 |
Dependencies: |
| 67 |
|
| 68 |
• Automake 1.13 is now required when compiling from git or modifying |
| 69 |
the build system. |
| 70 |
|
| 71 |
Security hardening: |
| 72 |
|
| 73 |
• On Unix platforms, change the default configuration for the session bus |
| 74 |
to only allow EXTERNAL authentication (secure kernel-mediated |
| 75 |
credentials-passing), as was already done for the system bus. |
| 76 |
|
| 77 |
This avoids falling back to DBUS_COOKIE_SHA1, which relies on strongly |
| 78 |
unpredictable pseudo-random numbers. |
| 79 |
|
| 80 |
If you are using D-Bus over the (unencrypted!) tcp: or nonce-tcp: transport, |
| 81 |
in conjunction with DBUS_COOKIE_SHA1 and a shared home directory using |
| 82 |
NFS or similar, you will need to reconfigure the session bus to accept |
| 83 |
DBUS_COOKIE_SHA1 by commenting out the <auth> element. This configuration |
| 84 |
is not recommended. |
| 85 |
|
| 86 |
(fd.o #90414, Simon McVittie) |
| 87 |
|
| 88 |
• When asked for random numbers for DBUS_COOKIE_SHA1, the nonce-tcp: |
| 89 |
transport, UUIDs or any other reason, fail if we cannot obtain entropy |
| 90 |
(from /dev/urandom or CryptGenRandom()) or an out-of-memory condition |
| 91 |
occurs, instead of silently falling back to low-entropy pseudorandom |
| 92 |
numbers from rand(). (fd.o #90414; Simon McVittie, Ralf Habacker) |
| 93 |
|
| 94 |
Enhancements: |
| 95 |
|
| 96 |
• Add dbus_message_iter_get_element_count() |
| 97 |
(fd.o #30350; Christian Dywan, Simon McVittie) |
| 98 |
|
| 99 |
• Introduce new internal DBusSocket and DBusPollable types so we can |
| 100 |
stop treating the Windows SOCKET type as if it was int. DBusSocket |
| 101 |
is specifically a socket, cross-platform. DBusPollable is whatever |
| 102 |
_dbus_poll() can act on, i.e. a fd on Unix or a SOCKET on Windows. |
| 103 |
(fd.o #89444; Ralf Habacker, Simon McVittie) |
| 104 |
|
| 105 |
• All regression tests now output TAP <https://testanything.org/> |
| 106 |
(fd.o #89846, Simon McVittie) |
| 107 |
|
| 108 |
• Internal APIs consistently use signed values for timestamps |
| 109 |
(fd.o #18494, Peter McCurdy) |
| 110 |
|
| 111 |
• Improve diagnostics when UpdateActivationEnvironment calls are rejected |
| 112 |
(fd.o #88812, Simon McVittie) |
| 113 |
|
| 114 |
• Clean up a lot of compiler warnings |
| 115 |
(fd.o #17289, fd.o #89284; Ralf Habacker, Simon McVittie) |
| 116 |
|
| 117 |
Fixes: |
| 118 |
|
| 119 |
• Add locking to DBusCounter's reference count and notify function |
| 120 |
(fd.o #89297, Adrian Szyndela) |
| 121 |
|
| 122 |
• Ensure that DBusTransport's reference count is protected by the |
| 123 |
corresponding DBusConnection's lock (fd.o #90312, Adrian Szyndela) |
| 124 |
|
| 125 |
• Correctly release DBusServer mutex before early-return if we run out |
| 126 |
of memory while copying authentication mechanisms (fd.o #90021, |
| 127 |
Ralf Habacker) |
| 128 |
|
| 129 |
• Make dbus-test-tool and dbus-update-activation-environment portable |
| 130 |
to Windows (fd.o #90089, Ralf Habacker) |
| 131 |
|
| 132 |
• Correctly initialize all fields of DBusTypeReader (fd.o #90021; |
| 133 |
Ralf Habacker, Simon McVittie) |
| 134 |
|
| 135 |
• Fix some missing \n in verbose (debug log) messages (fd.o #90004, |
| 136 |
Ralf Habacker) |
| 137 |
|
| 138 |
• Clean up some memory and fd leaks in test code and tools |
| 139 |
(fd.o #90021, Ralf Habacker) |
| 140 |
|
| 141 |
• Fix a NULL dereference if the dbus-daemon cannot read a configuration |
| 142 |
directory for a reason that is not ENOENT (fd.o #90021, Ralf Habacker) |
| 143 |
|
| 144 |
• CMake generates a versioned shared library even if the revision is 0, |
| 145 |
as it usually is on the development branch. (fd.o #89450, Ralf Habacker) |
| 146 |
|
| 147 |
D-Bus 1.9.14 (2015-03-02) |
| 148 |
== |
| 149 |
|
| 150 |
The “don't stand in the poison cloud” release. |
| 151 |
|
| 152 |
Dependencies: |
| 153 |
|
| 154 |
• dbus-daemon and dbus-daemon-launch-helper now require libdbus. They |
| 155 |
were previously linked to a static version of libdbus. |
| 156 |
|
| 157 |
• The tests no longer require dbus-glib in order to exercise the libdbus |
| 158 |
shared library; they are always linked to libdbus now. |
| 159 |
|
| 160 |
Build-time configuration: |
| 161 |
|
| 162 |
• The new --enable-user-session option, off by default, can be enabled |
| 163 |
by OS integrators intending to use systemd to provide a session bus |
| 164 |
per user (in effect, treating all concurrent graphical and non-graphical |
| 165 |
login sessions as one large session) |
| 166 |
|
| 167 |
Enhancements: |
| 168 |
|
| 169 |
• All executables are now linked dynamically to libdbus. |
| 170 |
(fd.o #83115; Bertrand SIMONNET, Simon McVittie, Ralf Habacker) |
| 171 |
|
| 172 |
• On platforms that support them (GNU libc and possibly others), |
| 173 |
libdbus now has versioned symbols for its public API. |
| 174 |
All public symbols (visible in the header files) are currently |
| 175 |
versioned as LIBDBUS_1_3; private symbols starting with _dbus or |
| 176 |
dbus_internal have a version that changes with each release, and |
| 177 |
must not be used by applications. (also fd.o #83115) |
| 178 |
|
| 179 |
• New listenable address mode "unix:runtime=yes" which listens on |
| 180 |
a real filesystem (non-abstract) socket $XDG_RUNTIME_DIR/bus |
| 181 |
(fd.o #61303; Colin Walters, Alexander Larsson, Simon McVittie) |
| 182 |
|
| 183 |
• Add optional systemd units for a per-user bus listening on |
| 184 |
$XDG_RUNTIME_DIR/bus (fd.o #61301; Simon McVittie, Colin Walters) |
| 185 |
|
| 186 |
• On Unix platforms, both libdbus and "dbus-launch --autolaunch" |
| 187 |
default to connecting to $XDG_RUNTIME_DIR/bus if it is a socket |
| 188 |
(also fd.o #61301) |
| 189 |
|
| 190 |
• New dbus-update-activation-environment tool uploads environment |
| 191 |
variables to "dbus-daemon --session" and optionally "systemd --user", |
| 192 |
primarily as a way to keep the per-user bus compatible with |
| 193 |
distributions' existing X11 login scripts (also fd.o #61301) |
| 194 |
|
| 195 |
• <includedir/> elements in dbus-daemon configuration are now silently |
| 196 |
ignored if the directory does not exist. (fd.o #89280, Dimitri John Ledkov) |
| 197 |
|
| 198 |
• Add microsecond-resolution timestamps to the default output of |
| 199 |
dbus-monitor and dbus-send (fd.o #88896; Ralf Habacker, Simon McVittie) |
| 200 |
|
| 201 |
Fixes: |
| 202 |
|
| 203 |
• Fix a race condition in the 'monitor' test introduced in 1.9.10 |
| 204 |
(fd.o #89222, Simon McVittie) |
| 205 |
|
| 206 |
D-Bus 1.9.12 (2015-02-19) |
| 207 |
== |
| 208 |
|
| 209 |
The “monster lasagna” release. |
| 210 |
|
| 211 |
Dependencies: |
| 212 |
|
| 213 |
• Ducktype and yelp-tools are now required to build complete documentation |
| 214 |
(they are optional for normal builds). |
| 215 |
|
| 216 |
Enhancements: |
| 217 |
|
| 218 |
• D-Bus Specification version 0.26 |
| 219 |
· GetConnectionCredentials can return LinuxSecurityLabel or WindowsSID |
| 220 |
· document the BecomeMonitor method |
| 221 |
|
| 222 |
• On Linux, add LinuxSecurityLabel to GetConnectionCredentials |
| 223 |
(fd.o #89041; Tyler Hicks, Simon McVittie) |
| 224 |
|
| 225 |
• On Linux, add support for AppArmor mediation of message sending and |
| 226 |
receiving and name ownership (paralleling existing SELinux mediation |
| 227 |
support), and eavesdropping (a new check, currently AppArmor-specific) |
| 228 |
(fd.o #75113; John Johansen, Tyler Hicks, Simon McVittie) |
| 229 |
|
| 230 |
• In dbus-send and dbus-monitor, pretty-print \0-terminated bytestrings |
| 231 |
that have printable ASCII contents; we previously only did this for |
| 232 |
unterminated bytestrings (fd.o #89109, Simon McVittie) |
| 233 |
|
| 234 |
• Add a guide to designing good D-Bus APIs (fd.o #88994, Philip Withnall) |
| 235 |
|
| 236 |
• On Windows, add WindowsSID to GetConnectionCredentials |
| 237 |
(fd.o #54445, Ralf Habacker) |
| 238 |
|
| 239 |
• Improve clarity of dbus-monitor --profile output and add more columns |
| 240 |
(fd.o #89165, Ralf Habacker) |
| 241 |
|
| 242 |
• Add a man page for dbus-test-tool, and build it under CMake as well |
| 243 |
as Autotools (fd.o#89086, Simon McVittie) |
| 244 |
|
| 245 |
• If dbus-daemon was compiled with --enable-verbose, add a D-Bus API |
| 246 |
to control it at runtime, overriding the DBUS_VERBOSE environment variable |
| 247 |
(fd.o #88896, Ralf Habacker) |
| 248 |
|
| 249 |
Fixes: |
| 250 |
|
| 251 |
• Reduce the number of file descriptors used in the fd-passing test, |
| 252 |
avoiding failure under the default Linux fd limit, and automatically |
| 253 |
skip it if the rlimit is too small (fd.o #88998, Simon McVittie) |
| 254 |
|
| 255 |
D-Bus 1.9.10 (2015-02-09) |
| 256 |
== |
| 257 |
|
| 258 |
The “sad cyborgs” release. |
| 259 |
|
| 260 |
Security fixes merged from 1.8.16: |
| 261 |
|
| 262 |
• Do not allow non-uid-0 processes to send forged ActivationFailure |
| 263 |
messages. On Linux systems with systemd activation, this would |
| 264 |
allow a local denial of service: unprivileged processes could |
| 265 |
flood the bus with these forged messages, winning the race with |
| 266 |
the actual service activation and causing an error reply |
| 267 |
to be sent back when service auto-activation was requested. |
| 268 |
This does not prevent the real service from being started, |
| 269 |
so the attack only works while the real service is not running. |
| 270 |
(CVE-2015-0245, fd.o #88811; Simon McVittie) |
| 271 |
|
| 272 |
Enhancements: |
| 273 |
|
| 274 |
• The new Monitoring interface in the dbus-daemon lets dbus-monitor and |
| 275 |
similar tools receive messages without altering the security properties |
| 276 |
of the system bus, by calling the new BecomeMonitor method on a |
| 277 |
private connection. This bypasses the normal <allow> and <deny> rules |
| 278 |
entirely, so to preserve normal message-privacy assumptions, only root |
| 279 |
is allowed to do this on the system bus. Restricted environments, |
| 280 |
such as Linux with LSMs, should lock down access to the Monitoring |
| 281 |
interface. (fd.o #46787, Simon McVittie) |
| 282 |
|
| 283 |
• dbus-monitor uses BecomeMonitor to capture more traffic, if the |
| 284 |
dbus-daemon supports it and access permissions allow it. |
| 285 |
It still supports the previous approach ("eavesdropping" match rules) |
| 286 |
for compatibility with older bus daemons. (fd.o #46787, Simon) |
| 287 |
|
| 288 |
• dbus-monitor can now log the message stream as binary data for later |
| 289 |
analysis, with either no extra framing beyond the normal D-Bus headers, |
| 290 |
or libpcap-compatible framing treating each D-Bus message |
| 291 |
as a captured packet. (fd.o #46787, Simon) |
| 292 |
|
| 293 |
Other fixes: |
| 294 |
|
| 295 |
• Fix some CMake build regressions (fd.o #88964, Ralf Habacker) |
| 296 |
|
| 297 |
• On Unix, forcibly terminate regression tests after 60 seconds to |
| 298 |
prevent them from blocking continuous integration frameworks |
| 299 |
(fd.o #46787, Simon) |
| 300 |
|
| 301 |
D-Bus 1.9.8 (2015-02-03) |
| 302 |
== |
| 303 |
|
| 304 |
The “all the types of precipitation” release. |
| 305 |
|
| 306 |
Dependencies: |
| 307 |
|
| 308 |
• full test coverage now requires GLib 2.36 |
| 309 |
• full test coverage now requires PyGI (PyGObject 3, |
| 310 |
"import gi.repository.GObject") instead of the |
| 311 |
obsolete PyGObject 2 ("import gobject") |
| 312 |
|
| 313 |
Enhancements: |
| 314 |
|
| 315 |
• add GLib-style "installed tests" (fd.o #88810, Simon McVittie) |
| 316 |
|
| 317 |
• better regression test coverage, including systemd activation |
| 318 |
(fd.o #57952, #88810; Simon McVittie) |
| 319 |
|
| 320 |
Fixes: |
| 321 |
|
| 322 |
• fatal errors correctly make the dbus-daemon exit even if <syslog/> is |
| 323 |
turned off (fd.o #88808, Simon McVittie) |
| 324 |
|
| 325 |
• TCP sockets on Windows no longer fail to listen approximately 1 time |
| 326 |
in 256, caused by a logic error that should have always made it fail but |
| 327 |
was mitigated by incorrect endianness for the port number |
| 328 |
(fd.o #87999, Ralf Habacker) |
| 329 |
|
| 330 |
• fix some Windows build failures (fd.o #88009, #88010; Ralf Habacker) |
| 331 |
|
| 332 |
• on Windows, allow up to 8K connections to the dbus-daemon instead of the |
| 333 |
previous 64, completing a previous fix which only worked under |
| 334 |
Autotools (fd.o #71297, Ralf Habacker) |
| 335 |
|
| 336 |
• on Windows, if the IP family is unspecified only use IPv4, |
| 337 |
to mitigate IPv6 not working correctly (fd.o #87999, Ralf Habacker) |
| 338 |
|
| 339 |
• fix some unlikely memory leaks on OOM (fd.o #88087, Simon McVittie) |
| 340 |
|
| 341 |
• lcov code coverage analysis works again (fd.o #88808, Simon McVittie) |
| 342 |
|
| 343 |
• fix an unused function error with --disable-embedded-tests (fd.o #87837, |
| 344 |
Thiago Macieira) |
| 345 |
|
| 346 |
D-Bus 1.9.6 (2015-01-05) |
| 347 |
== |
| 348 |
|
| 349 |
The “I do have a bread knife” release. |
| 350 |
|
| 351 |
Security hardening: |
| 352 |
|
| 353 |
• Do not allow calls to UpdateActivationEnvironment from uids other than |
| 354 |
the uid of the dbus-daemon. If a system service installs unsafe |
| 355 |
security policy rules that allow arbitrary method calls |
| 356 |
(such as CVE-2014-8148) then this prevents memory consumption and |
| 357 |
possible privilege escalation via UpdateActivationEnvironment. |
| 358 |
|
| 359 |
We believe that in practice, privilege escalation here is avoided |
| 360 |
by dbus-daemon-launch-helper sanitizing its environment; but |
| 361 |
it seems better to be safe. |
| 362 |
|
| 363 |
• Do not allow calls to UpdateActivationEnvironment or the Stats interface |
| 364 |
on object paths other than /org/freedesktop/DBus. Some system services |
| 365 |
install unsafe security policy rules that allow arbitrary method calls |
| 366 |
to any destination, method and interface with a specified object path; |
| 367 |
while less bad than allowing arbitrary method calls, these security |
| 368 |
policies are still harmful, since dbus-daemon normally offers the |
| 369 |
same API on all object paths and other system services might behave |
| 370 |
similarly. |
| 371 |
|
| 372 |
Other fixes: |
| 373 |
|
| 374 |
• Add missing initialization so GetExtendedTcpTable doesn't crash on |
| 375 |
Windows Vista SP0 (fd.o #77008, Илья А. Ткаченко) |
| 376 |
|
| 377 |
D-Bus 1.9.4 (2014-11-24) |
| 378 |
== |
| 379 |
|
| 380 |
The “extra-sturdy caramel” release. |
| 381 |
|
| 382 |
Fixes: |
| 383 |
|
| 384 |
• Partially revert the CVE-2014-3639 patch by increasing the default |
| 385 |
authentication timeout on the system bus from 5 seconds back to 30 |
| 386 |
seconds, since this has been reported to cause boot regressions for |
| 387 |
some users, mostly with parallel boot (systemd) on slower hardware. |
| 388 |
|
| 389 |
On fast systems where local users are considered particularly hostile, |
| 390 |
administrators can return to the 5 second timeout (or any other value |
| 391 |
in milliseconds) by saving this as /etc/dbus-1/system-local.conf: |
| 392 |
|
| 393 |
<busconfig> |
| 394 |
<limit name="auth_timeout">5000</limit> |
| 395 |
</busconfig> |
| 396 |
|
| 397 |
(fd.o #86431, Simon McVittie) |
| 398 |
|
| 399 |
• Add a message in syslog/the Journal when the auth_timeout is exceeded |
| 400 |
(fd.o #86431, Simon McVittie) |
| 401 |
|
| 402 |
• Send back an AccessDenied error if the addressed recipient is not allowed |
| 403 |
to receive a message (and in builds with assertions enabled, don't |
| 404 |
assert under the same conditions). (fd.o #86194, Jacek Bukarewicz) |
| 405 |
|
| 406 |
D-Bus 1.9.2 (2014-11-10) |
| 407 |
== |
| 408 |
|
| 409 |
The “structurally unsound flapjack” release. |
| 410 |
|
| 411 |
Security fixes: |
| 412 |
|
| 413 |
• Increase dbus-daemon's RLIMIT_NOFILE rlimit to 65536 |
| 414 |
so that CVE-2014-3636 part A cannot exhaust the system bus' |
| 415 |
file descriptors, completing the incomplete fix in 1.8.8. |
| 416 |
(CVE-2014-7824, fd.o #85105; Simon McVittie, Alban Crequy) |
| 417 |
|
| 418 |
Enhancements: |
| 419 |
|
| 420 |
• D-Bus Specification version 0.25 |
| 421 |
· new value 'const' for EmitsChangedSignal annotation |
| 422 |
(fd.o #72958, Lennart Poettering) |
| 423 |
· new ALLOW_INTERACTIVE_AUTHORIZATION flag, for PolicyKit and similar |
| 424 |
(fd.o #83449; Lennart Poettering, Simon McVittie) |
| 425 |
· annotate table of types with reserved/basic/container, and for |
| 426 |
basic types, fixed/string-like |
| 427 |
· clarify arbitrary limits by quoting them in mebibytes |
| 428 |
|
| 429 |
• New API: add accessors for the ALLOW_INTERACTIVE_AUTHORIZATION flag |
| 430 |
(fd.o #83449, Simon McVittie) |
| 431 |
|
| 432 |
• Add dbus-test-tool, a D-Bus swiss army knife with multiple subcommands, |
| 433 |
useful for debugging and performance testing: |
| 434 |
· dbus-test-tool spam: send repeated messages |
| 435 |
· dbus-test-tool echo: send an empty reply for all method calls |
| 436 |
· dbus-test-tool black-hole: do not reply to method calls |
| 437 |
(fd.o #34140; Alban Crequy, Simon McVittie, Will Thompson) |
| 438 |
|
| 439 |
• Add support for process ID in credentials-passing on NetBSD |
| 440 |
(fd.o #69702, Patrick Welche) |
| 441 |
|
| 442 |
• Add an example script to find potentially undesired match rules |
| 443 |
(fd.o #84598, Alban Crequy) |
| 444 |
|
| 445 |
• Document the central assumption that makes our use of credentials-passing |
| 446 |
secure (fd.o #83499, Simon McVittie) |
| 447 |
|
| 448 |
• Replace the dbus-glib section of the tutorial with a GDBus recommendation, |
| 449 |
and add some links to GDBus and QtDBus documentation (fd.o #25140, |
| 450 |
Simon McVittie) |
| 451 |
|
| 452 |
Fixes: |
| 453 |
|
| 454 |
• Use a less confusing NoReply message when disconnected with a reply pending |
| 455 |
(fd.o #76112, Simon McVittie) |
| 456 |
|
| 457 |
• Make the .pc file relocatable by letting pkg-config do all variable |
| 458 |
expansion itself (fd.o #75858, Руслан Ижбулатов) |
| 459 |
|
| 460 |
• Fix a build failure on platforms with kqueue, which regressed in 1.9.0 |
| 461 |
(fd.o #85563, Patrick Welche) |
| 462 |
|
| 463 |
• Consistently save errno after socket calls (fd.o #83625, Simon McVittie) |
| 464 |
|
| 465 |
• In dbus-spawn, when the grandchild process exits due to a failed exec(), |
| 466 |
do not lose the exec() errno (fd.o #24821, Simon McVittie) |
| 467 |
|
| 468 |
• Do not fail the tests if a parent process has leaked non-close-on-exec |
| 469 |
file descriptors to us (fd.o #73689, fd.o #83899; Simon McVittie) |
| 470 |
|
| 471 |
• Do not fail the tests on Unix platforms with incomplete |
| 472 |
credentials-passing support, but do fail if we can't pass credentials |
| 473 |
on a platform where it is known to work: Linux, FreeBSD, OpenBSD, NetBSD |
| 474 |
(fd.o #69702, Simon McVittie) |
| 475 |
|
| 476 |
• Detect accept4, dirfd, inotify_init1, pipe2, and Unix fd passing |
| 477 |
when building with cmake, and expand test coverage there |
| 478 |
(fd.o #73689; Ralf Habacker, Simon McVittie) |
| 479 |
|
| 480 |
D-Bus 1.9.0 (2014-10-01) |
| 481 |
== |
| 482 |
|
| 483 |
The “tiered cheeses” release. |
| 484 |
|
| 485 |
Requirements: |
| 486 |
|
| 487 |
• Support for the systemd: (LISTEN_FDS) pseudo-transport on Linux now |
| 488 |
requires either the libsystemd or libsd-daemon shared library, dropping the |
| 489 |
embedded convenience copy of sd-daemon (fd.o #71818, Simon) |
| 490 |
|
| 491 |
Build-time configuration changes: |
| 492 |
|
| 493 |
• The Stats interface is now enabled by default, and locked-down to |
| 494 |
root-only on the system bus. Configure with --disable-stats |
| 495 |
to disable it altogether on memory- or disk-constrained systems, |
| 496 |
or see ${docdir}/examples/ to open it up to non-root users on the |
| 497 |
system bus or restrict access on the session bus. |
| 498 |
(fd.o #80759; Simon McVittie, Alban Crequy) |
| 499 |
|
| 500 |
• The CMake build system now builds the same shared library name as Autotools |
| 501 |
on at least Linux and Windows: |
| 502 |
- on Linux (and perhaps other Unix platforms), it previously built |
| 503 |
libdbus-1.so, but now builds libdbus-1.so.3.* with development |
| 504 |
symlink libdbus-1.so and SONAME/symlink libdbus-1.so.3 |
| 505 |
- on Windows, it previously built either libdbus-1.dll (release) or |
| 506 |
libdbus-1d.dll (debug), but now builds libdbus-1-3.dll, copied to |
| 507 |
libdbus-1.dll for compatibility with older applications. |
| 508 |
(fd.o #74117, Ralf Habacker) |
| 509 |
|
| 510 |
Enhancements: |
| 511 |
|
| 512 |
• D-Bus Specification version 0.24 |
| 513 |
· document how to quote match rules (fd.o #24307, Simon McVittie) |
| 514 |
· explicitly say that most message types never expect a reply |
| 515 |
regardles of whether they have NO_REPLY_EXPECTED |
| 516 |
(fd.o #75749, Simon McVittie) |
| 517 |
|
| 518 |
• on Unix platforms, disable Nagle's algorithm on TCP connections to improve |
| 519 |
initial latency (fd.o #75544, Matt Hoosier) |
| 520 |
|
| 521 |
• use backtrace() if it is in -lexecinfo instead of libc, as on NetBSD |
| 522 |
(fd.o #69702, Patrick Welche) |
| 523 |
|
| 524 |
• in dbus-monitor, print more information about file descriptors |
| 525 |
(fd.o #80603, Alban Crequy) |
| 526 |
|
| 527 |
• do not install system bus configuration if built for Windows |
| 528 |
(fd.o #83583; Ralf Habacker, Simon McVittie) |
| 529 |
|
| 530 |
• Add GetAllMatchRules to the Stats interface (fd.o #24307, Alban Crequy) |
| 531 |
|
| 532 |
• Add a regression test for file descriptor passing (fd.o #83622, |
| 533 |
Simon McVittie) |
| 534 |
|
| 535 |
Fixes: |
| 536 |
|
| 537 |
• fix an incorrect error message if a Unix socket path is too long |
| 538 |
(fd.o #73887, Antoine Jacoutot) |
| 539 |
|
| 540 |
• in an MSYS/Cygwin environment, pass Unix-style filenames to xmlto, |
| 541 |
fixing documentation generation (fd.o #75860, Руслан Ижбулатов) |
| 542 |
|
| 543 |
• in Unix with X11, avoid giving dbus-launch a misleading argv[0] |
| 544 |
in ps(1) (fd.o #69716, Chengwei Yang) |
| 545 |
|
| 546 |
• avoid calling poll() with timeout < -1, which is considered invalid |
| 547 |
on FreeBSD and NetBSD (fd.o #78480, Jaap Boender) |
| 548 |
|
| 549 |
• be portable to BSD-derived platforms where O_CLOEXEC is unavailable in libc |
| 550 |
(like Mac OS X 10.6), or available in libc but unsupported by the kernel |
| 551 |
(fd.o #77032; rmvsxop, OBATA Akio, Patrick Welche) |
| 552 |
|
| 553 |
• Fix include path for test/internal/*.c with cmake (Ralf Habacker) |
| 554 |
|
| 555 |
• Documentation improvements |
| 556 |
(fd.o #80795, #84313; Thomas Haller, Sebastian Rasmussen) |
| 557 |
|
| 558 |
• in dbus-monitor, do not leak file descriptors that we have monitored |
| 559 |
(fd.o #80603, Alban Crequy) |
| 560 |
|
| 561 |
• Set the close-on-exec flag for the inotify file descriptor, even |
| 562 |
if built with CMake or older libc (fd.o #73689, Simon McVittie) |
| 563 |
|
| 564 |
• Remove some LGPL code from the Windows dbus-daemon |
| 565 |
(fd.o #57272, Ralf Habacker) |
| 566 |
|
| 567 |
D-Bus 1.8.8 (2014-09-16) |
| 568 |
== |
| 569 |
|
| 570 |
The "smashy smashy egg man" release. |
| 571 |
|
| 572 |
Security fixes: |
| 573 |
|
| 574 |
• Do not accept an extra fd in the padding of a cmsg message, which |
| 575 |
could lead to a 4-byte heap buffer overrun. |
| 576 |
(CVE-2014-3635, fd.o #83622; Simon McVittie) |
| 577 |
|
| 578 |
• Reduce default for maximum Unix file descriptors passed per message |
| 579 |
from 1024 to 16, preventing a uid with the default maximum number of |
| 580 |
connections from exhausting the system bus' file descriptors under |
| 581 |
Linux's default rlimit. Distributors or system administrators with a |
| 582 |
more restrictive fd limit may wish to reduce these limits further. |
| 583 |
|
| 584 |
Additionally, on Linux this prevents a second denial of service |
| 585 |
in which the dbus-daemon can be made to exceed the maximum number |
| 586 |
of fds per sendmsg() and disconnect the process that would have |
| 587 |
received them. |
| 588 |
(CVE-2014-3636, fd.o #82820; Alban Crequy) |
| 589 |
|
| 590 |
• Disconnect connections that still have a fd pending unmarshalling after |
| 591 |
a new configurable limit, pending_fd_timeout (defaulting to 150 seconds), |
| 592 |
removing the possibility of creating an abusive connection that cannot be |
| 593 |
disconnected by setting up a circular reference to a connection's |
| 594 |
file descriptor. |
| 595 |
(CVE-2014-3637, fd.o #80559; Alban Crequy) |
| 596 |
|
| 597 |
• Reduce default for maximum pending replies per connection from 8192 to 128, |
| 598 |
mitigating an algorithmic complexity denial-of-service attack |
| 599 |
(CVE-2014-3638, fd.o #81053; Alban Crequy) |
| 600 |
|
| 601 |
• Reduce default for authentication timeout on the system bus from |
| 602 |
30 seconds to 5 seconds, avoiding denial of service by using up |
| 603 |
all unauthenticated connection slots; and when all unauthenticated |
| 604 |
connection slots are used up, make new connection attempts block |
| 605 |
instead of disconnecting them. |
| 606 |
(CVE-2014-3639, fd.o #80919; Alban Crequy) |
| 607 |
|
| 608 |
Other fixes: |
| 609 |
|
| 610 |
• Check for libsystemd from systemd >= 209, falling back to |
| 611 |
the older separate libraries if not found (Umut Tezduyar Lindskog, |
| 612 |
Simon McVittie) |
| 613 |
|
| 614 |
• On Linux, use prctl() to disable core dumps from a test executable |
| 615 |
that deliberately raises SIGSEGV to test dbus-daemon's handling |
| 616 |
of that condition (fd.o #83772, Simon McVittie) |
| 617 |
|
| 618 |
• Fix compilation with --enable-stats (fd.o #81043, Gentoo #507232; |
| 619 |
Alban Crequy) |
| 620 |
|
| 621 |
• Improve documentation for running tests on Windows (fd.o #41252, |
| 622 |
Ralf Habacker) |
| 623 |
|
| 624 |
D-Bus 1.8.6 (2014-06-02) |
| 625 |
== |
| 626 |
|
| 627 |
Security fixes: |
| 628 |
|
| 629 |
• On Linux ≥ 2.6.37-rc4, if sendmsg() fails with ETOOMANYREFS, silently drop |
| 630 |
the message. This prevents an attack in which a malicious client can |
| 631 |
make dbus-daemon disconnect a system service, which is a local |
| 632 |
denial of service. |
| 633 |
(fd.o #80163, CVE-2014-3532; Alban Crequy) |
| 634 |
|
| 635 |
• Track remaining Unix file descriptors correctly when more than one |
| 636 |
message in quick succession contains fds. This prevents another attack |
| 637 |
in which a malicious client can make dbus-daemon disconnect a system |
| 638 |
service. |
| 639 |
(fd.o #79694, fd.o #80469, CVE-2014-3533; Alejandro Martínez Suárez, |
| 640 |
Simon McVittie, Alban Crequy) |
| 641 |
|
| 642 |
Other fixes: |
| 643 |
|
| 644 |
• When dbus-launch --exit-with-session starts a dbus-daemon but then cannot |
| 645 |
attach to a session, kill the dbus-daemon as intended |
| 646 |
(fd.o #74698, Роман Донченко) |
| 647 |
|
| 648 |
D-Bus 1.8.4 (2014-06-10) |
| 649 |
== |
| 650 |
|
| 651 |
Security fix: |
| 652 |
|
| 653 |
• Alban Crequy at Collabora Ltd. discovered and fixed a denial-of-service |
| 654 |
flaw in dbus-daemon, part of the reference implementation of D-Bus. |
| 655 |
Additionally, in highly unusual environments the same flaw could lead to |
| 656 |
a side channel between processes that should not be able to communicate. |
| 657 |
(CVE-2014-3477, fd.o #78979) |
| 658 |
|
| 659 |
D-Bus 1.8.2 (2014-04-30) |
| 660 |
== |
| 661 |
|
| 662 |
The “nobody wants red” release. |
| 663 |
|
| 664 |
Enhancements: |
| 665 |
|
| 666 |
• in the CMake build system, add some hints for Linux users cross-compiling |
| 667 |
Windows D-Bus binaries to be able to run tests under Wine |
| 668 |
(fd.o #41252, Ralf Habacker) |
| 669 |
|
| 670 |
• add Documentation key to dbus.service (fd.o #77447, Cameron Norman) |
| 671 |
|
| 672 |
Fixes: |
| 673 |
|
| 674 |
• in "dbus-uuidgen --ensure", try to copy systemd's /etc/machine-id |
| 675 |
to /var/lib/dbus/machine-id instead of generating an entirely new ID |
| 676 |
(fd.o #77941, Simon McVittie) |
| 677 |
|
| 678 |
• if dbus-launch receives an X error very quickly, do not kill |
| 679 |
unrelated processes (fd.o #74698, Роман Донченко) |
| 680 |
|
| 681 |
• on Windows, allow up to 8K connections to the dbus-daemon, instead of the |
| 682 |
previous 64 (fd.o #71297; Cristian Onet, Ralf Habacker) |
| 683 |
|
| 684 |
• cope with \r\n newlines in regression tests, since on Windows, |
| 685 |
dbus-daemon.exe uses text mode (fd.o #75863, Руслан Ижбулатов) |
| 686 |
|
| 687 |
D-Bus 1.8.0 (2014-01-20) |
| 688 |
== |
| 689 |
|
| 690 |
The “Wolverine distrusts my printer” release. |
| 691 |
|
| 692 |
This starts a new stable branch. The 1.6.x branch is now considered to be |
| 693 |
outdated, and will only receive fixes for serious bugs such as security |
| 694 |
flaws. The 1.4.x and 1.2.x branches no longer have upstream support and |
| 695 |
are unlikely to get any more releases, but if distributors still need to |
| 696 |
support them, please share security patches via upstream. |
| 697 |
|
| 698 |
Summary of changes since 1.6.x: |
| 699 |
|
| 700 |
• libdbus always behaves as if dbus_threads_init_default() had been called |
| 701 |
(thread-safety by default) |
| 702 |
• new dbus-run-session tool, replacing certain misuses of dbus-launch |
| 703 |
• dbus-monitor can talk to outdated versions of dbus-daemon again |
| 704 |
• new org.freedesktop.DBus.GetConnectionCredentials method |
| 705 |
• GetConnectionUnixProcessID also works correctly on Windows, returning |
| 706 |
the Windows process ID |
| 707 |
• GetConnectionWindowsSID returns the correct SID on Windows |
| 708 |
• expat is required, libxml2 can no longer be used as a substitute |
| 709 |
• the userDB cache is required, and cannot be disabled |
| 710 |
• a 64-bit integer type (either int, long, long long or _int64) is required |
| 711 |
• better systemd-journald integration on Linux |
| 712 |
• fixed long-standing fd and array leaks when failing to parse a message |
| 713 |
• fixed referenced-but-never-freed parent nodes (effectively memory leaks) |
| 714 |
when using certain object-path allocation patterns, notably in Avahi |
| 715 |
• better defaults for Windows support |
| 716 |
• better CMake support |
| 717 |
• better portability to mingw32, FreeBSD, NetBSD, QNX and Hurd |
| 718 |
• the source language for the man pages is now Docbook XML |
| 719 |
|
| 720 |
Enhancements since 1.7.10: |
| 721 |
|
| 722 |
• Enhance the CMake build system to check for GLib and compile/run |
| 723 |
a subset of the regression tests (fd.o #41252, #73495; Ralf Habacker) |
| 724 |
|
| 725 |
Fixes since 1.7.10: |
| 726 |
|
| 727 |
• don't rely on va_copy(), use DBUS_VA_COPY() wrapper (fd.o #72840, |
| 728 |
Ralf Habacker) |
| 729 |
|
| 730 |
• fix compilation of systemd journal support on older systemd versions where |
| 731 |
sd-journal.h doesn't include syslog.h (fd.o #73455, Ralf Habacker) |
| 732 |
|
| 733 |
• fix compilation on older MSVC versions by including stdlib.h |
| 734 |
(fd.o #73455, Ralf Habacker) |
| 735 |
|
| 736 |
• Allow <allow_anonymous/> to appear in an included configuration file |
| 737 |
(fd.o #73475, Matt Hoosier) |
| 738 |
|
| 739 |
Test behaviour changes since 1.7.10: |
| 740 |
|
| 741 |
• If the tests crash with an assertion failure, they no longer default to |
| 742 |
blocking for a debugger to be attached. Set DBUS_BLOCK_ON_ABORT in the |
| 743 |
environment if you want the old behaviour. |
| 744 |
|
| 745 |
• To improve debuggability, the dbus-daemon and dbus-daemon-eavesdrop tests |
| 746 |
can be run with an external dbus-daemon by setting |
| 747 |
DBUS_TEST_DAEMON_ADDRESS in the environment. Test-cases that require |
| 748 |
an unusually-configured dbus-daemon are skipped. |