Commit Graph

2658 Commits (ea46a8188e06e196542d8cfbae2c1b2ea710aeb0)
 

Author SHA1 Message Date
Roger Light 64f697d55d Fix `tls_version` behaviour not matching documentation.
It was setting the exact TLS version to use, not the minimium TLS
version to use.

Closes #2110. Thanks to Petter Jönsson.
5 years ago
Roger A. Light 5c45bc4e84 Improve Docker no-auth mode.
Remove use of environment variable, instruct users to run a specific
command instead.
5 years ago
Abilio Marques 2a38b7115b brige: fix backoff not working for remote broker returned errors
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
5 years ago
Roger A. Light 1103c83268 Bump docker builds. 5 years ago
Roger A. Light 1890a86ebc Merge branch 'fixes' 5 years ago
Roger A. Light cec9d36445 Bump version and web pages. 5 years ago
Roger A. Light 465ee546c4 Update comment. 5 years ago
Roger A. Light 2190e98b20 Fix memory tracking not being available on FreeBSD or macOS.
Closes #2096. Thanks to blusewang.
5 years ago
Roger A. Light 12ff9d5e14 Allow Docker images to run with anon, without a config file.
Provide a mechanism for Docker users to run a broker that doesn't use
authentication, without having to provide their own configuration file.

Closes #2040.
5 years ago
Vidar Madsen ebfcc84cda Add new function to header. Minor tweaks.
Signed-off-by: Vidar Madsen <vidarino@gmail.com>
5 years ago
Vidar Madsen 6bea9f7b32 Handle stale stored messages with conflicting message IDs.
Signed-off-by: Vidar Madsen <vidarino@gmail.com>
5 years ago
Roger A. Light 9b08faf0bd Fix mosquitto_{pub|sub}_topic_check() function returns.
The would not return MOSQ_ERR_INVAL on topic == NULL.
5 years ago
Roger A. Light 1b24f625ea Give compile time warning for libwebsockets
If it is compiled without external poll support.

Closes #2060. Thanks to Yannic Schröder.
5 years ago
Thomas De Backer fd2f764d36 Check host address binding before overwriting
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
5 years ago
Thomas De Backer 764aa4e8dc Correct interface binding
Signed-off-by: Thomas De Backer <mosterdt@debacker.me>
5 years ago
Roger A. Light 7fe638786d Fix mosquitto_evt_tick struct members. 5 years ago
Roger A. Light 24920c9a08 Fix possible loss of data in `mosquitto_pub -l` when sending multiple long lines.
Closes #2078. Thanks to Ysincit.
5 years ago
Roger A. Light 36b42364ae Add new auth doc to documentation index. 5 years ago
Roger A. Light c640d669c9 Add authentication methods doc. 5 years ago
Roger A. Light c7177d8898 Don't specify listener *or* port in snap default.
If we do that, then nothing can connect even from the local machine.
5 years ago
Roger A. Light 801f5d216e Use `listener` in default snap config to avoid deprecated `port`. 5 years ago
Roger A. Light 0736414306 Update docker builds. 5 years ago
Roger A. Light 26657053d9 Merge branch 'fixes' 5 years ago
Roger A. Light c2a26250f6 Bump changelog, versions, and web pages. 5 years ago
Roger A. Light 4a738f154e Fix openssl engine not being able to load private key.
Closes #2066. Thanks to Boris Vanhoof.
5 years ago
Roger A. Light 7a3b69f2d7 Fix possible leak during connect.
Closes #2057. Thanks to Przemysław Zygmunt.
5 years ago
Roger A. Light 1e6be1f123 Fix some minor memory leaks on exit only. 5 years ago
Roger A. Light 6c2dca51c3 Clients: Fix config files truncating options after the first space.
Closes #2059. Thanks to Jason White.
5 years ago
Roger A. Light f7dcd83572 Replace bash specific equality check with POSIX check.
Closes #2056. Thanks to Greg Troxel.
5 years ago
Roger A. Light 217b416a2d Fix man page building to not absolutely require xsltproc when using CMake.
This now handles the case where we are building from the released tar, or
building from git if xsltproc is available, or building from git if xsltproc
is not available.
5 years ago
Roger A. Light 05292cdbef Fix exporting of executable symbols on BSD when building via makefile. 5 years ago
Roger A. Light 603107b87a Fix build of mosquitto_ctrl with static only libs. 5 years ago
Roger A. Light f1180dd23a Update docker for 2.0.6. 5 years ago
Roger A. Light bbe0afbfbe Add missing WITH_CJSON option. 5 years ago
Roger A. Light 53b7cc5fc1 Bump version number, add web post. 5 years ago
Roger A. Light 2749b8c5b8 Merge branch 'fixes' 5 years ago
Roger A. Light e98cc28cd3 Move check after current_out_packet is updated. 5 years ago
Przemek Zygmunt 18bad1ff32 Unconditionally adding an event to the epoll causes 100% CPU usage. This happens when the connection to the server is established and the client has not sent any data yet.
Signed-off-by: Przemek Zygmunt <p.zygmunt@acsoftware.pl>
5 years ago
Roger A. Light 6e3738dcf0 Fix bridges not always connecting on Windows.
Closes #2043. Thanks to ttsorensen.
5 years ago
Roger Light ad9a78dfc3 Note in the man pages that SIGHUP reloads TLS certificates.
Closes #2037. Thanks to Greg Troxel.
5 years ago
Roger A. Light 706a1f3f29 Fix more minor compiler warnings. 5 years ago
Roger A. Light cda84950bb Fix mux_epoll__handle() use. 5 years ago
Roger A. Light a4389fc9ce Fix SPDX identifiers: EDL-1.0 -> BSD-3-Clause.
The two licenses are the same.
5 years ago
Roger A. Light cf1098eff1 Send protocol error on topic alias not found.
The error topic-alias-invalid was being sent if an MQTT v5 client published
a message with empty topic and topic alias set, but the topic alias hadn't
already been configured on the broker. This has been fixed to send a
protocol error, as per section 3.3.4 of the specification.
5 years ago
Roger A. Light 3c58ac9308 Fix `message_size_limit` not applying to the Will payload.
Closes #2022. Thanks to Umberto Morelli.
5 years ago
Roger A. Light 4165224885 Fix reloading of listeners where multiple listeners have the same port.
This is only possible where they have different bind addresses.

Closes #2029. Thanks to Simon Aldrich.
5 years ago
Roger A. Light c9a4ef402e Update changelog. 5 years ago
Roger Light e6aa1e8151
Merge pull request #2027 from madhat1/bugfix/fix_cjson_cmake
Fix cmake not building correctly when WITH_CJSON=OFF
5 years ago
Boris Feinstein c16514ca23 perform cjson discovery only if WITH_CJSON=ON
When using cmake to build the project, cJson discovery
should only be performed if WITH_CJSON=ON.

Closes #2026.

Signed-off-by: Boris Feinstein <madhat1@gmail.com>
5 years ago
Roger A. Light e2ebddfc54 Improve logging in obscure cases when a client disconnects.
Closes #2017. Thanks to Craig Leres.
5 years ago