Commit Graph

24 Commits (ac5dfca52a14151bf5148ec587f418ee0a5263e0)

Author SHA1 Message Date
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
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
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 8d073771c3 Make some plugin code shared for future use. 4 years ago
Roger A. Light cd28187e5e Minor refactor to separate files. 4 years ago
Roger A. Light 17fd1929eb Move config load/save to own file. 4 years ago
Roger A. Light 799cdead15 Experimental custom websockets support. 4 years ago
Roger A. Light 55d5d2e5f2 Fix for building when uthash not available. 4 years ago
Roger A. Light c862ffec8b Allow mosquitto_ctrl dynsec module to update passwords in files 4 years ago
Roger A. Light 14993528ab Dynsec will generate a config file if it is not found. 4 years ago
Roger A. Light e0309acebc Add mosquitto_sub_matches_acl()
This moves the sub matching sub code from the dynsec plugin to the library and broker, and removes all of the malloc calls at the same time.
4 years ago
Roger Light a5d9986cbd More compiler warning fixes. 5 years ago
Peter Robinson 9d7580fdb6 Use libdir as the install prefix for plugins
Use the libdir variable from config.mk just like lib/ uses to ensure
that the plugins are installed into the same location as the library.
This fixes systems that use lib64 for libraries like most 64 bit
Linux distributions.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
5 years ago
Roger A. Light f7dc138157 Fix `install` target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
5 years ago
Roger A. Light 3047374693 Drop hard coded linker flags. 5 years ago
Roger A. Light 791c63372b Fix cjson include paths. 5 years ago
Roger A. Light 42f09b8add Build fixes 5 years ago
Roger A. Light 7dc739a11e Disable dynsec build if cJSON or TLS not available. 5 years ago
Roger A. Light 4f9fe4df4d dynsec: Rolelist as own file for consistency. 5 years ago
Roger A. Light fe436cda95 dynsec: Fix potential grouplist leaks. 5 years ago
Roger A. Light 20bf6e706e dynsec: Fix role clientlists not being freed. 5 years ago
Roger A. Light fdff255916 New dynamic security plugin. 5 years ago