Commit Graph

245 Commits (23983afe82e61d7aa1b4cdfd192a88b5317e20bb)

Author SHA1 Message Date
Roger A. Light dcbbf71cb2 Coverity suppressions 3 years ago
Roger A. Light da0eab36a4 Remove unused events 3 years ago
Roger A. Light fd330de080 client_id -> clientid rename. 3 years ago
Roger A. Light 0dc1fa5a49 Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs. 3 years ago
Roger A. Light 3e17494d34 Rename topic -> topic_filter in events. 3 years ago
Roger A. Light 9ef6c49266 Renaming and adding tests. 3 years ago
Abilio Marques 46442193f3 add example plugin that jails clients
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques 4cc76aae9c add example plugin that limits subscriptions' QoS
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques 1677d1aed2 allow message modification on output
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light 1081661f74 Refactor client structs. 3 years ago
Roger A. Light 5364410615 Rename members 3 years ago
Roger A. Light 7013a3502d Refactor client_msg structs 3 years ago
Roger A. Light 3634f18bc9 Refactor subscription structs 3 years ago
Roger A. Light 100fd31530 Refactor base_msg structs. 3 years ago
Roger A. Light 4199e7b2d3 Move control functions to common, and use in the broker. 3 years ago
Roger A. Light 611c43e537 Dynsec: Save file at end of command batch, not after each command 3 years ago
Norbert Heusser ba5f8eb448 Cleanup of include guard defines
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light 9e9a4f836c Fix duplicate# 3 years ago
Roger A. Light c6be853a7e Sync example with plugin interface 3 years ago
Roger A. Light 8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 3 years ago
Roger A. Light dae1073360 Add missing Makefile 3 years ago
Roger A. Light be8cf754fb Move plugin to examples dir, plus some tweaks. 3 years ago
Frank Villaro-Dixon cbbc4a0ea3 Auth: add authentication via env variable
This commit provides a "cloud-native" way of authenticating clients
by comparing the provided password to the MOSQUITTO_PASSWORD environment
variable.

This allows to quickly and easily adding authentication by simply
providing the password to the environment variable of the docker
container / kubernetes pod.

Signed-off-by: Frank Villaro-Dixon <frank@vi-di.fr>
3 years ago
Norbert Heusser 170cd85cec Add target test-compile to all Makefile to allow tests in plugin folders
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Norbert Heusser e4c252b781 Don't install example plugin client-lifetime-stats
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light 54365ec53b Dynsec: Fix improbably out of memory case 3 years ago
Roger A. Light 7ebe148065 Dynsec: Simplify config load 3 years ago
Roger A. Light a2e5bb5294 Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings 3 years ago
Roger A. Light 0503d5d35c Fix windows build 3 years ago
Kai Buschulte e6f5633ff6 Fix some compiler warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte 9c5a5081df Fix CMake build
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light 4596cef734 Ban file should be appended. 3 years ago
Roger A. Light 6dc27d8214 Fix Coverity Scan 1499812, 1499810 3 years ago
Roger A. Light 7f0e5cd809 Tidy plugin directory 3 years ago
Roger A. Light 9aeb756dac Fix Coverity Scan 1499842 3 years ago
Roger A. Light ae14eb34e1 Fix Coverity Scan 1499817 3 years ago
Roger A. Light 403f6443be Sqlite: Provide logs on restore errors 3 years ago
Roger A. Light 9bb389dda1 Avoid compile error.
"a label can only be part of a statement and a declaration is not a
statement"
3 years ago
Roger A. Light 1a5cd9e849 Fix Coverity Scan 1499794. 3 years ago
Roger A. Light 9c2d0ce401 Fix copy paste error.
Coverity Scan 1499794.
3 years ago
Roger A. Light c5c7dd3f57 Fix payload check 3 years ago
Roger A. Light 65153eba45 Example plugin that bans based on payload 3 years ago
Roger A. Light a872c0466f Fix leak 3 years ago
Roger A. Light adf985bff8 Persistence: Store cmsg_id and sub id for client_msgs. 3 years ago
Roger A. Light cfd4aa1c95 sqlite: Consistent naming 3 years ago
Roger A. Light 2bfb0dc022 sqlite: client_msgs are only ever all cleared 3 years ago
Roger A. Light bdf8493e81 sqlite: base_msg can never have these properties 3 years ago
Roger A. Light 16feb14a57 Persistence interface updates and sqlite plugin fixes
The MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR event has been removed, due to
never being called. It is the responsibility of the plugin to remove
client subscriptions and client messages when the client is removed.

Lots of persist test improvements and additions - mostly checking item
counts.
3 years ago
Roger A. Light d4960d0ead sqlite: Save/restore binary properties. 3 years ago
Roger A. Light 86b314c624 Remove unused defs 3 years ago