Commit Graph

886 Commits (86117d44d4afd62531cd01dba7e3a698c4de78b4)

Author SHA1 Message Date
Roger A. Light 25bc6f3cf4 Require topics>0 in mosquitto_[un]subscribe*(). 3 years ago
Roger A. Light 34391080d6 Add dynsec init by simple file. 3 years ago
Roger A. Light e3246f547c Print messages in mosquitto_passwd when adding/updating passwords.
Closes #2544. Thanks to Shruti Nanda.
3 years ago
Kai Buschulte 15208e55cc Use preinstalled CMake find module for SQLite3
CMake >= 3.14 comes with a preinstalled FindSQLite3 module, which now
replaces the self-written one.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Abilio Marques 102c275764 broker: add command line argument to test configuration and exit
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light 5731dd8653 Add mosquitto_persistence_location() for plugins. 3 years ago
Roger A. Light 1da29c9e51 Fix `-f` and `-s` options in mosquitto_rr. 3 years ago
Roger A. Light a84b5abb69 Update changelog and sort documentation order. 3 years ago
Roger A. Light 40d8015837 Add MOSQ_EVT_SUBSCRIBE and MOSQ_EVT_UNSUBSCRIBE events.
These are called when subscribe/unsubscribes actually succeed.
4 years ago
Roger A. Light 5279a424b1 Dynsec: Kick clients in tick event rather than immediately
This means that PUBACK/PUBREC should be sent to clients that modify
their own roles.

Closes #2474. Thanks to Stefano Berlato.
4 years ago
Roger A. Light 6ccdda7261 Add bridge_tls_use_os_certs option.
This allows bridges to be easily configured to trust default CA
certificates.

Closes #2473. Thanks to Dustin Utecht.
4 years ago
Roger A. Light 0433b8ee9b Update changelog, fix usage of m_set_clientid(), add test. 4 years ago
Roger A. Light d8028a16d6 Update changelog.
Closes #1509.
4 years ago
Roger A. Light c93d53c278 Update changelog 4 years ago
Roger A. Light 14d1c32f9d Update changelog. Style, whitespace and, linker fixes. 4 years ago
Roger A. Light 78ee04cc27 Add mosquitto_client() for plugins, rearrange changelog. 4 years ago
Roger A. Light ab67dbcacd More client tests, and an output format fix. 4 years ago
Roger A. Light 2501a64035 Merge branch 'master' into develop 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 Light ff69dc8db2 Add bridge_receive_maximum option for MQTT v5.0 bridges. 4 years ago
Roger Light 99eddeb109 Add bridge_session_expiry_interval option for MQTT v5.0 bridges. 4 years ago
Roger A. Light 34b41a3b01 Dynsec: Add ability to deny wildcard subscriptions for a role 4 years ago
Roger A. Light 94d61305fa Fix bridge not respecting receive-maximum when reconnecting with MQTT v5. 4 years ago
Roger Light 538154bd9c The `--insecure` option now disables all server certificate verification. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 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 65603da5e4 Add `-W` timeout support to Windows. 4 years ago
Roger A. Light f0ed872786 Allow multiple service instances on Windows. 4 years ago
Roger Light 1cc8ebb782 Add support for sending the SIGRTMIN signal to trigger log rotation.
Closes #2337. Thanks to Evgeny S.
4 years ago
Roger Light 9d3f292b39 Send DISCONNECT With session-takeover return code.
This is for MQTT v5 clients when a client connects with the same client id.

Closes #2340. Thanks to hvxl.
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 Light 51eda2bf79 Add more efficient keepalive check. 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 0992bafcc8 Add MOSQ_ERR_PLUGIN_IGNORE. 4 years ago
Roger A. Light 2bfc7e7cc8 Do plugin callback unregistering automatically. 4 years ago
Roger A. Light 0f2f77c945 Improve idle / mux timeout performance. 4 years ago
Roger Light 88dfac8e88 Windows threading support for the library. 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 4f24ffef2f Add `disable_client_cert_date_checks` option. 4 years ago
Roger A. Light ba936a869d Add `accept_protocol_versions` option. 4 years ago