Commit graph

125 commits

Author SHA1 Message Date
n4n5
95fddeb1bf fix: typos
Signed-off-by: n4n5 <its.just.n4n5@gmail.com>
2025-08-04 18:52:42 +01:00
Roger A. Light
b8ffdb878e Merge from master 2025-07-25 19:13:51 +01:00
Roger A. Light
c0c03a9d18 Add basic http api listener
This can currently be used to serve stats and listener details over http/https
2025-07-10 00:53:03 +01:00
Roger A. Light
bd52ede4de Remove support for TLS v1.1 2025-04-01 11:36:39 +01:00
Roger A. Light
d98d986a6e Add pcket_buffer_size for clients.
Reduce read() calls
2024-11-19 23:48:54 +00:00
Roger A. Light
f1e5cd791c - Add listener_auto_id_prefix ` option. 2024-11-09 15:49:58 +00:00
Roger A. Light
304395fdc2 Add listener_allow_anonymous option. 2024-11-07 09:27:11 +00:00
Roger A. Light
385ddd7d86 Limit bridge restart base and cap to prevent integer overflow.
Non-critical.

Closes oss-fuzz #56302.
2023-03-03 22:11:54 +00:00
Roger A. Light
00faec3ccd Doc update 2022-12-13 17:17:51 +00:00
Roger A. Light
416276eea0 Add some missing options to mosquitto.conf 2022-11-27 23:48:56 +00:00
Felix Obenhuber
5437fb5aef Add android logd logging support
Add log_dest android in order to forward logs into the Android logging
system (logd). Link liblog (included in each Android NDK) if building
for Android. Add configuration note about log_dest android to the
configuration template.

Signed-off-by: Felix Obenhuber <felix.obenhuber@esrlabs.com>
2022-10-21 10:41:09 +02:00
Roger A. Light
fd68bf00c7 Merge branch 'master' into develop 2022-08-17 16:18:24 +01:00
Roger A. Light
c4664f08ac Clarify use_username_as_clientid is not global 2022-08-11 11:51:53 +01:00
Roger A. Light
29c6480c47 Improve documentation of persistent_client_expiration option.
Closes #2404. Thanks to Rainer Plischke.
2022-05-19 17:04:20 +01:00
Roger A. Light
5731dd8653 Add mosquitto_persistence_location() for plugins. 2022-05-05 16:18:54 +01:00
Roger A. Light
6ccdda7261 Add bridge_tls_use_os_certs option.
This allows bridges to be easily configured to trust default CA
certificates.

Closes #2473. Thanks to Dustin Utecht.
2022-03-11 23:10:20 +00:00
Abilio Marques
03ad07f121 bridge: wait for stable connection before resetting backoff
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2022-02-02 07:21:03 +01:00
Roger Light
99eddeb109 Add bridge_session_expiry_interval option for MQTT v5.0 bridges. 2021-11-14 22:01:10 +00:00
Roger A. Light
8ac11929cc Merge branch 'master' into develop 2021-10-27 17:19:33 +01:00
Roger A. Light
4f24ffef2f Add disable_client_cert_date_checks option. 2021-09-21 12:16:42 +01:00
Roger A. Light
ba936a869d Add accept_protocol_versions option. 2021-09-21 11:07:54 +01:00
Roger A. Light
f552ec48b1 Add global_max_connections option. 2021-09-17 16:06:02 +01:00
Roger A. Light
02685d49b6 Add global_max_clients option.
This allows limiting client sessions globally on the broker.
2021-09-17 16:01:37 +01:00
Roger A. Light
64e3c78306 Add enable_control_api option. 2021-09-13 10:31:25 +01:00
Roger A. Light
d942ed7eec Fix max_keepalive option not being able to be set to 0. 2021-09-09 12:19:13 +01:00
Roger A. Light
aa29b45e70 Merge branch 'master' into develop 2021-09-07 19:17:11 +01:00
Roger A. Light
e43d36020f Update plugin configuration documentation.
Closes #2286. Thanks to Karl Palsson.
2021-08-31 10:57:48 +01:00
Roger Light
93b2232bb9 Apply max_keepalive to MQTT v3.1.1 and v3.1 clients. 2021-08-20 23:27:14 +01:00
Roger Light
3eaed4c730 Merge branch 'bridge_tcp_user_timeout' of git://github.com/abiliojr/mosquitto into abiliojr-bridge_tcp_user_timeout 2021-08-14 15:04:06 +01:00
Roger A. Light
4f04f3de92 Add websockets_origin option
This allows Origin header checking when clients attempt to upgrade from http->websockets.
2021-08-05 12:43:51 +01:00
Roger A. Light
40b402e64a Add the global_plugin option.
This gives global plugin loaded regardless of `per_listener_settings`.
2021-07-28 16:50:48 +01:00
Abilio Marques
d8090afbfb bridge: add support for TCP_USER_TIMEOUT
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2021-06-29 08:33:44 +02:00
Abilio Marques
ec73636884 mention ciphers settings in documentation, minor sync of missing config settings
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2021-03-29 06:56:38 +02:00
Roger A. Light
de9780343b Add support for MQTT v5 broker->client topic aliases.
This is on a first-come-first-served basis for now.
Also broker to bridge topic aliases.
2021-03-22 16:56:10 +00:00
Roger A. Light
5d6e6aa406 Man page entry for bridge_tcp_keepalive. 2021-02-03 22:23:40 +00:00
Abilio Marques
64ccc5a732 bridge: add support for TCP keepalive
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2021-01-29 07:31:48 +01:00
Roger A. Light
0aecb51fcd Rename reload_type -> bridge_reload_type, plus doc updates. 2021-01-14 00:22:59 +00:00
Roger Light
886ee6cd0c Fix bind_interface option.
Closes #1999. Thanks to Joerg55.
2021-01-07 22:50:32 +00:00
Roger A. Light
0ec258d01f Fix incorrect string length calculation.
Closes #1963. Thanks to twegener-embertec.
2020-12-18 09:45:49 +00:00
Peter Stevenson
8a44e5940c Systemd service changes for updated pid path.
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
2020-12-17 00:24:10 +00:00
Roger A. Light
04c110183c Bridge support for MQTT v5 maximum-qos. 2020-12-01 18:15:29 +00:00
Roger A. Light
b7e6638fd8 Add ciphers_tls1.3 option, to allow setting TLS v1.3 ciphersuites.
Closes #1825. Thanks to Valentin Dimov.
2020-12-01 10:45:10 +00:00
Roger A. Light
4667c9d5bc Change max_queued_messages default to 1000. 2020-11-24 10:13:21 +00:00
Roger A. Light
edee5aaf8d Add the bridge_bind_address option.
Closes #1311. Thanks to beville.
2020-10-27 16:32:21 +00:00
Roger A. Light
d8f5aacd7f Add the bridge_max_packet_size option.
Closes #265.
2020-10-27 11:35:06 +00:00
Roger A. Light
3506fe4099 Update docs for acl deny feature. 2020-10-14 12:09:48 +01:00
Roger A. Light
c7f429cab2 Deprecation warnings. 2020-09-24 21:42:51 +01:00
Roger A. Light
c90e49af1b Merge remote-tracking branch 'origin/fixes' into develop 2020-09-24 17:03:14 +01:00
Roger A. Light
54b9571516 Enable TLS with certfile+keyfile, not capath/cafile. 2020-09-23 23:31:00 +01:00
Roger A. Light
97bd527df0 Breaking: allow_anonymous defaults to false. 2020-09-17 11:29:32 +01:00