Commit Graph

320 Commits (e306691b7b75076bf1811a89887dd28863646350)

Author SHA1 Message Date
Roger A. Light a791532c12 Simplify $SYS metric generation. 3 years ago
Roger A. Light 385ddd7d86 Limit bridge restart base and cap to prevent integer overflow.
Non-critical.

Closes oss-fuzz #56302.
3 years ago
Roger A. Light 5fbe8e5be2 Add --tls-keylog for clients. 3 years ago
Roger A. Light 7f0cd48921 Formatting plus whitespace tidy 3 years ago
Roger A. Light 1a8e416b17 Add -q option to mosquitto 3 years ago
Roger A. Light 9260cf25f8 Fix parsing of IPv6 addresses in socks proxy urls. 3 years ago
Roger A. Light 00faec3ccd Doc update 3 years ago
Roger A. Light 3d5309a622 Complicated config test. 3 years ago
Roger A. Light e452f8a4c5 Fix formatting 3 years ago
Roger A. Light d64331603c Don't use TLS v1.1 by default. 3 years ago
Roger A. Light 4612901128 Typos 3 years ago
Roger A. Light 0dd85cfa23 Fix option name 3 years ago
Roger A. Light 3523fc597c Add extra help to mosquitto.conf man page. 3 years ago
Roger A. Light 826af31be7 Update changelog and man page. 3 years ago
Roger A. Light fd68bf00c7 Merge branch 'master' into develop 3 years ago
Roger A. Light e5cb3d0d58 Using `-x` now sets the clients to use MQTT v5.0. 3 years ago
Roger A. Light c4664f08ac Clarify use_username_as_clientid is not global 3 years ago
Roger A. Light 29f49bf6ab Publish global out_packet values to $SYS 3 years ago
Roger A. Light 29c6480c47 Improve documentation of `persistent_client_expiration` option.
Closes #2404. Thanks to Rainer Plischke.
3 years ago
Roger A. Light fe32e2506b Add more mosquitto_passwd examples 3 years ago
JsBergbau 651331ff7d Added queue_qos0_messages documentation for bridging
See https://github.com/eclipse/mosquitto/pull/2500
3 years ago
Roger A. Light a84b5abb69 Update changelog and sort documentation order. 3 years ago
Michał Łyszczek 91bca8899c mosquitto_sub: add support to print floats
This patch adds support for two new format specifiers (%f and %d)
to print float and double data.

Generally it's not save to directly take native binary data of one machine and
print it on another one (since mosquitto is multiarch). But in case of floats
it's save to print representation of it, if __STDC_IEC_559__ is defined.

In C99 Annex F, standard we can read:
> This annex specifies C language support for the
> IEC 60559 floating-point standard.
> (...)
> An implementation that defines __STDC_IEC_559__
> shall conform to the specifications in this annex

All float printing code is behind __STDC_IEC_559__, so if that is not
defined, floating print will be disabled and error returned to user.

Documentation also describes restrictions about printing floats.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
3 years ago
Pierre Hallot 8504f6b70b
CMake: Use PROJECT_SOURCE_DIR to improve using mosquitto as subdirectory
When mosquitto is included as subdirectory, `CMAKE_SOURCE_DIR` does not refer to the mosquitto top level CMake file, but to the whole project top level CMake.
Use `PROJECT_SOURCE_DIR` instead to refer to the right CMake in both contextes.

Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
4 years ago
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.
4 years ago
Roger A. Light 1972ab9a59 Man page fix 4 years ago
Roger A. Light a85d9fb3e9 Merge branch 'improve_backoff' of https://github.com/abiliojr/mosquitto into abiliojr-improve_backoff 4 years ago
Norbert Heusser e7e8b6e832 * Added list of connections to dynsec/getClient response
* Added new helper function mosquitto_apply_on_all_clients to broker
* Refactoring in dynamic-security plugin

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Abilio Marques 03ad07f121 bridge: wait for stable connection before resetting backoff
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light ab67dbcacd More client tests, and an output format fix. 4 years ago
Roger A. Light aa99ce90ac Fix typo. 4 years ago
Roger Light ff69dc8db2 Add bridge_receive_maximum option for MQTT v5.0 bridges. 4 years ago
Roger Light 99eddeb109 Add bridge_session_expiry_interval option for MQTT v5.0 bridges. 4 years ago
Roger Light 538154bd9c The `--insecure` option now disables all server certificate verification. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 4 years ago
Roger Light 1cc8ebb782 Add support for sending the SIGRTMIN signal to trigger log rotation.
Closes #2337. Thanks to Evgeny S.
4 years ago
Roger A. Light 799cdead15 Experimental custom websockets support. 4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger A. Light 7a86b1078a Fix security init order. 4 years ago
Roger A. Light 4f24ffef2f Add `disable_client_cert_date_checks` option. 4 years ago
Roger A. Light ba936a869d Add `accept_protocol_versions` option. 4 years ago
Roger A. Light f552ec48b1 Add global_max_connections option. 4 years ago
Roger A. Light 02685d49b6 Add `global_max_clients` option.
This allows limiting client sessions globally on the broker.
4 years ago
Roger A. Light 64e3c78306 Add `enable_control_api` option. 4 years ago
Roger A. Light d942ed7eec Fix `max_keepalive` option not being able to be set to 0. 4 years ago
Roger A. Light aa29b45e70 Merge branch 'master' into develop 4 years ago
Roger A. Light e43d36020f Update plugin configuration documentation.
Closes #2286. Thanks to Karl Palsson.
4 years ago
Roger A. Light 756b3fcb08 Document TLS certificate behaviour when using `-p 8883`. 4 years ago
Roger Light 035291c595 Signal+reload documentation improvement. 4 years ago