Commit Graph

827 Commits (f9fa19ce6a8f79d4d73c039a7e6aea5db05e6d83)

Author SHA1 Message Date
Roger A. Light f9fa19ce6a - Fix `-o` not working in `mosquitto_ctrl`, and typo in related documentation.
Closes #2471. Thanks to Vitaljok and rillbert
3 years ago
Roger A. Light 6468bb4f9b Fix documentation omission around mosquitto_reinitialise.
Closes #2489. Thanks to rroguski
3 years ago
Roger A. Light 351911bd8f Fix incorrect return code being sent in DISCONNECT.
This is for when a client session is taken over.

Closes #2607. Thanks to der-b
3 years ago
Roger A. Light e979a46c04 Backport SSL connect fixes.
Closes #2594.
Closes #2595.
3 years ago
Roger A. Light a913de2d28 Fix some PUBLISH messages not being counted in $SYS stats.
Closes #2448. Thanks to Antoine.
3 years ago
Roger A. Light ba6bbd5959 Add documentation of struct mosquitto_message to header.
Closes #2561.
3 years ago
Roger A. Light 0c9d9f2163 Don't set SIGPIPE to ignore, use MSG_NOSIGNAL instead.
Closes #2564. Thanks to nmeum.
3 years ago
Roger A. Light 8c0600c40c Fixed build for openssl compiled with OPENSSL_NO_ENGINE.
Closes #2589. Thanks to Dirk Feytons.
3 years ago
Roger A. Light a146c218ad Fix unlimited message quota not being properly checked.
This is for incoming messages.

Closes #2593. Thanks to dongguoqing2015.
3 years ago
Roger A. Light ebfebf8708 Fix bridges not sending failure notification messages.
This is for messages to the local broker if the remote bridge connection
fails.

Closes #1488.
Closes #2467.
3 years ago
Roger A. Light c99502a256 Add clients to session expiry check list when restarting and reloading from persistence.
Closes #2546. Thanks to Joachim Schachermayer.
3 years ago
Roger A. Light 29c6480c47 Improve documentation of `persistent_client_expiration` option.
Closes #2404. Thanks to Rainer Plischke.
3 years ago
Roger A. Light 09ac578459 Fix unused flags in CONNECT command being forced to be 0 in MQTT v3.1
This check is not required until v3.1.1.

Closes #2522. Thanks to garinocyr
3 years ago
Roger A. Light b6b8039914 Fix use of `MOSQ_OPT_TLS_ENGINE` being unable to be used.
This was due to the openssl ctx not being initialised until starting to connect.

Closes #2537. Thanks to chessing-c4.
3 years ago
Roger A. Light 127c5e7577 Update changelog 3 years ago
Roger A. Light 0745a8536a Update changelog.
Fix mosquitto_pub incorrectly reusing topic aliases when reconnecting.

Closes #2494.
3 years ago
Roger A. Light 74814cc68f Simplify cmake threads detection on Windows
Requires cmake 3.1.
4 years ago
Roger A. Light 1e9d00a1a1 Update changelog 4 years ago
Roger A. Light 497cbe0c6c Update changelog 4 years ago
Roger A. Light 2a056f14c2 Bump version number, update web. 4 years ago
Roger A. Light 94fcd470d0 Fix incorrect subscribe_callback in mosquittopp.h.
Closes #2367. Thanks to Jens Alfke.
4 years ago
Roger A. Light 11975332d4 Fix mosquitto_topic_matches_sub2() not using the length parameters.
Closes #2364. Thanks to Jens Alfke.
4 years ago
Roger A. Light 94d61305fa Fix bridge not respecting receive-maximum when reconnecting with MQTT v5. 4 years ago
Roger A. Light 292e969140 Bump version, update web. 4 years ago
Roger A. Light 46a6c5d17b Fix mosquitto_plugin.h not including mosquitto_broker.h.
Closes #2350. Thanks to Wolfgang Petroschka.
4 years ago
Roger A. Light 20d2935d81 Fix date format in mosquitto_sub output.
Closes #2353. Thanks to Norman Rasmussen.
4 years ago
Roger Light 5cae4d1d81 Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication.
Closes #2339. Thanks to hvxl.
4 years ago
Roger A. Light be80a3f4d0 Fix client id not showing in log on failed connections, where possible. 4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light 0ce167c472 Fix log file being truncated on Windows. 4 years ago
Roger A. Light 7061569bf4 Don't send retained messages when a shared subscription is made. 4 years ago
Roger A. Light 9e28eea0a2 Initialise sockpairR/W to invalid in `mosquitto_reinitialise()`
This avoids closing invalid sockets in `mosquitto_destroy()` on error.

Closes #2326. Thanks to Arrigo Zanette.
4 years ago
Roger A. Light 7b58eee414 Fix problem parsing config files with Windows line endings.
Closes #2297. Thanks to all the people who commented there!
4 years ago
Roger A. Light 330bf6efdc Various fixes around inflight quota management.
Closes #2306. Thanks to canique.
4 years ago
Roger A. Light 7551a29985 Fix LWT messages not being delivered if `per_listener_settings` was set to true
Closes #2314. Thanks to Marc Hamel.
4 years ago
Roger A. Light d942ed7eec Fix `max_keepalive` option not being able to be set to 0. 4 years ago
Roger A. Light 42acfdad41 Bump version, update web page. 4 years ago
Roger A. Light c6859366c4 Merge branch 'fixes' 4 years ago
Roger A. Light d09591d92e Fix reconnecting in some cases when using MOSQ_OPT_TLS_USE_OS_CERTS.
Fix reconnecting failing when MOSQ_OPT_TLS_USE_OS_CERTS was in use, but none
of capath, cafile, psk, nor MOSQ_OPT_SSL_CTX were set, and
MOSQ_OPT_SSL_CTX_WITH_DEFAULTS was set to the default value of true.

Closes #2288. Thanks to Poltorak Serguei.
4 years ago
Roger A. Light e43d36020f Update plugin configuration documentation.
Closes #2286. Thanks to Karl Palsson.
4 years ago
Roger A. Light 605131502b Fix MOSQ_OPT_SSL_CTX not being able to be set to NULL.
Closes #2289. Thanks to Poltorak Serguei.
4 years ago
Roger A. Light 77af2ecefe Fix `mosquitto_ctrl dynsec setDefaultACLAccess` command not working. 4 years ago
Roger A. Light 06c84aeb66 CVE-2021-34434 details. 4 years ago
Roger A. Light 37b5aedcb6 Fix for #575314.
Incoming QoS 2 messages that had not completed the QoS flow were not being
checked for ACL access when a clean session=False client was reconnecting.

Closes #575314.
4 years ago
Roger A. Light 9d6a73f9f7 Fix CONNECT performance with many user-properties.
An MQTT v5 client connecting with a large number of user-property properties
could cause excessive CPU usage, leading to a loss of performance and
possible denial of service. This has been fixed.
4 years ago
Roger Light 32af599c81 Fix $share subscriptions not being recovered for durable clients.
If a plugin had granted ACL subscription access to a
durable/non-clean-session client, then removed that access, the client would
keep its existing subscription. This has been fixed.
4 years ago
Roger A. Light 756b3fcb08 Document TLS certificate behaviour when using `-p 8883`. 4 years ago
Roger A. Light f952d19da1 Fix printf format build warning on MIPS.
Closes #2271. Thanks to Karl Palsson.
4 years ago
Roger A. Light 9b25dd3b0d libressl build fixes.
Closes #2198. Thanks to Theo Buehler.
4 years ago
Roger A. Light 0d1837ebe3 Deconfigure thread mode when the loop thread ends.
Threaded mode is deconfigured when the mosquitto_loop_start() thread ends,
which allows mosquitto_loop_start() to be called again.

Closes #2242. Thanks to Timo Lange.
4 years ago