Roger A. Light
1882bdd95b
mosquitto_passwd: Don't exit on signal for oss-fuzz
2024-03-03 08:00:24 +00:00
Roger A. Light
8ccef0713b
Test improvements, remove redundant code
2024-02-26 18:25:31 +00:00
Roger A. Light
f6b188af3d
Ctrl fix
2024-02-15 13:39:17 +00:00
Roger A. Light
05e42f7dbb
Default to using argon2 for passwords
2024-02-11 22:08:16 +00:00
Roger A. Light
920f4f52f1
Fix ctrl SOCKS compile.
2024-01-31 16:24:55 +00:00
Roger Light
192dd88d90
ctrl: Error log on invalid url encoding
2024-01-31 15:48:55 +00:00
Roger Light
da5103cbc5
ctrl: Simplify tls insecure set
2024-01-31 15:48:55 +00:00
Roger Light
33d67090b2
ctrl: Remove duplicate cleanup calls.
2024-01-31 15:48:55 +00:00
Roger A. Light
d17a88d916
Refactor headers for easier discovery.
2023-12-23 12:59:58 +00:00
Roger A. Light
837c272c29
Add argon2 password hash support
2023-11-20 22:58:42 +00:00
Roger A. Light
b6710f9364
Refactor password code
2023-11-20 22:58:42 +00:00
Roger A. Light
7b21f596d4
db_dump needs bundled deps on windows
2023-11-19 16:32:31 +00:00
Roger A. Light
c4efb56d1d
db dump requires openssl
2023-11-19 12:14:24 +00:00
Roger A. Light
f92316ee5a
Fix for Windows build
2023-11-19 09:46:13 +00:00
Roger A. Light
c3b9107152
More variable localisation
2023-09-20 21:41:25 +01:00
Roger A. Light
ca10038dd2
Add header to cmake
2023-09-20 21:40:44 +01:00
Roger A. Light
fc4aaee0bf
Add C++ guard
2023-09-20 21:26:54 +01:00
Roger A. Light
c8e313aac0
Fix build
...
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
d36fed991b
Fix mosquitto_ctrl build
2023-09-13 17:13:54 +01:00
Roger A. Light
e656e694ed
Merge branch 'master' into develop
2023-09-09 15:20:40 +01:00
Roger A. Light
47ae6dd0e2
Fix mosquitto_passwd -U backup file creation.
...
Closes #2873 .
2023-08-22 08:09:36 +01:00
Roger A. Light
3ab0a9a3fd
mosquitto_ctrl dynsec init uses open( , O_EXCL | O_CREAT)
...
This allows us to refuse to open an existing file, without a race
condition.
2023-08-16 14:01:21 +01:00
Roger A. Light
44b94875b5
mosquitto_passwd uses mkstemp() for backup files.
2023-08-16 14:01:21 +01:00
Roger A. Light
4ca294fd9c
Warn on lax permissions on sensitive files.
...
- Broker will log warnings if sensitive files are world readable/writable, or
if the owner/group is not the same as the user/group the broker is running
as. In future versions the broker will refuse to open these files.
2023-08-16 14:01:21 +01:00
Bart Desplanques
105e30ff5b
Fix engine support.
...
Do not try to open keyfile when keyform is "engine": this is not necessarily a real file.
Dynamic engines require init with OPENSSL_INIT_ENGINE_DYNAMIC before they can be loaded.
Signed-off-by: Bart Desplanques <bart.desplanques@gmail.com >
2023-06-02 19:11:50 +02:00
Roger A. Light
a31bee722f
Simplify make build.
2023-05-10 16:20:06 +01:00
Roger A. Light
daf5d5f51d
Fix mosquitto_ctrl regressions
2023-04-23 20:37:15 +01:00
Roger A. Light
e482d08d85
Fix incorrect logic test
2023-04-23 20:32:18 +01:00
Roger A. Light
747fcacd67
Make args const where possible, fix persist-sqlite build.
2023-04-19 22:54:53 +01:00
Roger A. Light
56462c1229
Refactor for more consistent json helper use.
2023-04-19 17:12:20 +01:00
Roger A. Light
53dc3006a2
Make cJSON a hard dependency.
2023-04-01 23:35:03 +01:00
Roger A. Light
6f574f80ea
db_dump: Fix further memory leak on exit only.
2023-03-15 11:11:59 +00:00
Roger A. Light
bba3f3f849
db_dump: Fix memory not being freed on error exit.
2023-03-13 17:11:37 +00:00
Roger A. Light
44415cb974
Fix passwd fuzz build
2023-03-11 00:10:56 +00:00
Roger A. Light
28a39e62ff
Remove unused header.
2023-03-07 14:16:27 +00:00
Roger A. Light
105a652fbf
Remove unused header.
2023-03-07 14:14:28 +00:00
Roger A. Light
77b5dfb770
Fuzzing: Basic mosquitto_passwd target
2023-03-03 21:42:11 +00:00
Roger A. Light
da723c373b
Fix db_dump crash on corrupt file.
...
Closes oss-fuzz #55789
2023-02-08 22:08:31 +00:00
Roger A. Light
5232e041d1
db_dump: Tidy up error reporting.
2023-02-05 00:37:03 +00:00
Roger A. Light
61c9696bec
db_dump: Use single corrupt db message path.
2023-02-05 00:22:07 +00:00
Roger A. Light
c0b7f54ac1
Fuzzing: db_dump file loading
2023-02-04 23:55:15 +00:00
Roger A. Light
5fb4b05d8f
Support for initial fuzzing through oss-fuzz
2023-01-31 13:54:21 +00:00
Roger A. Light
fd330de080
client_id -> clientid rename.
2023-01-16 18:46:35 +00:00
Roger A. Light
5364410615
Rename members
2023-01-16 10:21:12 +00:00
Roger A. Light
331e802913
Rename mosquitto_client_msg -> mosquitto__client_msg
2023-01-16 10:21:12 +00:00
Roger A. Light
3634f18bc9
Refactor subscription structs
2023-01-16 10:21:12 +00:00
Roger A. Light
86ec8c6169
Factor out unneeded argument
2023-01-16 10:21:12 +00:00
Roger A. Light
100fd31530
Refactor base_msg structs.
2023-01-16 10:21:12 +00:00
Roger A. Light
2d969efdc4
Fix cmake tests
2023-01-15 22:05:49 +00:00
Roger A. Light
56b1fa01bd
Fix Coverity Scan 1436848
2023-01-04 11:48:30 +00:00