Roger A. Light
6739152fda
dynsec: Various minor fixes.
5 years ago
Roger A. Light
598b1d7b00
dynsec: Fix free on modifyClient.
5 years ago
Roger A. Light
ba8e888e41
dynsec: Refactor some cJSON adding code to reduce redundancy
5 years ago
Roger A. Light
d8775b7d9c
dynsec: Consistent behaviour when setting clientid.
5 years ago
Roger A. Light
c1489fc704
dynsec: Refactor duplicate group kick code.
5 years ago
Roger A. Light
7dc739a11e
Disable dynsec build if cJSON or TLS not available.
5 years ago
Roger A. Light
782696c8e4
Simplify, remove duplication.
5 years ago
Roger A. Light
c3daa247c2
dynsec: Cover setClientId in 14-dynsec-auth test.
5 years ago
Roger A. Light
584cf51ba7
Update to EPL-2.0
5 years ago
Roger A. Light
69f7fcae82
Support cJSON < 1.7.13.
5 years ago
Roger A. Light
5db971a0e9
dynsec: Client id is optional in setClientID.
5 years ago
Roger A. Light
0c6365726f
Coverity Scan issues.
...
1436823
1436837
1436843
1432792
1436847
1436848
1436849
5 years ago
Roger A. Light
f83fcc8535
Fix Coverity Scan issues.
...
1436866
1436865
1436864
1436862
1436857
1436856
1436852
1436851
5 years ago
Roger A. Light
d1bf2c0d13
dynsec: Fix missing correlationData for getDefaultACLAccess.
5 years ago
Roger A. Light
7791d882c2
dynsec: Allow empty anonymous group.
5 years ago
Roger A. Light
5314bae1e2
dynsec: getAnonymousGroup should include correlation data in response.
5 years ago
Roger A. Light
4150b2f233
dynsec: Ignore empty passwords on setClientPassword/modifyClient.
5 years ago
Roger A. Light
e94cf19989
dynsec: Ignore zero length clientid.
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
67fbe5cc7e
dynsec: Fix some keys being accessed even if they don't exist.
5 years ago
Roger A. Light
63277aad0b
dynsec: setClientId should cope with missing/empty client id.
5 years ago
Roger A. Light
eac0c3bac0
dynsec: modifyClient can now change clientid and password.
5 years ago
Roger A. Light
dbcf945518
dynsec: Kick clients after password changes.
5 years ago
Roger A. Light
b06c5cd88f
dynsec: Add setClientId command.
5 years ago
Roger A. Light
91584a90a2
Fix dynsec plugin cmake build
5 years ago
Roger A. Light
c5fe1fc36b
Dynsec: Fix loading of clients with no password.
5 years ago
Roger A. Light
95139cccff
Dynsec: If priority is equal when ordering, use group/role name as well.
5 years ago
Roger A. Light
4d6384c758
Build and conversion fixes for build variants.
5 years ago
Roger A. Light
801e31efda
Dynsec: Validate user/group/role names as UTF-8.
5 years ago
Roger A. Light
7462fec1c8
Dynsec: Check ACLs are valid topic filters.
5 years ago
Roger A. Light
3486f0e546
Dynsec: Kick affected clients on role change.
5 years ago
Roger A. Light
bb840ed55b
Conversion fixes.
5 years ago
Roger A. Light
866c395dcc
Dynsec: Add "disabled" property for getClient/listClients.
5 years ago
Roger A. Light
5b28fac61d
Dynsec: Kick clients on access changes
...
This works in the following circumstances:
* client is deleted
* client is modified
* client has role added
* client has role removed
* group is deleted
* group is modified
* group has role added
* group has role removed
* group has client added
* group has client removed
* anonymous group is changed
The following circumstances are not yet fixed:
* role is deleted
* role is modified
* role has ACL added
* role has ACL removed
5 years ago
Roger A. Light
30bf47b0d1
Fix printing of ints in dynsec json.
5 years ago
Roger A. Light
66d16280d8
dynsec: Add enableClient disableClient commands.
5 years ago
Roger A. Light
31b1cbb23f
dynsec: Clients can be created with no password.
...
They will be unable to log in until a password is created.
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
a1ad4cfcc4
Dynsec: Rename ACL types for clarity.
...
publishBrokerToClient -> publishClientReceive
publishClientToBroker -> publishClientSend
5 years ago
Roger A. Light
fdff255916
New dynamic security plugin.
5 years ago
Roger A. Light
b36247cb10
Fix payload example mosquitto_plugin_version() calls.
5 years ago
Roger A. Light
af99071c1e
Add example payload modification plugin.
5 years ago
Roger A. Light
7bd3822817
Consistent use of config.mk.
5 years ago
Roger A. Light
687ca36c07
Makefile build fixes for message-timestamp plugin.
5 years ago
Roger A. Light
89733138bb
CMake build fixes.
5 years ago
Roger A. Light
6c6542a8fa
Example plugin for adding timestamp properties to MQTT v5 messages.
...
For #1225 .
5 years ago