Revisions of mosquitto

Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 870017 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 48)
- Update to version 2.0.7
  Broker:
  * Fix some minor memory leaks on exit only.
  * Fix possible memory leak on connect.
  * Fix openssl engine not being able to load private key.
  Clients:
  * Fix config files truncating options after the first space.
  Build:
  - Fix man page building to not absolutely require xsltproc when
    using CMake.
- Update to version 2.0.6
  Broker:
  * Fix calculation of remaining length parameter for websockets
    clients that send fragmented packets.
  Broker:
  * Fix potential duplicate Will messages being sent when a will
    delay interval has been set.
  * Fix message expiry interval property not being honoured in
    `mosquitto_broker_publish` and `mosquitto_broker_publish_copy`.
  * Fix websockets listeners with TLS not responding.
  * Improve logging in obscure cases when a client disconnects.
  * Fix reloading of listeners where multiple listeners have been
    defined with the same port but different bind addresses.
  * Fix `message_size_limit` not applying to the Will payload.
  * The error topic-alias-invalid was being sent if an MQTT v5
    client published a message with empty topic and topic alias
    set, but the topic alias hadn't already been configured on
    the broker. This has been fixed to send a protocol error, as
    per section 3.3.4 of the specification.
  * Note in the man pages that SIGHUP reloads TLS certificates.
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 858370 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 47)
- Update to version 2.0.4
  Broker:
  * Fix $SYS/broker/publish/messages/+ counters not being updated
    for QoS 1, 2 messages.
  * mosquitto_connect_bind_async() and mosquitto_connect_bind_v5()
    should not reset the bind address option if called with
    bind_address == NULL.
  * Add more log messages for dynsec load/save error conditions.
  Build:
  * Fix man pages not being built when using CMake.
- Update to version 2.0.3
  Security:
  * Running mosquitto_passwd with the following arguments only
    `mosquitto_passwd -b password_file username password` would
    cause the username to be used as the password.
  Broker:
  * Fix LWT not being sent on client takeover when the existing
    session wasn't being continued.
  * Fix bridges possibly not completing connections when WITH_ADNS
    is in use.
  * Fix QoS 0 messages not being delivered if max_queued_messages
    was set to 0.
  * Fix local bridges being disconnected on SIGHUP.
  * Fix slow initial bridge connections for WITH_ADNS=no.
  * Fix persistence_location not appending a '/'.
  Clients:
  * Fix mosquitto_sub being unable to terminate with Ctrl-C if a
    successful connection is not made.
  Apps:
  * Fix `mosquitto_passwd -b` using username as password (not if
Marcus Rueckert's avatar Marcus Rueckert (darix) accepted request 855502 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 46)
- Update to version 2.0.2
  Broker:
  * Fix DH group not being set for TLS connections, which meant
    ciphers using DHE couldn't be used.
  * Fix websockets listeners not causing the main loop not to
    wake up.
  Client library:
  * Fix DH group not being set for TLS connections, which meant
    ciphers using DHE couldn't be used.
  Apps:
  * Fix "mosquitto_passwd -U"
  Build:
  - Fix cjson include paths.
  - Fix build using WITH_TLS=no when the openssl headers aren't
    available.
  - Distribute cmake/ and snap/ directories in tar.
- Drop patch:
  * mosquitto-fix-cmake-cjson-detection.patch

- Update to version 2.0.0
  !!! Mosquitto 2.0 introduces a number of changes to the
  behaviour of the broker. See the following document for details
  https://mosquitto.org/documentation/migrating-to-2-0/
  Noteworthy changes
  * Mosquitto is now more secure by default and requires users to
    take an active decision in how they configure security on
    their broker, instead of possibly relying on the older very
    permissive behaviour, as well as dropping privileged access
    more quickly
  * A new plugin interface has been introduced which goes beyond
buildservice-autocommit accepted request 828659 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 45)
baserev update by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 827943 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 44)
- Update to version 1.6.12
  Security:
  * In some circumstances, Mosquitto could leak memory when
    handling PUBLISH messages. This is limited to incoming QoS 2
    messages, and is related to the combination of the broker
    having persistence enabled, a clean session=false client,
    which was connected prior to the broker restarting, then has
    reconnected and has now sent messages at a sufficiently high
    rate that the incoming queue at the broker has filled up and
    hence messages are being dropped. This is more likely to have
    an effect where max_queued_messages is a small value.
    This has now been fixed. Closes #1793.
  Broker:
  * Build warning fixes when building with WITH_BRIDGE=no and
    WITH_TLS=no.
  Clients:
  * All clients exit with an error exit code on CONNACK failure.
  * Don't busy loop with `mosquitto_pub -l` on a slow connection.
buildservice-autocommit accepted request 825875 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 43)
baserev update by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 825827 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 42)
- Update to version 1.6.11
  Broker:
  * Fix usage message only mentioning v3.1.1.
  * Fix broker refusing to start if only websockets listeners
    were defined.
  * Change systemd unit files to create /var/log/mosquitto before
    starting.
  * Don't quit with an error if opening the log file isn't
    possible.
  * Fix bridge topic remapping when using "" as the topic.
  * Fix messages being queued for disconnected bridges when clean
    start was set to true.
  * Fix `autosave_interval` not being triggered by messages being
    delivered.
  * Fix websockets clients sometimes not being disconnected
    promptly.
  * Fix "slow" file based logging by switching to line based
    buffering.
  * Log protocol error message where appropriate from a bad
    UNSUBSCRIBE, rather than the generic "socket error".
  * Don't try to start DLT logging if DLT unavailable, to avoid a
    long delay when shutting down the broker.
  * Fix potential memory leaks.
  * Fix clients not receiving messages after a previous client
    with the same client ID and positive will delay interval quit.
  * Fix overly broad HAVE_PTHREAD_CANCEL compile guard.
  Client library:
  * Improved documentation around connect callback return codes.
  * Fix `mosquitto_publish*()` no longer returning
    `MOSQ_ERR_NO_CONN` when not connected.
buildservice-autocommit accepted request 825183 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 41)
baserev update by copy to link target
Marcus Rueckert's avatar Marcus Rueckert (darix) accepted request 824014 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 40)
- Lets always build with support for systemd and websockets and
  drop all the related ifdef's.
- Run spec-cleaner.
Marcus Rueckert's avatar Marcus Rueckert (darix) accepted request 823457 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 39)
- Fix for the apparmor profile to properly allow reading files
  from /etc/mosquitto/conf.d/
buildservice-autocommit accepted request 810719 from Factory Maintainer's avatar Factory Maintainer (factory-maintainer) (revision 38)
baserev update by copy to link target
Marcus Rueckert's avatar Marcus Rueckert (darix) accepted request 808910 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 37)
- Update to version 1.6.10
  Broker:
  * Report invalid bridge prefix+pattern combinations at config
    parsing time rather than letting the bridge fail later.
  * Fix `mosquitto_passwd -b` not updating passwords for existing
    users correctly. Creating a new user with `-b` worked without
    problem.
  * Fix memory leak when connecting clients rejected.
  * Don't disconnect clients that are already disconnected. This
    prevents the session expiry being extended on SIGHUP.
  * Fix support for openssl 3.0.
  * Fix check when loading persistence file of a different version
    than the native version.
  * Fix possible assert crash associated with bridge reconnecting
    when compiled without epoll support.
  Client library:
  * Don't treat an unexpected PUBACK, PUBREL, or PUBCOMP as a
    fatal error.
  * Fix support for openssl 3.0.
  * Fix memory leaks from multiple calls to
    `mosquitto_lib_init()`/`mosquitto_lib_cleanup()`.
  * Fix documentation on return code of `mosquitto_lib_init()`
    for Windows.
  Clients:
  * Fix mosquitto_sub %j or %J not working on Windows.
  Build:
  * Various fixes for building with <C99 support.
buildservice-autocommit accepted request 780688 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 36)
baserev update by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 780678 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 35)
- Update to version 1.6.9
  Broker:
  * Fix session expiry with very large expiry intervals.
  * Check ACL patterns for validity when loading.
  * Use presence of password file as indicator for whether username
    checks should take place, not whether usernames are defined in
    the password file.
  * Strip whitespace from end of config file string options.
  * Satisfy valgrind when exiting on error due to not being able
    to open a listening socket, by calling freeaddrinfo.
  * Fix config->user not being freed on exit.
  * Fix trailing whitespace not being trimmed on acl users.
  * Fix `bind_interface` not working for the default listener.
  * Improve password file parsing in the broker and mosqitto_passwd.
  * Print OpenSSL errors in more situations, like when loading
    certificates fails.
  * Fix `mosquitto_client_protocol() returning incorrect values.
  Client library:
  * Set minimum keepalive argument to `mosquitto_connect*()` to be
    5 seconds.
  * Fix `mosquitto_topic_matches_sub()` not returning
    MOSQ_ERR_INVAL if the topic contains a wildcard.
  Clients:
  * Fix `--remove-retained` not obeying the `-T` option for
    filtering out topics.
  * Default behaviour for v5 clients using `-c` is now to use
    infinite length sessions, as with v3 clients.
buildservice-autocommit accepted request 766709 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 34)
baserev update by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 766708 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 33)
- Add patch:
  * mosquitto-1.6.8-config.patch
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 766422 from James Oakley's avatar James Oakley (jimfunk) (revision 32)
- Update apparmor profile to allow open of /etc/mosquitto/conf.d
- Update default config to include files under /etc/mosquitto/conf.d
  per the README in the directory
buildservice-autocommit accepted request 752520 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 31)
baserev update by copy to link target
Martin Hauke's avatar Martin Hauke (mnhauke) accepted request 752489 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 30)
- Update to version 1.6.8
  Broker:
  * Various fixes for `allow_zero_length_clientid` config, where
    this option was not being set correctly.
  * Fix incorrect memory tracking causing problems with
    memory_limit option.
  * Fix subscription topics being limited to 200 characters instead
    of 200 hierarchy levels.
  * Only a single CRL could be loaded at once. This has been fixed.
  * Fix problems with reloading config when `per_listener_settings`
    was true.
  * Fix retained messages with an expiry interval not being expired
    after being restored from persistence.
  * Fix messages with an expiry interval being sent without an
    expiry interval property just before they were expired.
  * Fix TLS Websockets clients not receiving messages after taking
    over a previous connection.
  * Fix MQTT 3.1.1 clients using clean session false, or MQTT 5.0
    clients using session-expiry-interval set to infinity never
    expiring, even when the global `persistent_client_expiration`
    option was set.
  Client library:
  * Fix publish properties not being passed to on_message_v5
    callback for QoS 2 messages.
  * Fix documentation issues in mosquitto.h.
  * Document `mosquitto_connect_srv()`.
  Clients:
  * Fix duplicate cfg definition in rr_client.
  * Fix `mosquitto_pub -l` hang when stdin stream ends.
  * Fix `mosquitto_pub -l` not sending the final line of stdin if
buildservice-autocommit accepted request 733249 from Martin Hauke's avatar Martin Hauke (mnhauke) (revision 29)
baserev update by copy to link target
Displaying revisions 21 - 40 of 68
openSUSE Build Service is sponsored by