Commit graph

311 commits

Author SHA1 Message Date
Roger A. Light
2ff2029c42 mosquitto_ctrl interactive shell mode 2025-04-16 15:42:51 +01:00
Roger A. Light
3511db6889 Whitespace tidy
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-04-06 22:40:48 +01:00
Roger A. Light
f8d37b70a6 Merge branch 'fix-persist-plugin-expiry' of github.com:NorbertHeusser/mosquitto into NorbertHeusser-fix-persist-plugin-expiry 2025-02-26 09:59:32 +00:00
Roger A. Light
ee485341dd Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop 2025-02-25 17:02:16 +00:00
Roger A. Light
2f32fcd949 Move properties_to_json to libmosquitto_common 2024-06-18 17:54:02 +01:00
Roger A. Light
b5e21d146d Move password functions to libcommon. 2024-06-12 21:26:25 +01:00
Roger A. Light
db6ab6869a Fix mismatched alloc/frees 2024-04-25 16:20:14 +01:00
Roger Light
20b34150f2 Windows build fixes 2024-03-27 08:38:13 +00:00
Roger A. Light
df7fe15f75 Test vcpkg based build 2024-03-27 08:38:13 +00:00
Roger A. Light
5c8b676fec CMake make building plugins optional. 2024-03-25 07:56:23 +00:00
Roger A. Light
78cba447a2 Fix dynsec linking 2024-03-18 14:02:51 +00:00
Roger A. Light
4498193331 Refactor file functions to common static library. 2024-03-17 23:13:11 +00:00
Roger A. Light
16d465fa49 Refactor base64 functions to common static library. 2024-03-17 21:34:27 +00:00
Norbert Heusser
b8564daa20 Fixed deletion of expired session after restore from persistence plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:18 +00:00
Roger A. Light
340c4f323f Rename cmake helper functions. 2024-03-05 09:36:15 +00:00
Roger A. Light
9691ab42f6 Fix incorrect json_get_int call. 2024-03-04 17:39:35 +00:00
Roger A. Light
bac0cdbfc3 Fix oss-fuzz priority issue 2024-03-02 19:44:45 +00:00
Roger A. Light
f39ecb3d27 Factor out a load of duplicated makefile code 2024-03-02 10:35:45 +00:00
Roger A. Light
dcd5b803f2 Merge branch 'fixes' into develop 2024-02-21 23:30:33 +00:00
Norbert Heusser
3656b991d5 Refactoring persist-sqlite plugin and moved functionality from
handle_connect.c into database.c

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-02-15 22:43:28 +00:00
Norbert Heusser
d68dd563db Persist-SQLite: Add new table version_info and addition wal_checkpoint on shutdown
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-02-15 22:43:28 +00:00
Roger A. Light
fe3b72ef61 Remove a load of cmake boilerplate 2024-02-15 13:39:11 +00:00
Roger A. Light
c6436ad6b2 Revert change of default ACL priority 2024-02-15 11:40:12 +00:00
Roger A. Light
f0c5b69e64 Fix dynsec config init with password from envvar. 2024-02-15 11:22:39 +00:00
Roger A. Light
a5490a7408 oss-fuzz build fixes 2024-02-13 13:11:07 +00:00
Roger A. Light
3199768aef Dynsec: Max priority of 100,000 2024-02-11 23:40:41 +00:00
Roger A. Light
05e42f7dbb Default to using argon2 for passwords 2024-02-11 22:08:16 +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
fe4fe0102f Place client context in mosquitto_control_cmd for API simplicity 2023-10-11 15:12:49 +01:00
Roger A. Light
5a67361af0 Clearer name 2023-09-20 21:45:06 +01:00
Roger A. Light
13fa9f535a Protect password init file 2023-09-20 21:40:22 +01:00
Roger A. Light
7a011ede19 Localise variable use 2023-09-20 21:38:48 +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
97c25654ed Add helper messages for lax permissions 2023-09-18 22:21:56 +01:00
Roger A. Light
21c1ddc2c3 Add sparkplug aware plugin. 2023-09-13 17:13:33 +01:00
Roger A. Light
e656e694ed Merge branch 'master' into develop 2023-09-09 15:20:40 +01:00
Roger A. Light
b76c3c7820 Dynsec: Don't allow duplicate c/g/r when loading config 2023-08-16 14:01:21 +01:00
Roger A. Light
8bc047511a Fix any possible case where a json string might be incorrectly loaded. 2023-08-16 14:01:21 +01:00
Roger A. Light
411ed41c27 Dynsec: Simplify config load 2023-08-16 14:01:21 +01:00
Roger A. Light
67ac8cbe17 mosquitto_memcmp_const is now more constant time. 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
Roger A. Light
3bb4ff180e Fix Coverity Scan 1509020 Unchecked return value.
This was really a false positive, however the intent is probably clearer
now.
2023-07-09 08:40:02 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
bc1315820c Don't require cJSON in mosquitto_broker.h 2023-04-24 20:09:41 +01:00
Roger A. Light
68636012a2 Fix cmake build 2023-04-23 20:27:51 +01:00
Roger A. Light
f317a0fdfe Fix incorrect free 2023-04-23 20:14:03 +01:00
Roger Light
2b69724ef2 Fix cmake build 2023-04-21 22:38:18 +01:00
Roger A. Light
747fcacd67 Make args const where possible, fix persist-sqlite build. 2023-04-19 22:54:53 +01:00