Commit Graph

1183 Commits (3854993d3306211aa4e939a44b4e4381af579644)
 

Author SHA1 Message Date
Roger A. Light 3854993d33 Man page can now be built on any system.
Closes #1139. Huge thanks to Chris Mayo.
7 years ago
Roger A. Light 276c1a62e0 Improve documentation of use_identity_as_username.
Closes #1134. Thanks to Adrian P.
7 years ago
Roger Light cbd5306aec Fix and tests for CVE-2018-12546. 7 years ago
Roger A. Light 5820b9e4e7 Fix and tests for security bug #541870. 7 years ago
Roger A. Light 3559b66ade Fix and tests for security bug #543401. 7 years ago
Steven Lawrance cecf8f838f Include sys/socket.h for AF_INET definition
Without this, mosquitto doesn't build on FreeBSD with websockets enabled

Signed-off-by: Steven Lawrance <stl@koffein.net>
7 years ago
Roger Light 9dd8d1e054 Handle mismatched handshakes properly.
For example, a QoS1 PUBLISH with QoS2 reply.
7 years ago
Roger A. Light d085216d71 Make table more consistent with preceding documentation. 7 years ago
Roger A. Light 18a37ce4bc Improve bridge remapping documentation. 7 years ago
Roger A. Light 01cc4dd696 Update changelog for previous PR.
Thanks to Matthias Stone.
7 years ago
Matthias Stone 4ddf00dec3 Don't clear SSL context when TLS connection is closed.
Previous behaviour would clear the external SSL_CTX provided by
MOSQ_OPT_SSL_CTX. This required the user to reset the SSL_CTX every
disconnect, and trust that they were not leaking references.

Recreating the SSL context for every connection is not necessary, and the
SSL context is freed in mosquitto_destroy, which is sufficient.

Signed-off-by: Matthias Stone <matthias@bellstone.ca>
7 years ago
Roger A. Light f49aeffd8c Fix TLS connections not working over SOCKS.
Thanks to Mark Oeltjenbruns.
7 years ago
Roger A. Light b2e63f49f7 Update changelog 7 years ago
Vinod Kumar 80d77983d3 ignore inline comments while parsing optional config params
Signed-off-by: Vinod Kumar <kumar003vinod@gmail.com>
7 years ago
Roger A. Light e7e69eadb7 Fix compilation when openssl deprecated APIs are not available.
Closes #1094. Thanks to Rosen Penev.
7 years ago
Roger A. Light 8fce26134b Fix comparison of boolean values in CMake build.
Closes #1101. Thanks to Mojca Miklavec and Andrew L. Moore.
7 years ago
Roger A. Light ddb64c15f3 Merge branch 'master' into fixes 7 years ago
Maksym Ruchko 75bbc31130 Fixed threaded enum lost in merges
Change was part of the original commit e8185ddaa7
"[166] Don't cancel external threads."
and then lost during code reorganizing and subsequent merge,
commits 970ba58da6 81cb7ab547

Signed-off-by: Maksym Ruchko <mruchko@advantech-bb.com>
7 years ago
Roger A. Light 19fbbd8726 Update details of CVE-2018-20145. 7 years ago
Roger A. Light 84c5d90f5c Website update for 1.5.5. 7 years ago
Roger A. Light a0a37d385d Update docker for 1.5.5. 7 years ago
Roger A. Light 66dfa57394 Don't use home interface until it is not auto connected. 7 years ago
Roger A. Light d28834d541 Merge branch 'fixes' 7 years ago
Roger A. Light a8ca5c83af Bump version. 7 years ago
Roger A. Light afe011866c Remove unused variables. 7 years ago
Roger A. Light 89f3d7bb3f Don't print connect/disconnect messages when connection_messages false.
Closes #772. Closes #613. Closes #537.

Thanks to Christopher Maynard, Brandon Arrendondo, and qubeck.
7 years ago
Roger A. Light a00dd29af8 Fix building where TLS-PSK is not available.
Closes #68.
7 years ago
Roger A. Light 9097577b49 Fix acl_file being ignore for default listener if with per_listener_settings
Close #1073. Thanks to Jef Driesen.

Bug: https://github.com/eclipse/mosquitto/issues/1073
7 years ago
Jelle van der Waa 1a6f8d3c28 src: ASN1_STRING_data is deprecated in OpenSSL 1.1
ASN1_STRING_get0_data replaces ASN1_STRING_data in OpenSSL 1.1 therefore
add an #ifdef for backwards compatibility.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
7 years ago
Roger A. Light 73c46174f8 Don't call on_disconnect() twice if keepalive tests fail.
Closes #1067. Thanks to xingchen02.

Bug: https://github.com/eclipse/mosquitto/issues/1067
7 years ago
Abilio Marques ead440e47d bridge: fix issue where keepalive_interval gets added to restart_timeout using ADNS
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
7 years ago
Tamaki Nishino d07864939a Check SSL_DATA_PENDING in mosquitto_loop_read()
Signed-off-by: Tamaki Nishino <otamachan@gmail.com>
7 years ago
Roger A. Light 3a871828ac Print message on error when installing as a Windows service. 7 years ago
Roger A. Light 919333567c Add home interface support to snap, for users that need it. 7 years ago
Roger A. Light c9ed2708f6 Don't reload auth_opt_ options on reload.
This matches the behaviour of the other plugin options.

Closes #1068. Thanks to Jason McFadyen.

Bug: https://github.com/eclipse/mosquitto/issues/1068
7 years ago
Roger A. Light 464b12f3d6 Fix outgoing retained messages not being sent by bridges.
This now happens on initial connection, after CONNACK is processed,
before it was happening (and being dropped) before the connection was
made.

Closes #1040. Thanks to giover.

Bug: https://github.com/eclipse/mosquitto/issues/1040
7 years ago
Roger A. Light 5d02f58151 Fix reconnect delay backoff behaviour.
Closes #1027. Thanks to Harm Verhagen.

Bug: https://github.com/eclipse/mosquitto/issues/1027
7 years ago
Roger A. Light e169f1c7c2 When using ADNS, don't ask for all network protocols when connecting.
This can lead to confusing "Protocol not supported" errors if the
network is down, because UDP sockets are provided.

Thanks to jsaak.

Closes #1062.

Bug: https://github.com/eclipse/mosquitto/issues/1062
7 years ago
Roger A. Light d29dac087d Add socket_domain option. 7 years ago
Roger A. Light 8509dde342 Make docker uid/gid explicit.
Closes #1034. Thanks to Daniele Sluijters.
7 years ago
Roger A. Light 9df80cfab1 Tidy up unused Windows installer pages. 7 years ago
Roger A. Light 34293d07c1 Always print leading zeros in mosquitto_sub when output format is hex.
Closes #1066.

Thanks to skiizo.

Bug: https://github.com/eclipse/mosquitto/issues/1066
7 years ago
Roger A. Light 44135bc680 Web: Roadmap and MQTT 5 updates. 7 years ago
Roger A. Light 9464e3fe19 Guard against possible null client id. 7 years ago
Roger A. Light 8960b1fe29 Update 1.5 docker image. 7 years ago
Roger A. Light b2fda04e1c Update website for 1.5.4. 7 years ago
Roger A. Light 265a3dd0b1 Merge branch 'fixes' 7 years ago
Roger A. Light e81db23ce4 Bump version number. 7 years ago
Roger A. Light b54e379fba Fix websockets listeners not verifying client certs.
When using a TLS enabled websockets listener with "require_certificate"
enabled, the mosquitto broker does not correctly verify client certificates.
This is now fixed. All other security measures operate as expected, and in
particular non-websockets listeners are not affected by this. Closes #996.

Thanks to creising.
7 years ago
Roger A. Light 71b8c4d892 Fix TLS connections when using an external event loop.
Affects the use of mosquitto_loop_read() and mosquitto_write().
Closes #990.
7 years ago