Commit Graph

2600 Commits (1890a86ebca47e5f95e55657bcf652a5dd877a0d)
 

Author SHA1 Message Date
Roger A. Light 695bbc33c8 Fix calculation of remaining length parameter for websockets clients.
Only affects those clients that send fragmented packets.

Closes #1974. Thanks to 贺亚东.
5 years ago
Roger A. Light e78c04de9b Update docker hashes. 5 years ago
Roger A. Light c55424e897 Merge branch 'fixes' 5 years ago
Roger A. Light 09a870c342 Better behaved lws external poll code. 5 years ago
Roger A. Light 5e6b34f81a Fix test. 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 Light c4f4fae5a0 dynsec: Improve logging in addGroupRole.
Close #2005. Thanks to Willem Eradus.
5 years ago
Roger Light 4a114c6151 Remove unused struct member. 5 years ago
Roger A. Light 370cec5edd Fixes for lots of minor build warnings highlighted by Visual Studio. 5 years ago
Roger A. Light e717b7f42c Merge branch 'Hallot-make-sure-xsltproc-installed' into fixes 5 years ago
Roger A. Light f7255ac3cf Merge branch 'make-sure-xsltproc-installed' of git://github.com/Hallot/mosquitto into Hallot-make-sure-xsltproc-installed 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 a69f125b80 No need to clear memory outside of condition. 5 years ago
Roger A. Light 86e0122a2d Only add/remove poll events when they aren't already done. 5 years ago
Roger A. Light fabdfcc060 Further fix for large packets not being sent in a timely fashion. 5 years ago
Pierre Hallot 2cbb3e45ca
Look for xsltproc when needed; to fail early
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
5 years ago
Roger Light c604cf8fd0 net__write buf should be const. 5 years ago
Roger A. Light 491600ea7d codeql: Build cjson as a shared lib. 5 years ago
Roger A. Light 3ced609671 codeql: Build cJSON as Ubuntu bionic doesn't have it. 5 years ago
Roger A. Light a33c28cfe1 Use manual build for codeql. 5 years ago
Roger Light dbb3b2a516
Create codeql-analysis.yml 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 faeb9e9122 Update docker hashes. 5 years ago
Roger A. Light 7fc472232c Merge branch 'fixes' 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 ce30f811ba Improve API documentation.
Fix return code on callback unregister.
5 years ago
Roger A. Light 31ac9c77cb Fix typo in documentation. 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 Light ec1cad0870
Merge pull request #1964 from nullr0ute/fix-plugins-install-64bit
Use libdir as the install prefix for plugins
5 years ago
Roger A. Light 0ec258d01f Fix incorrect string length calculation.
Closes #1963. Thanks to twegener-embertec.
5 years ago
Peter Robinson 9d7580fdb6 Use libdir as the install prefix for plugins
Use the libdir variable from config.mk just like lib/ uses to ensure
that the plugins are installed into the same location as the library.
This fixes systems that use lib64 for libraries like most 64 bit
Linux distributions.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
5 years ago
Roger A. Light e97cf6252e Attempt to fix snap build. 5 years ago
Roger A. Light 119b883e86 Update docker builds. 5 years ago
Roger A. Light 2cc12adcab Merge branch 'fixes' 5 years ago
Roger A. Light d02bc03ed8 Bump version, changelog and webpage. 5 years ago