Commit Graph

299 Commits (4099f8d1b698b9d2008c90001c50efe950c3c2cd)

Author SHA1 Message Date
Roger A. Light fe32e2506b Add more mosquitto_passwd examples 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
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
Roger Light 93b2232bb9 Apply max_keepalive to MQTT v3.1.1 and v3.1 clients. 4 years ago
Roger Light 7dd8e7eb62 Add missing tag 4 years ago
Roger Light 3eaed4c730 Merge branch 'bridge_tcp_user_timeout' of git://github.com/abiliojr/mosquitto into abiliojr-bridge_tcp_user_timeout 4 years ago
Roger A. Light 4f04f3de92 Add `websockets_origin` option
This allows Origin header checking when clients attempt to upgrade from http->websockets.
4 years ago
Roger A. Light 40b402e64a Add the `global_plugin` option.
This gives global plugin loaded regardless of `per_listener_settings`.
4 years ago
Roger A. Light 49065f03a8 Merge remote-tracking branch 'origin/fixes' into develop 4 years ago
Roger A. Light ec895f2ad3 mosquitto_sub now only needs `-t` or `-U` to run
This means that `-t` is not required in all situations.
4 years ago
Roger A. Light 30b54ba124 Add platform limitations section to man page. 4 years ago
Abilio Marques d8090afbfb bridge: add support for TCP_USER_TIMEOUT
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
4 years ago
Roger A. Light de0e275ccb mosquitto_sub `--watch` can now be called as `-w`. 4 years ago
Roger A. Light e4160b083a Add --watch to mosquitto_sub. 4 years ago
Roger A. Light 214feb8f6b Merge branch 'fixes' into develop 4 years ago
Roger A. Light 99833795f2 Man page improvements - document MQTT support. 4 years ago
Roger Light 0a90e62f93 CMake tidy. 4 years ago
Roger Light 160950dc73 Fix syntax error. 4 years ago
Roger Light 931c590a37
Merge pull request #2156 from abiliojr/improve_tls
add cipher settings for bridge, and support for TLS 1.3 ciphers
4 years ago
Roger Light a5eb2f25eb Add --tls-keylog argument. 4 years ago
Roger Light ef7662ca8e Merge branch 'master' into develop 4 years ago
Roger A. Light d3dd89da82 Fix man page typos. 5 years ago
Roger A. Light 8dbfdc0495 Add `--no-tls` option for all clients.
This disables all TLS options for that instance. This is useful for
negating TLS options provided in a config file, or to disable the
automatic use of TLS when using port 8883.

Closes #2180. Thanks to Elliott Balsley.
5 years ago
Roger Light efad820706 Add `-o` option for all clients loading options from a specific file. 5 years ago