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
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
a0f58f20c3
Update threaded builds.
...
Most specifically use -pthread instead of -lpthread.
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
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
2501a64035
Merge branch 'master' into develop
4 years ago
Konstantin Podsvirov
c4d51f0835
Fix DESTINATION for mosquitto_dynamic_security MODULE
...
On Windows MODULE will be installed as LIBRARY component
to `lib` folder that is not prefer for dynamic loaded modules
but can be found in RUNTIME DESTINATION (`bin` folder) too.
Signed-off-by: Konstantin Podsvirov <konstantin@podsvirov.pro>
4 years ago
Roger A. Light
799cdead15
Experimental custom websockets support.
4 years ago
Roger Light
dbd0d6f0d8
CMake build fixes.
4 years ago
Roger A. Light
aa29b45e70
Merge branch 'master' into develop
4 years ago
Roger Light
c01ae67af7
Fix openssl not being linked to dynamic security plugin.
...
Closes #2277 . Thanks to LeSuisse.
4 years ago
Roger A. Light
c862ffec8b
Allow mosquitto_ctrl dynsec module to update passwords in files
4 years ago
Roger Light
42b45e0c89
Build fixes.
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 A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger Light
0a90e62f93
CMake tidy.
4 years ago
Martin Hauke
e21eaeca37
CMake: Fix undefined symbols in plugins
5 years ago
Roger A. Light
26ffe1300a
Various Windows build fixes.
5 years ago
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
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
91584a90a2
Fix dynsec plugin cmake build
5 years ago
Roger A. Light
fdff255916
New dynamic security plugin.
5 years ago