Commit Graph

2761 Commits (f7a57add81ae0624507a8dc6d838804c464e5dcf)
 

Author SHA1 Message Date
Roger A. Light f7a57add81 Add NanoMQ crash test case. 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 a73806acd4 App build fix. 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 9afeeb1a56 Docker apk upgrade no longer needed. 4 years ago
Roger A. Light 6d96f660bb Web page updates. 4 years ago
Roger A. Light 1638bd34f8 Update docker images
Use alpine:3.14, removing the need to compile cjson ourselves.
Update to libwebsockets 4.2.1.
Update to mosquitto 2.0.12.
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 9d95cba95e Fix leak. 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 376226c129 Build warning fixes. 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
Roger A. Light 9526b4cf23 Check for file==dir only when reading. 4 years ago
Roger Light ba2ca33671 Strict protocol compliance fixes, and extensive test suite. 4 years ago
Roger Light 723b5d7081 Fix listener mount_point not being removed on outgoing messages.
Closes #2244. Thanks to alflexRH.
4 years ago
Roger Light 33349010cd Fix linker error 4 years ago
Roger Light 6608e852a1 Fix broker not quiting if `password_file` is specified as a directory.
Closes #2241. Thanks to Bryan Pearson.
4 years ago
Roger Light 526b8430e2 Fix for #2283.
Closes #2283. Thanks to Heath Raftery.
4 years ago
Roger Light c01ae67af7 Fix openssl not being linked to dynamic security plugin.
Closes #2277. Thanks to LeSuisse.
4 years ago
Roger Light 035291c595 Signal+reload documentation improvement. 4 years ago
Roger Light 342aa0ad1a Fix installation using WITH_TLS=no.
Closes #2281. Thanks to Matt Turner.
4 years ago
Roger Light 93b2232bb9 Apply max_keepalive to MQTT v3.1.1 and v3.1 clients. 4 years ago
Roger A. Light ea371564e7 Disable TLS 1.3 when using TLS-PSK, because it isn't correctly config'd. 4 years ago
Roger A. Light 0143db71a1 Fix TLS certs and PSK not being able to be config'd at the same time. 4 years ago
Roger A. Light a37c8e65d2 TLS-PSK mismatch fix.
Produce an error if a TLS-PSK client tries to connect to a broker
that is not configured with TLS-PSK.
4 years ago
Roger A. Light fc4099eafa Speed up tests. 4 years ago
Roger A. Light 79542158f4 Fix `max_connections` option not being correctly counted. 4 years ago
Roger A. Light 2ace833eee Remove duplicate line 4 years ago
Roger A. Light 8589f082d8 Fix CVE references. 4 years ago
Roger Light 17bbca22fb
Merge pull request #2255 from tparker-usgs/master
Disable HTTP2 when building libwebsockets for docker images.
4 years ago
Roger A. Light eec1ef1c55 Parallelise bridge clean session test. 4 years ago
Roger A. Light 4e146b7b53 Fix possible out of bounds memory reads when reading configuration.
This would happen with a corrupt/crafted configuration file. Unless your
configuration file is writable by untrusted users this is not a risk.

Closes #567213. Thanks to Roland Sako.
4 years ago
Tom Parker 87cba17715 Disable HTTP2 when building libwebsockets for docker images. Works around #1211.
Signed-off-by: Tom Parker <tparker@usgs.gov>
4 years ago
Roger Light e3158e2b09
Merge pull request #2247 from Begasus/haiku
Haiku build fixes
4 years ago
begasus 0f49a9ff5b Haiku build fixes
Signed-off-by: begasus <begasus@gmail.com>
4 years ago
Roger A. Light 30b54ba124 Add platform limitations section to man page. 4 years ago