Commit Graph

717 Commits (e98cc28cd32760f9876703066c6d6a363f81835a)

Author SHA1 Message Date
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 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 A. Light e2ebddfc54 Improve logging in obscure cases when a client disconnects.
Closes #2017. Thanks to Craig Leres.
5 years ago
Roger A. Light 9c4b9a0311 ctrl: Error if new passwords don't match.
Produce an error when requesting a new password if both
attempts do not match.

Closes #2011. Thanks to Willem Eradus.
5 years ago
Roger A. Light 26fbd0ec74 ctrl: Allow command line arguments to override config file options.
Closes #2010. Thanks to Willem Eradus.
5 years ago
Roger A. Light 300dc54dad Add notes that libsystemd-dev or similar is needed.
This is when building with systemd support on Linux.

Closes #2019. Thanks to Mark Symmes.
5 years ago
Roger A. Light 00083623f0 Fix websockets listeners with TLS not responding.
Closes #2020. Thanks to FozzTexx.
5 years ago
Roger A. Light b8c6f26995 Fix message expiry interval property not being honoured for plugins.
This happened in `mosquitto_broker_publish` and
`mosquitto_broker_publish_copy` only.
5 years ago
Roger A. Light 4be32aefc6 Fix potential duplicate Will messages being sent.
This could have occurred when a will delay interval had been set.
5 years ago
Roger A. Light 5927778ae5 Improve logging in dynsec addGroupClient command.
Closes #2008. Thanks to Willem Eradus.
5 years ago
Roger A. Light ae3800ad66 Bump version number, add www post. 5 years ago
Roger A. Light d9a34fbb3a Improve documentation around the `_v5()` and non-v5 functions.
For example `mosquitto_publish()` and `mosquitto_publish_v5().
5 years ago
Roger A. Light 370cec5edd Fixes for lots of minor build warnings highlighted by Visual Studio. 5 years ago
Roger A. Light 6728c05a2c `install` Makefile target should depend on `all`, not `mosquitto`
This ensures that man pages are always built, even if a user runs `make
install` without building first.

Closes #1989. Thanks to woodz-.
5 years ago
Roger Light 7e1a818c54 Fix invalid behaviour in dynsec plugin.
This occurred if a group or client was deleted before a role that was
attached to the group or client is deleted.

Closes #1998. Thanks to Willem Eradus.
5 years ago
Roger Light 5b3acfe3cc Fix `mosquitto_ctrl dynsec getGroup` not showing roles.
Closes #1997. Thanks to Willem Eradus.
5 years ago
Roger Light 886ee6cd0c Fix `bind_interface` option.
Closes #1999. Thanks to Joerg55.
5 years ago
Roger Light 28c28fe707 Fix incorrect description in mosquitto_ctrl man page.
Closes #1995. Thanks to fyta2000.
5 years ago
Roger A. Light 70db9c486e Disallow control characters in mosquitto_passwd usernames. 5 years ago
Roger A. Light 93c730f799 Fix potential intermittent initial bridge connections when using poll(). 5 years ago
Roger A. Light 8385769b86 Fix apparmor incorrectly denying access db tmp file.
This is /var/lib/mosquitto/mosquitto.db.new.

Closes #1978. Thanks to gnampf89.
5 years ago
Roger A. Light b2da540c64 Fix large packets not being completely published to slow clients.
Also fix bridge connection not relinquishing POLLOUT after messages are
sent.

Closes #1977. Thanks to marchaesen.
Closes #1979. Thanks to GorazdKikelj.
5 years ago
Roger A. Light 9d3732a62d Fix `auth_method` not being provided to the extended auth plugin event.
Closes #1975. Thanks to Jinming Chen.
5 years ago
Roger A. Light 5a565da82b Bump version number. Update changelog and web pages. 5 years ago
Roger A. Light 97d9f471c3 Fix websockets connections blocking non-ws connections on Windows.
Closes #1934. Thanks to sectokia and jarapa9.
5 years ago
Roger A. Light b8962cc040 Add more log messages for dynsec load/save error conditions. 5 years ago
Roger A. Light c6a6165f3b Fix dynamic security configuration possibly not being reloaded on Windows only.
Closes #1962. Thanks to martgeier.
5 years ago
Roger A. Light 4a012aef06 Fix man pages not being built when using CMake.
Closes #1969. Thanks to phplpf.
5 years ago
Roger A. Light 2db9aecac4 Do not reset bind address option if passed NULL.
mosquitto_connect_bind_async() and mosquitto_connect_bind_v5() should not
reset the bind address option if called with bind_address == NULL.

Otherwise calling mosquitto_connect_async() will *force* the bind
address to be reset, even if previously set with
mosquitto_string_option().
5 years ago
Roger A. Light e02b5a2775 Fix $SYS/broker/publish/messages/+ counters not being updated for QoS 1, 2
Closes #1968. Thanks to promahn.
5 years ago
Roger A. Light d02bc03ed8 Bump version, changelog and webpage. 5 years ago
Roger A. Light f930970008 Fix persistence_location not appending a '/'. 5 years ago
Roger A. Light 2d9d1beee4 Fix ChangeLog error. Closes #1941. 5 years ago
Roger A. Light f10de9831a Fix slow initial bridge connections for WITH_ADNS=no. 5 years ago
Roger A. Light 1d92184b2f Fix local bridges being disconnected on SIGHUP.
Closes #1942. Thanks to charlemagnelasse.
5 years ago
Roger A. Light 00c68203b8 Fix QoS 0 messages not being delivered if max_queued_messages was set to 0.
Closes #1956. Thanks to nduhme.
5 years ago
Roger A. Light d05a49a2cf Fix bridges possibly not completing connections when WITH_ADNS is in use.
Closes #1960. Thanks to twegener-embertec.
5 years ago
Roger A. Light de141540fb Fix mosquitto_sub being unable to terminate with Ctrl-C.
This occured if a successful connection was not made.

Closes #1957. Thanks to Peoh.
5 years ago
Roger Light 113603168b Fix LWT not being sent on client takeover.
This was not happening for the case when the existing session wasn't
being continued.

Closes #1946. Thanks to Rory Piper.
5 years ago
Roger Light 74f3285cf8 Fix `generic` docker build.
Closes #1945. Thanks to Andreas Schildbach.
5 years ago
Roger Light f63386bf4a Fix `mosquitto_passwd -b` using username as password.
Only applies if if `-c` is not also used.

Closes #1949. Thanks to J. Augusto de Oliveira.
5 years ago
Roger A. Light abac67299f Fix excessive CPU use on non-Linux systems when the open file limit is set high.
Closes #1947. Thanks to Patrick TJ McPhee.
5 years ago
Roger A. Light f7dc138157 Fix `install` target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
5 years ago
Roger A. Light ecf6f9079a Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems. 5 years ago
Roger A. Light 2307c9fa07 Update web pages. 5 years ago