Commit Graph

258 Commits (4a7da066e0c81a2daacb5fbe99805151d95a3b26)

Author SHA1 Message Date
Roger A. Light a31bee722f Simplify make build. 2 years ago
Roger A. Light bc1315820c Don't require cJSON in mosquitto_broker.h 2 years ago
Roger A. Light 68636012a2 Fix cmake build 2 years ago
Roger A. Light f317a0fdfe Fix incorrect free 2 years ago
Roger Light 2b69724ef2 Fix cmake build 2 years ago
Roger A. Light 747fcacd67 Make args const where possible, fix persist-sqlite build. 2 years ago
Roger A. Light 56462c1229 Refactor for more consistent json helper use. 2 years ago
Roger A. Light b648ba227b Fuzzing: Add dynsec file load fuzz target. 3 years ago
Roger A. Light 2940d9cc4c Move control common helper functions to broker. 3 years ago
Roger A. Light 53dc3006a2 Make cJSON a hard dependency. 3 years ago
Roger Light 3f7dd60daa
Merge pull request #2768 from cicorias/cicorias-fix-jail-plugin
fixes build fail on darwin arm64
3 years ago
Roger A. Light 910b8e2c1d Remove effectively duplicate parameter. 3 years ago
Shawn Cicoria e74e5d0123 fixes build fail on darwin arm64
made cmake same as other plugin
examples and now it compiles
clean with cmake

Signed-off-by: Shawn Cicoria <github@cicoria.com>
Shawn Cicoria <shawn@cicoria.com>:
3 years ago
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