Roger A. Light
aaf30dc622
dynsec: Fix incorrect test command.
2020-11-30 13:14:14 +00:00
Roger A. Light
0a7afd22c4
dynsec: Fix logging args.
2020-11-30 13:13:48 +00:00
Roger A. Light
757888b7f5
ctrl: Add warning if connecting without encryption.
2020-11-30 10:47:22 +00:00
Roger A. Light
692fa5537d
dynsec: Reply with error on add role fail.
2020-11-30 10:32:09 +00:00
Roger A. Light
13bdd255a1
Fix incorrect array address on error.
2020-11-30 10:31:14 +00:00
Roger A. Light
0605fd402a
dynsec: Command logging.
2020-11-30 10:10:12 +00:00
Roger A. Light
e5af6def25
dynsec: Simplify
2020-11-29 23:26:57 +00:00
Roger A. Light
d0d36b7c33
dynsec: Remove unused code
2020-11-29 23:17:39 +00:00
Roger A. Light
31e3fa4d07
dynsec: Invalid UTF-8 tests, plus some fixes.
2020-11-29 23:16:52 +00:00
Roger A. Light
c303c67461
dynsec: Return group not found on getGroup.
2020-11-28 00:34:53 +00:00
Roger A. Light
ad8cf9fc03
dynsec: Start of invalid role commands tests.
2020-11-28 00:34:33 +00:00
Roger A. Light
423e1a00d2
dynsec: Tests for group commands with invalid params, plus fixes.
2020-11-28 00:01:58 +00:00
Roger A. Light
a3258f7d82
Packet cleanup without locks
...
Prevents use of invalid mutexes during mosquitto_destroy.
Closes #1914 . Thanks to Nikolay Raspopov.
2020-11-27 15:36:34 +00:00
Roger A. Light
7ccf4c44fd
dynsec: Tests for invalid client command input.
2020-11-27 14:35:07 +00:00
Roger A. Light
6739152fda
dynsec: Various minor fixes.
2020-11-27 14:34:46 +00:00
Roger A. Light
f6e17b81b9
dynsec: More modifyRole test coverage.
2020-11-26 17:24:39 +00:00
Roger A. Light
6cffd4264e
dynsec: ACL tests.
2020-11-26 17:24:20 +00:00
Roger A. Light
598b1d7b00
dynsec: Fix free on modifyClient.
2020-11-26 15:11:20 +00:00
Roger A. Light
ba8e888e41
dynsec: Refactor some cJSON adding code to reduce redundancy
2020-11-26 14:49:28 +00:00
Roger A. Light
d8775b7d9c
dynsec: Consistent behaviour when setting clientid.
2020-11-26 12:18:57 +00:00
Roger A. Light
047c09bd32
dynsec: Anon group tests
2020-11-26 12:18:20 +00:00
Roger A. Light
c1489fc704
dynsec: Refactor duplicate group kick code.
2020-11-26 11:54:30 +00:00
Roger A. Light
2d7f146dfc
These tests shouldn't allow anon access.
2020-11-26 10:27:54 +00:00
Roger A. Light
15c6e58fa0
Only run dynsec tests if CJSON and TLS are available.
2020-11-26 10:08:29 +00:00
Roger A. Light
7dc739a11e
Disable dynsec build if cJSON or TLS not available.
2020-11-26 09:42:33 +00:00
Roger A. Light
b169dc0b1e
mosquitto_sub will quit with an error on Windows if %U is used.
...
Seconds since the Unix epoch is not a parameter that can be obtained
with strftime on Windows.
Closes #1908 . Thanks to Danil intl.
2020-11-26 09:10:04 +00:00
Roger A. Light
782696c8e4
Simplify, remove duplication.
2020-11-26 00:23:03 +00:00
Roger A. Light
c3daa247c2
dynsec: Cover setClientId in 14-dynsec-auth test.
2020-11-26 00:13:40 +00:00
Roger A. Light
c1f0cb69d1
dynsec: ACL default access test.
2020-11-25 23:54:43 +00:00
Roger A. Light
56b2e35346
Don't kick clients on refused unsubscribe.
2020-11-25 23:25:09 +00:00
Roger A. Light
81c4e2b6ac
dynsec: Commit client auth tests.
2020-11-25 22:01:26 +00:00
Roger A. Light
584cf51ba7
Update to EPL-2.0
2020-11-25 17:34:21 +00:00
Roger A. Light
69f7fcae82
Support cJSON < 1.7.13.
2020-11-25 16:57:33 +00:00
Roger A. Light
0713ad38b1
Silence Coverity Scan's concern over password_cmd derefencing.
...
This is a false positive, the conditions to trigger a NULL derefence
rely on argc changing value. However, this makes it impossible to go
wrong anyway.
Coverity Scan 1436868.
2020-11-25 11:04:58 +00:00
Roger A. Light
dac841a342
Better outgoing QoS 0 limiting.
2020-11-25 10:00:45 +00:00
Roger A. Light
fdd624cec4
Fix tests now uhpa has been removed.
2020-11-25 09:19:05 +00:00
Roger A. Light
c09f8ee3a7
We don't really mind if this fails.
2020-11-24 13:14:34 +00:00
Roger A. Light
05d4766aef
Fix plugin callback not being correctly removed.
2020-11-24 13:09:57 +00:00
Roger A. Light
adfa9f1e21
Always zero terminate payloads (removes uhpa support)
2020-11-24 12:24:40 +00:00
Roger A. Light
5db971a0e9
dynsec: Client id is optional in setClientID.
2020-11-24 12:04:47 +00:00
Roger A. Light
95c098a807
Integrate debugging only xtreport code.
2020-11-24 12:04:37 +00:00
Roger A. Light
2755fe3c4c
Apply limits to QoS 0 outgoing messages.
2020-11-24 12:04:07 +00:00
Roger A. Light
4667c9d5bc
Change max_queued_messages default to 1000.
2020-11-24 10:13:21 +00:00
Roger A. Light
621d3832c4
Try alternative flow for cov sync.
2020-11-24 10:09:30 +00:00
Roger A. Light
0c6365726f
Coverity Scan issues.
...
1436823
1436837
1436843
1432792
1436847
1436848
1436849
2020-11-24 10:06:28 +00:00
Roger A. Light
f83fcc8535
Fix Coverity Scan issues.
...
1436866
1436865
1436864
1436862
1436857
1436856
1436852
1436851
2020-11-24 00:47:30 +00:00
Roger A. Light
d142ff69a6
Fix Coverity Scan issues.
...
511427
1431133
1436823
1436837
1436838
1436929
2020-11-24 00:22:34 +00:00
Roger A. Light
c3ae8c174f
Simplify net__socket_accept() use.
...
Closes Coverity 1436829.
2020-11-23 23:55:15 +00:00
Roger A. Light
4da1f15b41
Fix Coverity Scan errors.
...
1436854
1436844
2020-11-23 23:41:49 +00:00
Roger A. Light
f2630f9c58
Attempt to fix travis on osx and unreliable test.
2020-11-23 22:19:39 +00:00