Roger A. Light
2976dffa71
Plugin template CMakeLists.
2021-11-16 16:17:31 +00:00
Roger A. Light
34b41a3b01
Dynsec: Add ability to deny wildcard subscriptions for a role
2021-11-10 11:20:25 +00:00
Roger Light
cd07f1136b
Bump copyrights.
2021-11-03 22:10:06 +00:00
Roger A. Light
8ac11929cc
Merge branch 'master' into develop
2021-10-27 17:19:33 +01:00
Roger A. Light
b9b065d2cc
Compiler pedantry, and more checks in tests.
2021-10-14 11:39:46 +01:00
Roger A. Light
91e8344a3e
Windows build fixes.
2021-10-13 14:39:09 +01:00
Roger A. Light
799cdead15
Experimental custom websockets support.
2021-10-06 15:32:45 +01:00
Roger A. Light
a1a190b482
Pointless whitespace tidy.
2021-10-05 15:20:37 +01:00
Roger A. Light
55d5d2e5f2
Fix for building when uthash not available.
2021-09-30 21:37:11 +01:00
Roger A. Light
2bfc7e7cc8
Do plugin callback unregistering automatically.
2021-09-30 12:42:13 +01:00
Roger A. Light
6763d94962
Add plugin version helper.
2021-09-30 10:56:48 +01:00
Roger A. Light
0f2f77c945
Improve idle / mux timeout performance.
2021-09-29 16:07:48 +01:00
Roger Light
dbd0d6f0d8
CMake build fixes.
2021-09-28 11:48:03 +01:00
Roger A. Light
7697406d3a
Add topic modification example plugin.
2021-09-15 10:56:08 +01:00
Roger A. Light
a25fc166a8
Add $CONTROL/broker/v1 control & the getPluginInfo command.
2021-09-07 23:17:31 +01:00
Roger A. Light
3413001d47
Add mosquitto_plugin_set_info()
...
This allows plugins to tell the broker their name and version.
2021-09-07 23:13:06 +01:00
Roger A. Light
aa29b45e70
Merge branch 'master' into develop
2021-09-07 19:17:11 +01:00
Roger A. Light
76c9e44deb
Test config and scripts for example plugins.
2021-09-01 09:31:17 +01:00
Roger A. Light
869016b831
Add print-ip-on-publish example plugin.
2021-09-01 09:27:14 +01:00
Roger Light
c01ae67af7
Fix openssl not being linked to dynamic security plugin.
...
Closes #2277 . Thanks to LeSuisse.
2021-08-21 09:45:26 +01:00
Roger A. Light
c862ffec8b
Allow mosquitto_ctrl dynsec module to update passwords in files
2021-08-18 16:14:27 +01:00
Roger Light
42b45e0c89
Build fixes.
2021-08-18 12:39:02 +01:00
Roger Light
fe007b2fe2
Example plugin that forces all messages to be retained.
2021-08-16 19:49:02 +01:00
Roger A. Light
14993528ab
Dynsec will generate a config file if it is not found.
2021-07-29 17:47:59 +01:00
Roger A. Light
182384440b
Password salts are now 64 bytes long.
2021-07-28 12:01:47 +01:00
Roger A. Light
192a092d50
Add support for pattern ACLs to dynsec un/subscription ACLs.
2021-07-08 21:55:39 +01:00
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.
2021-06-10 22:19:39 +01:00
Roger A. Light
0cd2619401
Add %c and %u support to dynsec publish ACLs.
2021-06-10 22:19:33 +01:00
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
2021-05-21 15:42:26 +01:00
Roger A. Light
0d3870585b
Plugin delayed authentication.
2021-05-19 16:54:26 +01:00
Roger Light
0a90e62f93
CMake tidy.
2021-05-10 00:39:46 +01:00
Roger A. Light
b7b3a42e75
Strict build fixes.
2021-05-02 23:51:56 +01:00
Roger Light
e1c8f09372
Remove C++ style comments.
2021-04-25 22:26:12 +01:00
Roger Light
ef7662ca8e
Merge branch 'master' into develop
2021-04-24 23:32:48 +01:00
Martin Hauke
e21eaeca37
CMake: Fix undefined symbols in plugins
2021-04-06 21:15:08 +02:00
Roger Light
117e59b7cf
Fix CMake cross compile builds not finding opensslconf.h.
...
Closes #2160 . Thanks to Ozaq.
2021-04-01 21:53:13 +01:00
Roger A. Light
c17c6a9028
Move example plugins to their own directory.
2021-03-25 15:51:14 +00:00
Roger Light
a5d9986cbd
More compiler warning fixes.
2021-03-21 22:50:48 +00:00
Roger Light
2de8c15bc9
Minor build fixes.
2021-03-21 09:18:43 +00:00
Simon Christmann
54ce48d1b6
plugin example: add user properties
...
Signed-off-by: Simon Christmann <simon@christmann.email >
2021-03-17 16:50:27 +01:00
Simon Christmann
182e294a4f
plugin example: printf
...
Signed-off-by: Simon Christmann <simon@christmann.email >
2021-03-17 16:50:21 +01:00
Roger A. Light
fd036b9435
Merge branch 'fixes' into develop
2021-03-09 10:12:46 +00:00
Roger A. Light
2749b8c5b8
Merge branch 'fixes'
2021-01-28 12:28:53 +00:00
Roger A. Light
706a1f3f29
Fix more minor compiler warnings.
2021-01-21 13:33:54 +00:00
Roger A. Light
a4389fc9ce
Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
...
The two licenses are the same.
2021-01-20 11:46:18 +00:00
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.
2021-01-14 15:36:58 +00:00
Roger A. Light
9f9f92104b
Add trivial basic authentication plugin based on IP.
2021-01-12 22:51:33 +00:00
Roger A. Light
5927778ae5
Improve logging in dynsec addGroupClient command.
...
Closes #2008 . Thanks to Willem Eradus.
2021-01-11 13:28:20 +00:00
Roger Light
c4f4fae5a0
dynsec: Improve logging in addGroupRole.
...
Close #2005 . Thanks to Willem Eradus.
2021-01-10 23:04:01 +00:00
Roger A. Light
370cec5edd
Fixes for lots of minor build warnings highlighted by Visual Studio.
2021-01-09 21:06:08 +00:00