Commit Graph

22 Commits

Author SHA1 Message Date
Roger A. Light
8c6a7314b7 ctrl: Fix reporting when module not supported. 2020-11-17 10:56:55 +00:00
Roger A. Light
edd74cca59 Fix cmake build of mosquitto_ctrl. 2020-11-17 10:53:42 +00:00
Franz Auernigg
73f1a1c892 Fix enclosing include brackets in cmake
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
2020-11-11 09:32:43 +00:00
Roger A. Light
4b3c76d97a mosquitto_ctrl: Allow optional client and password when creating a client. 2020-11-07 23:49:00 +00:00
Roger A. Light
4d6384c758 Build and conversion fixes for build variants. 2020-11-05 10:23:01 +00:00
Roger A. Light
aafb75b6bc Ctrl: Fix use of ints in cJSON. 2020-11-04 13:58:40 +00:00
Roger A. Light
9785896eea Ctrl: Report errors on invalid args, don't try to connect. 2020-11-03 18:15:46 +00:00
Roger A. Light
bb03b9c081 Let mosquitto_ctrl load external modules.
Also provide an example.
2020-11-01 22:59:39 +00:00
Roger A. Light
97385f522b Ctrl: Client only deals with a payload string, not cJSON. 2020-11-01 22:11:32 +00:00
Roger A. Light
866c395dcc Dynsec: Add "disabled" property for getClient/listClients. 2020-10-30 12:35:34 +00:00
Roger A. Light
66d16280d8 dynsec: Add enableClient disableClient commands. 2020-10-29 15:17:12 +00:00
Roger A. Light
98815c5037 ctrl: Ask for passwords if not given.
Applies to login user, init, createClient, and setClientPassword.
2020-10-29 14:35:50 +00:00
Roger A. Light
99a544ac73 ctrl: Ask for login password if the user doesn't provide it. 2020-10-29 12:49:51 +00:00
Roger A. Light
df30b6c9d4 Dynsec: add getAnonymousGroup and getDefaultACLAccess commands 2020-10-29 11:38:34 +00:00
Roger A. Light
c9cb10a079 ctrl: get* output for dynsec. 2020-10-29 09:59:07 +00:00
Roger A. Light
4c427915a0 ctrl: Fix acltype names. 2020-10-28 16:18:08 +00:00
Roger A. Light
015eee6cb6 ctrl: Fix parameter order to match docs. 2020-10-28 16:17:51 +00:00
Roger A. Light
1e2ba03754 ctrl: Give dynsec init user more rights.
Subscribe and receive from $SYS/#
Subscribe and receive from #
2020-10-28 11:50:52 +00:00
Roger A. Light
1f0ae42917 ctrl: Fix incorrect dynsec commands. 2020-10-28 11:46:13 +00:00
Roger A. Light
a1ad4cfcc4 Dynsec: Rename ACL types for clarity.
publishBrokerToClient -> publishClientReceive
publishClientToBroker -> publishClientSend
2020-10-28 11:03:44 +00:00
Roger A. Light
004bd3c5cd Dynsec: Set default behaviour to be less restrictive.
Publish broker to client and unsubscribe are now allowed by default. With Publish client to broker and subscribe denied by default there is still no way a client can exchange messages, but it is now easier to administer.
2020-10-28 11:03:44 +00:00
Roger A. Light
fdff255916 New dynamic security plugin. 2020-10-27 00:54:55 +00:00