Commit Graph

113 Commits (9d3f292b3960eb1a7baa0f3aa545733a764192c4)

Author SHA1 Message Date
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 2bfc7e7cc8 Do plugin callback unregistering automatically. 4 years ago
Roger A. Light 6763d94962 Add plugin version helper. 4 years ago
Roger A. Light 0f2f77c945 Improve idle / mux timeout performance. 4 years ago
Roger Light dbd0d6f0d8 CMake build fixes. 4 years ago
Roger A. Light 7697406d3a Add topic modification example plugin. 4 years ago
Roger A. Light a25fc166a8 Add $CONTROL/broker/v1 control & the `getPluginInfo` command. 4 years ago
Roger A. Light 3413001d47 Add `mosquitto_plugin_set_info()`
This allows plugins to tell the broker their name and version.
4 years ago
Roger A. Light aa29b45e70 Merge branch 'master' into develop 4 years ago
Roger A. Light 76c9e44deb Test config and scripts for example plugins. 4 years ago
Roger A. Light 869016b831 Add print-ip-on-publish example plugin. 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 Light fe007b2fe2 Example plugin that forces all messages to be retained. 4 years ago
Roger A. Light 14993528ab Dynsec will generate a config file if it is not found. 4 years ago
Roger A. Light 182384440b Password salts are now 64 bytes long. 4 years ago
Roger A. Light 192a092d50 Add support for pattern ACLs to dynsec un/subscription ACLs. 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 0cd2619401 Add %c and %u support to dynsec publish ACLs. 4 years ago
Roger A. Light 214feb8f6b Merge branch 'fixes' into develop 4 years ago
Roger A. Light 0d3870585b Plugin delayed authentication. 4 years ago
Roger Light 0a90e62f93 CMake tidy. 4 years ago
Roger A. Light b7b3a42e75 Strict build fixes. 4 years ago
Roger Light e1c8f09372 Remove C++ style comments. 4 years ago
Roger Light ef7662ca8e Merge branch 'master' into develop 4 years ago
Martin Hauke e21eaeca37 CMake: Fix undefined symbols in plugins 5 years ago
Roger Light 117e59b7cf Fix CMake cross compile builds not finding opensslconf.h.
Closes #2160. Thanks to Ozaq.
5 years ago
Roger A. Light c17c6a9028 Move example plugins to their own directory. 5 years ago
Roger Light a5d9986cbd More compiler warning fixes. 5 years ago
Roger Light 2de8c15bc9 Minor build fixes. 5 years ago
Simon Christmann 54ce48d1b6
plugin example: add user properties
Signed-off-by: Simon Christmann <simon@christmann.email>
5 years ago
Simon Christmann 182e294a4f
plugin example: printf
Signed-off-by: Simon Christmann <simon@christmann.email>
5 years ago
Roger A. Light fd036b9435 Merge branch 'fixes' into develop 5 years ago
Roger A. Light 2749b8c5b8 Merge branch 'fixes' 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 0087431bf4 Add MOSQ_EVT_CONNECT event.
This allows plugins to know when a client has successfully authenticated
to the broker.

Add connection-state example plugin to demonstrate MOSQ_EVT_CONNECT.
5 years ago
Roger A. Light 9f9f92104b Add trivial basic authentication plugin based on IP. 5 years ago
Roger A. Light 5927778ae5 Improve logging in dynsec addGroupClient command.
Closes #2008. Thanks to Willem Eradus.
5 years ago
Roger Light c4f4fae5a0 dynsec: Improve logging in addGroupRole.
Close #2005. 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 7e1a818c54 Fix invalid behaviour in dynsec plugin.
This occurred if a group or client was deleted before a role that was
attached to the group or client is deleted.

Closes #1998. Thanks to Willem Eradus.
5 years ago
Roger A. Light 7fc472232c Merge branch 'fixes' 5 years ago
Roger A. Light b8962cc040 Add more log messages for dynsec load/save error conditions. 5 years ago
Roger A. Light c6a6165f3b Fix dynamic security configuration possibly not being reloaded on Windows only.
Closes #1962. Thanks to martgeier.
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 f54360d228 Don't install example plugins. 5 years ago