Commit Graph

325 Commits (0e95612fe5daaf04415030f18946fe1563f4ee25)

Author SHA1 Message Date
Roger A. Light 0e95612fe5 Fix retained msgs not sent by bridges.
This occurred when a bridge connected for the first time and so made a
local subscription for outgoing topics.

Closes #701.
7 years ago
Roger A. Light c0196547ae Various build improvements to help packaging. 7 years ago
Roger A. Light 41c93565d5 Remove requirement to use `user root` in snap package config files. 7 years ago
Roger A. Light fee71d6df1 Elevate log level to warning for situation when socket limit is hit. 7 years ago
Roger A. Light 41d9105397 Bump version number. 7 years ago
Roger A. Light 4fdcbad93f Fix segfault on HUP when bridges and security options are configured.
Closes #849. Closes #965. Thanks to Wolfgand Hottgenroth and Dustin Sallings.
7 years ago
Roger A. Light 906cca4f21 Fix "round_robin false" behaviour.
Closes #481.
7 years ago
Roger A. Light b98fe5e28e Fix for bridge connections when using WITH_ADNS=yes. 7 years ago
Roger A. Light e88cabc306 Changelog entry for #932. 7 years ago
Roger A. Light e331c8a725 Update changelog and fixes to #927 PR. 7 years ago
Roger A. Light 24bd31f2a0 Fix excessive CPU usage when the number of sockets exceeds the system limit.
Closes #948. Thanks to wiebeytec.
7 years ago
Roger A. Light 1605a4f294 Make it easier to build without bundled uthash.h.
Use "make WITH_BUNDLED_DEPS=no".
7 years ago
Roger A. Light ebdfe0e6f5 Fix incorrect call to setsockopt() for TCP_NODELAY.
Closes #941. Thanks to rfalke.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 135ff1dd2e Fix build when using WITH_ADNS=yes. 7 years ago
Roger A. Light afbb0f6691 Bump version number.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 63bfcb224e Fix accessor functions for username and client id when used in plugin auth check. 7 years ago
Roger A. Light fd19a6f0f0 Add support for compiling with static libwebsockets library. 7 years ago
Roger A. Light e74a09936d Fixes for building on FreeBSD. 7 years ago
Roger A. Light fd8002c3e3 Fix compiling on Mac OS X <10.12 due to clock_gettime()
Closes #813 and #240.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light f494a74015 Fix default port problem when compiling clients using WITH_TLS=no. 7 years ago
Roger A. Light 3baf63bedd Fix building for libwebsockets < 1.6. 7 years ago
Roger A. Light ecb3f4d4b0 Fix possible endian issue when reading the `memory_limit` option.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 29513a27ba Fixes for building on NetBSD.
Closes #258.

Thanks to Daniel Ölschlegel.
7 years ago
Roger A. Light ffbdad93b4 Don't reject ACL patterns without %u or %c, just warn.
Using `pattern blah/#` is a legitimate method of getting a global ACL.
We shouldn't be changing behaviour in a fixes release.
7 years ago
Roger A. Light e64948979d Fix UNSUBACK messages not being logged.
Closes #903.

Thanks to Christoph Krey.
7 years ago
Roger A. Light c79059b34e Fix `use_identity_as_username true` not working.
Closes #833.

Thanks to David Crook and Brice Waegeneire.

Bug: https://github.com/eclipse/mosquitto/issues/833

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 329c031854 Update changelog.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 20fbed21e3 ACL patterns that do not contain either %c or %u are now rejected.
Closes #209.

Bug: https://github.com/eclipse/mosquitto/issues/209

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 9c53972f40 Fix connection problems when using mosquitto_connect_async().
The connection wouldn't always complete if mosquitto_loop_start() was
called before mosquitto_connect_async(). Closes #848.

Thanks to Ian Gough.

Bug: https://github.com/eclipse/mosquitto/issues/848

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 79a8c5a2e0 Fix problem on Pi caused by unsigned char being default.
Found via #849.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 0bd7cf86c6 Fix segfault on startup if bridge CA certificates could not be read.
Closes #851.

Thanks to chelliwell.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light ad40419b18 Fix some places where return codes were incorrect.
Closes #850.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 832e3deb71 All clients now time out if they exceed their keepalive*1.5
This was inconsistent before.

Partially addresses #865.
7 years ago
Roger A. Light 2dd7df6498 Fix IPv6 addresses not being able to be used as bridge addresses.
Closes #886.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light eb106907a6 Remove use of AI_ADDRCONFIG.
Closes #869, #901.

Thanks to Alex Richman.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 2bb6ad41b9 Use AF_UNSPEC etc. instead of PF_UNSPEC to comply with POSIX.
Closes #863.

Thanks to denigmus and Patrick TJ McPhee.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light de4adcd20e Print more OpenSSL errors when loading certificates/keys fail.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 9f8e2a1d0a [Broker] Fix auth plugin cleanup function not being called.
Closes #900.

Thanks to Julian Zhao.

Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light 5e60136449 Merge branch 'develop' 8 years ago
Roger A. Light 84520296fa Bump version number. 8 years ago
Roger A. Light 377dc82d3f Fix parsing of configuration options that end with a space.
Closes #804.

Thanks to Nicola Lunghi.
8 years ago
Roger A. Light 51ec5601c2 Fix memory leak that could be caused by a malicious CONNECT packet.
Closes #533493 (on Eclipse bugtracker)

Thanks to Daniel Romero.
8 years ago
Roger A. Light 23230b7b18 Add per-listener acl handling. 8 years ago
Roger A. Light 9476d8abcb Document mosquitto_sub timeout. 8 years ago
Roger A. Light 5ff8127f44 Fix will sending for duplicate clients.
When a client with an in-use client-id connects, if the old client has a
will, send the will message. Closes #26.

Thanks to Pierre F.
8 years ago
Roger A. Light 24d68b5af8 Remove support for openssl 1.0.0 and 1.0.1.
These are no longer supported by openssl.
8 years ago
Roger A. Light 8470ca89b9 Add MOSQ_OPT_SSL_CTX and MOSQ_OPT_SSL_CTX_WITH_DEFAULTS options.
Closes #567 and #715.
8 years ago
Roger A. Light 86ced4d98f Add mosquitto_connect_with_flags_callback_set().
This allows a second connect callback to be used that exposes the
MQTT connect flags parameter.

Closes #738, #128.
8 years ago
Roger A. Light 8676cc0359 Replace mentions of deprecated 'c_rehash' with 'openssl rehash'. 8 years ago
Roger A. Light dbdd113c86 Merge branch 'develop' of github.com:eclipse/mosquitto into develop 8 years ago