Commit Graph

112 Commits (50dc0399050315eca16aae1b4284e08dccb45eb0)

Author SHA1 Message Date
Norbert Heusser d4216c8cb6 Fixed CMakeLists.txt
* Addded missing files plugin_subscribe and plugin_unsubscribe to src/CMakeLists.txt
* Aligned mixed usage of all-keyword and all-plain in target_link_libra…ry definition in in CMakeLists.txt

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light b922c13509 Compile broker against pthreads if threading enabled.
This allows plugins to *carefully* use threads.
4 years ago
Roger A. Light dbe1554cf5 Fix Coverity Scan 1486946 Resource leak. 4 years ago
Roger A. Light 726b7f42a8 Fix Coverity Scan 1486941 4 years ago
Roger A. Light 2d3b152a22 Rename of mosquitto_msg_store struct.
struct mosquitto_msg_store -> struct mosquitto_base_msg

This is the base message which client messages and retained messages
refer to. The base messages are still held in the message store.

This change comes about because the persistence interface exposes these
message types. Prior to this commit the different messages were "msg",
"client_msg", and "retain". After this commit there is "base_msg",
"client_msg", and and "retain_msg" in the persist interface.
4 years ago
Roger A. Light 14d1c32f9d Update changelog. Style, whitespace and, linker fixes. 4 years ago
Norbert Heusser e7e8b6e832 * Added list of connections to dynsec/getClient response
* Added new helper function mosquitto_apply_on_all_clients to broker
* Refactoring in dynamic-security plugin

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light ffb7661d86 Move shared code to common directory
This is currently limited to "utility" type functions and does not include code common to the library and broker that are protocol related.
4 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Roger A. Light 6b32cf61b2 CMake build fixes, including sqlite support. 4 years ago
Roger A. Light 8d073771c3 Make some plugin code shared for future use. 4 years ago
Roger A. Light 9b2c64135f listPlugins command, and test. 4 years ago
Roger A. Light 82658805c7 listListeners command. 4 years ago
Roger A. Light 0f8733627a Plugin persistence interface. 4 years ago
Roger A. Light 9ad8d943be Stored messages now always stored in a hash table. 4 years ago
Roger Light cd07f1136b Bump copyrights. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 4 years ago
Roger A. Light 799cdead15 Experimental custom websockets support. 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 55d5d2e5f2 Fix for building when uthash not available. 4 years ago
Roger Light dbd0d6f0d8 CMake build fixes. 4 years ago
Roger A. Light a73806acd4 App build fix. 4 years ago
Roger A. Light a25fc166a8 Add $CONTROL/broker/v1 control & the `getPluginInfo` command. 4 years ago
Roger A. Light aa29b45e70 Merge branch 'master' into develop 4 years ago
Roger A. Light 77af2ecefe Fix `mosquitto_ctrl dynsec setDefaultACLAccess` command not working. 4 years ago
Roger A. Light f952d19da1 Fix printf format build warning on MIPS.
Closes #2271. Thanks to Karl Palsson.
4 years ago
Roger Light 33349010cd Fix linker error 4 years ago
Roger Light 342aa0ad1a Fix installation using WITH_TLS=no.
Closes #2281. Thanks to Matt Turner.
4 years ago
Roger A. Light c862ffec8b Allow mosquitto_ctrl dynsec module to update passwords in files 4 years ago
Roger A. Light 182384440b Password salts are now 64 bytes long. 4 years ago
Roger A. Light 0cdaac0227 Remove unused macro. 4 years ago
Roger A. Light 906a515704 Simplify client message properties, only one is used. 4 years ago
Roger A. Light 214feb8f6b Merge branch 'fixes' into develop 4 years ago
Roger Light 0a90e62f93 CMake tidy. 4 years ago
Roger Light 0eb7391e71 Fix tests and db_dump compilation. 4 years ago
Roger A. Light 8a03b5ad5c Function for checking if a context is connected. 4 years ago
Roger Light e1c8f09372 Remove C++ style comments. 4 years ago
Roger A. Light 0446bba7df Fix some conversion warnings. 5 years ago
Roger A. Light 4ee03f21e3 Guard against missing UNUSED. 5 years ago
Roger A. Light 3ac2c3ee09 Improve mosquitto_ctrl documentation. 5 years ago
Roger Light 2de8c15bc9 Minor build fixes. 5 years ago
Roger A. Light 603107b87a Fix build of mosquitto_ctrl with static only libs. 5 years ago
Roger A. Light 706a1f3f29 Fix more minor compiler warnings. 5 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light 9c4b9a0311 ctrl: Error if new passwords don't match.
Produce an error when requesting a new password if both
attempts do not match.

Closes #2011. Thanks to Willem Eradus.
5 years ago
Roger A. Light 26fbd0ec74 ctrl: Allow command line arguments to override config file options.
Closes #2010. Thanks to Willem Eradus.
5 years ago
Roger A. Light 370cec5edd Fixes for lots of minor build warnings highlighted by Visual Studio. 5 years ago
Roger Light 5b3acfe3cc Fix `mosquitto_ctrl dynsec getGroup` not showing roles.
Closes #1997. Thanks to Willem Eradus.
5 years ago
Roger A. Light 70db9c486e Disallow control characters in mosquitto_passwd usernames. 5 years ago