Roger A. Light
c6c6850d5c
Whitespace tidy
2025-04-06 22:25:02 +01:00
Roger A. Light
4e1b872b48
Update test certs - seemingly broken due to merge
2025-03-08 06:51:58 +00:00
Roger A. Light
1c6a813e6f
Merge branch 'fixes'
2025-03-06 15:04:13 +00:00
Roger A. Light
167d0c3550
Fix allow_anonymous false
not being applied in local only mode.
...
Closes #3198 . Thanks to vphatfla.
2025-02-26 20:46:59 +00:00
Roger A. Light
d0d0ac4bd6
Fix test
2025-02-25 13:57:32 +00:00
Roger A. Light
66b68a80dd
Update test certificates
2025-02-25 13:42:40 +00:00
Roger A. Light
a8d887f30b
Merge branch 'fix2908' of github.com:ckrey/mosquitto into ckrey-fix2908
2025-02-25 12:34:41 +00:00
Christoph Krey
b1f2b7bf67
Add test for early check of RESERVED command with illegal remaining length #2325
...
Signed-off-by: Christoph Krey <c@ckrey.de>
2025-02-25 11:33:18 +00:00
Roger A. Light
0285e8bc40
Fix 08-ssl-connect-cert-auth-expired/revoked
...
Occurs when run under load. Thanks to Joachim Zobel.
Closes #3208 .
2025-02-25 11:15:29 +00:00
Joachim Zobel
49cf044650
Regenerated certificates with gen.sh
2025-01-20 18:30:50 +00:00
Joachim Zobel
59c9d13225
Fixed issue in CA cert. creation
2025-01-20 18:30:50 +00:00
Thymo van Beers
9d325b26d6
Updated broker tests readme
...
Signed-off-by: Thymo van Beers <tvanbeers@bauwatch.com>
2024-11-01 08:55:40 +00:00
Roger A. Light
e852fd8906
Fix test - alternative type of socket failure is ok
2024-10-30 18:19:19 +00:00
Roger A. Light
baca579737
PUBLISH msg sequence test - repeated identical message with/without payload
2024-10-23 00:33:36 +01:00
Roger A. Light
a196c2b244
Disable test for CI check
2024-10-16 18:17:07 +01:00
Roger A. Light
2ea2a925eb
Build fix
2024-10-16 17:55:10 +01:00
Roger A. Light
732b8eb584
Shared subs must have a valid topic
2024-10-16 16:25:26 +01:00
Roger A. Light
71ddbabb00
Shared subs aren't allowed to set no-local
2024-10-16 16:25:08 +01:00
Roger A. Light
115906b9ca
Fix test payloads
2024-10-16 15:58:03 +01:00
Roger A. Light
0174abe8f3
Don't allow invalid response-topic values.
2024-10-16 15:30:44 +01:00
Christoph Krey
b9da09e511
Add test cases for bridges with empty prefixes #2908
...
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-10-12 09:35:58 +02:00
Christoph Krey
30c9cdc22a
Check zero length topics and topic filters closes #2908
...
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-10-12 08:15:40 +02:00
Roger A. Light
ae7a804dad
Fix crash on bridge using remapped topic being sent a crafted packet.
...
Closes Eclipse #197 .
2024-10-02 10:25:33 +01:00
Roger A. Light
1914b3ee2a
Use separate trees for shared/normal subs
...
Fixes Eclipse #217 , #218 .
2024-10-02 10:25:31 +01:00
Roger A. Light
3bb6c9ad51
Remove superfluous function arguments.
2024-10-02 10:24:53 +01:00
Roger A. Light
f09ea91e11
Fix crash on subscribe under certain unlikely conditions.
...
Closes #2885 .
Closes #2881 .
Thanks to everybody on those issues.
2023-09-12 23:09:24 +01:00
Roger A. Light
4f9002c58a
Fix UTF-8 control characters test
2023-08-16 14:01:21 +01:00
Roger A. Light
284db04bc3
Library will no longer allow single level wildcard certificates, e.g. *.com
2023-08-16 14:01:21 +01:00
Roger A. Light
41db41761d
Fix test running under valgrind
2023-08-16 14:01:21 +01:00
Roger A. Light
6113eac95a
Fix for CVE-2023-28366
2023-08-16 14:01:21 +01:00
Roger A. Light
a3c680fbb0
Fix for Eclipse #581199
2023-08-16 14:01:21 +01:00
Roger A. Light
9bb8058578
Reject Will messages that attempt to publish to $CONTROL/.
2023-08-16 14:01:21 +01:00
Roger A. Light
8285a57bb9
Fix some error handling related to the bind_interface
option.
2022-12-02 14:31:40 +00:00
Roger A. Light
c06599fab2
Fix some retained topic memory not being cleared immediately after used.
2022-11-29 11:55:55 +00:00
Roger A. Light
1af3152ddc
Fix persisted clients being restored without a session expiry time.
2022-08-18 14:13:35 +01:00
Roger A. Light
4d1b587e29
dynsec: Forbid deleting the anon group.
2022-08-16 12:55:48 +01:00
Roger A. Light
5d18962486
Improve custom SSL_CTX tests.
...
Issue #2463 .
2022-08-12 08:52:40 +01:00
Roger A. Light
02b92b97ef
Fix use of MOSQ_OPT_SSL_CTX when used with MOSQ_OPT_SSL_CTX_DEFAULTS
...
Closes #2463 . Thanks to Tim Nordell.
2022-08-10 17:18:33 +01:00
Roger A. Light
351911bd8f
Fix incorrect return code being sent in DISCONNECT.
...
This is for when a client session is taken over.
Closes #2607 . Thanks to der-b
2022-08-10 14:17:22 +01:00
Roger A. Light
3e1cf8a80b
Fix tests build.
2022-05-25 16:16:48 +01:00
Roger A. Light
09ac578459
Fix unused flags in CONNECT command being forced to be 0 in MQTT v3.1
...
This check is not required until v3.1.1.
Closes #2522 . Thanks to garinocyr
2022-05-17 17:41:57 +01:00
Roger A. Light
41b1b0c6d1
Merge branch 'XavierDooms-fix-support-tick-with-per-listener-settings' into fixes
2022-02-24 13:48:41 +00:00
Roger A. Light
62c0d0c9c8
Merge branch 'fix-support-tick-with-per-listener-settings' of https://github.com/XavierDooms/mosquitto into XavierDooms-fix-support-tick-with-per-listener-settings
2022-02-24 13:26:06 +00:00
Olivier Gayot
b7fb911428
tests: replace use of ssl.wrap_socket that throws warnings in Python 3.10
...
The function ssl.wrap_socket() is deprecated starting Python 3.7 because
it does not support hostname matching (which is considered insecure). In
Python 3.10, the function now throws warnings at runtime, which makes
Ubuntu / Debian autopkgtest fail.
The function ssl.SSLContext.wrap_socket comes in as the replacement and
has support for SNI and hostname matching.
Replaced all uses of ssl.wrap_socket() by equivalent using
ssl.SSLContext.wrap_socket().
Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
2022-02-15 09:23:06 +01:00
Xavier Dooms
bff71fd99f
support plugin tick callbacks with per_listener_settings enabled
...
add tests for the plugin tick
Signed-off-by: Xavier Dooms <dooms.xavier@gmail.com>
2021-12-27 23:23:58 +01:00
Roger A. Light
11975332d4
Fix mosquitto_topic_matches_sub2() not using the length parameters.
...
Closes #2364 . Thanks to Jens Alfke.
2021-11-16 23:14:24 +00:00
Roger A. Light
0d0a36906c
Add missing stubs.
2021-11-16 22:14:19 +00:00
Roger Light
5cae4d1d81
Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication.
...
Closes #2339 . Thanks to hvxl.
2021-10-12 22:33:05 +01:00
Roger A. Light
3b471c8669
Fix test
2021-10-06 09:54:19 +01:00
Roger A. Light
a1a190b482
Pointless whitespace tidy.
2021-10-05 15:20:37 +01:00