Commit Graph

85 Commits (master)

Author SHA1 Message Date
Franz Auernigg 73f1a1c892 Fix enclosing include brackets in cmake
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
5 years ago
Roger A. Light 4b3c76d97a mosquitto_ctrl: Allow optional client and password when creating a client. 5 years ago
Roger A. Light b816d46508 Use db as a global var instead of passing to functions.
This allows a big swath of ifdefs to be removed. It also means savings as the db var is not passed around all of the time, and makes it easier to remove the final broker call to mosquitto_time() call in packet_mosq.c. In one test this reduced the calls to mosquitto_time() from 295k to 48k.
5 years ago
Roger A. Light 108b23ce6d Reduce use of mosquitto_time() and time(). 5 years ago
Roger A. Light 4d6384c758 Build and conversion fixes for build variants. 5 years ago
Roger A. Light aafb75b6bc Ctrl: Fix use of ints in cJSON. 5 years ago
Roger A. Light 9785896eea Ctrl: Report errors on invalid args, don't try to connect. 5 years ago
Roger A. Light bb03b9c081 Let mosquitto_ctrl load external modules.
Also provide an example.
5 years ago
Roger A. Light 97385f522b Ctrl: Client only deals with a payload string, not cJSON. 5 years ago
Roger A. Light 866c395dcc Dynsec: Add "disabled" property for getClient/listClients. 5 years ago
Roger A. Light 66d16280d8 dynsec: Add enableClient disableClient commands. 5 years ago
Roger A. Light 98815c5037 ctrl: Ask for passwords if not given.
Applies to login user, init, createClient, and setClientPassword.
5 years ago
Roger A. Light 99a544ac73 ctrl: Ask for login password if the user doesn't provide it. 5 years ago
Roger A. Light 1b3dc5e978 passwd: Move password getting code to own file for sharing. 5 years ago
Roger A. Light df30b6c9d4 Dynsec: add getAnonymousGroup and getDefaultACLAccess commands 5 years ago
Roger A. Light c9cb10a079 ctrl: get* output for dynsec. 5 years ago
Roger A. Light 4c427915a0 ctrl: Fix acltype names. 5 years ago
Roger A. Light 015eee6cb6 ctrl: Fix parameter order to match docs. 5 years ago
Roger A. Light 1e2ba03754 ctrl: Give dynsec init user more rights.
Subscribe and receive from $SYS/#
Subscribe and receive from #
5 years ago
Roger A. Light 1f0ae42917 ctrl: Fix incorrect dynsec commands. 5 years ago
Roger A. Light a1ad4cfcc4 Dynsec: Rename ACL types for clarity.
publishBrokerToClient -> publishClientReceive
publishClientToBroker -> publishClientSend
5 years ago
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.
5 years ago
Roger A. Light fdff255916 New dynamic security plugin. 5 years ago
Roger A. Light e82ee879d5 Merge branch 'fixes' into develop 5 years ago
Roger A. Light cd3dda387a Fix mosquitto_passwd cmake build. 5 years ago
Roger A. Light e69dedfc27 Make more portable. 5 years ago
Roger A. Light 6035d8015b Consistent naming. 5 years ago
Roger A. Light 1851a0e1b1 Add support for pbkdf2 hash iterations. 5 years ago
Roger A. Light 4f61f6c161 Fix conversion errors. 5 years ago
Roger A. Light 687ca36c07 Makefile build fixes for message-timestamp plugin. 5 years ago
Roger A. Light a86ebe541c Install fix. 5 years ago
Roger A. Light 89733138bb CMake build fixes. 5 years ago
Roger A. Light 24a9c7d508 Build variant fixes. 5 years ago
Roger A. Light d70ffd4b00 Move db_dump to apps directory. 5 years ago
Roger A. Light f85e004415 Move password functions to own file. 5 years ago