Commit Graph

2325 Commits (b06c5cd88f3251aea2cc77f48364d85fbc8536b1)
 

Author SHA1 Message Date
Roger A. Light b06c5cd88f dynsec: Add setClientId command. 5 years ago
Roger A. Light f02c67fecf Fix file logging on Windows.
Closes #1880. Thanks to J1EXA, richl, and EnneiteZer.
5 years ago
Roger A. Light 47f4cb8159 Fix potential null dereference. 5 years ago
Roger A. Light 492bbba079 Point Windows users to older installers if needed. 5 years ago
Roger A. Light 8c6a7314b7 ctrl: Fix reporting when module not supported. 5 years ago
Roger A. Light edd74cca59 Fix cmake build of mosquitto_ctrl. 5 years ago
Roger A. Light 91584a90a2 Fix dynsec plugin cmake build 5 years ago
Roger A. Light 5db9884bac Fix poll() build 5 years ago
Roger A. Light 7172867ff0 Ignore windows 64 bit build dir. 5 years ago
Roger A. Light 68f849f2af Fix slug 5 years ago
Roger A. Light b3a0b999eb First draft of dynsec documentation. 5 years ago
Roger A. Light c552401cbd Consistency in readme naming. 5 years ago
Roger A. Light eee34613b4 Fix building of old tests. 5 years ago
Roger A. Light e7a4e73cd8 Fix listener not being reassociated with client.
This occurred when reloading a persistence file and
`per_listener_settings true` is set and the client did not set a
username.

Closes #1891. Thanks to Mikkel Nepper-Christensen.
5 years ago
Roger A. Light 4e13bdec04 Add build support for jemalloc 5 years ago
Franz Auernigg 18a6d79ab8 Fix cmake if condition in lib/CMakeLists.txt
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
5 years ago
Franz Auernigg 73f1a1c892 Fix enclosing include brackets in cmake
Signed-off-by: Franz Auernigg <f.auernigg@commend.com>
5 years ago
Roger A. Light c5fe1fc36b Dynsec: Fix loading of clients with no password. 5 years ago
Roger A. Light 4b3c76d97a mosquitto_ctrl: Allow optional client and password when creating a client. 5 years ago
Roger A. Light a0c39b193b Fix description of `-e` and `-t` arguments in mosquitto_rr.
Closes #1881. Thanks to Arnav Singh.
5 years ago
Roger A. Light 90ce92144c Fix websockets build. 5 years ago
Roger A. Light 26e8cc3fb9 Fix connack props not being freed on error. 5 years ago
Roger A. Light 8de1216105 No need to call time() when logging. 5 years ago
Roger A. Light b816d46508 Use db as a global var instead of passing to functions.
This allows a big swath of ifdefs to be removed. It also means savings as the db var is not passed around all of the time, and makes it easier to remove the final broker call to mosquitto_time() call in packet_mosq.c. In one test this reduced the calls to mosquitto_time() from 295k to 48k.
5 years ago
Roger A. Light 108b23ce6d Reduce use of mosquitto_time() and time(). 5 years ago
Roger A. Light e6b8fc5bbd Fix oversize packet check in CONNECT. 5 years ago
Roger A. Light 3091d624ed Free plugin identifier. 5 years ago
Roger A. Light c5ba597588 Fix use after free (unreleased) 5 years ago
Roger A. Light 255ae24a6d Fix basic dynsec tests. 5 years ago
Roger A. Light c2651cf005 Remove deprecation warning on libmosquittopp. 5 years ago
Roger A. Light 693f6ad36e Only make keepalive checks every 5 seconds. 5 years ago
Roger A. Light 23d3c2641e Optimise epoll event to context/listener mapping. Allows quicker lookups. 5 years ago
Roger A. Light 95139cccff Dynsec: If priority is equal when ordering, use group/role name as well. 5 years ago
Roger A. Light 2a1df4ddb2 Breaking: Drop privileges after loading the configuration
This change means privileges are dropped before loading certificates, starting logging, creating the pid file etc. are carried out, so all of those actions must now be changed to ensure that the unprivileged user can carry them out.
5 years ago
Roger A. Light c5fee09c24 Basic client disconnect event support for plugins. 5 years ago
Roger A. Light 4d6384c758 Build and conversion fixes for build variants. 5 years ago
Roger A. Light 4d9afc835b Fix missing functions in test. 5 years ago
Roger A. Light e6dd08074d TLS certificates for the server are now reloaded on SIGHUP. 5 years ago
Roger A. Light b2560f5e06 Move certificate loading to its own function. 5 years ago
Roger A. Light 24462a816b Tidy up headers. 5 years ago
Roger A. Light aafb75b6bc Ctrl: Fix use of ints in cJSON. 5 years ago
Roger A. Light 801e31efda Dynsec: Validate user/group/role names as UTF-8. 5 years ago
Roger A. Light 7462fec1c8 Dynsec: Check ACLs are valid topic filters. 5 years ago
Roger A. Light 3486f0e546 Dynsec: Kick affected clients on role change. 5 years ago
Roger A. Light 9785896eea Ctrl: Report errors on invalid args, don't try to connect. 5 years ago
Roger A. Light bb840ed55b Conversion fixes. 5 years ago
Roger A. Light 8e7e4a9d9a Clients: Give warning if keepalive too low. 5 years ago
Roger A. Light 1191a42c2e Fix more incorrect quota handling.
Must check QoS, and directions were wrong.
5 years ago
Roger A. Light 042c2733f2 Test and fix for message expiry not increasing send quota. 5 years ago
Arenoros 9c3a214a01 In android ndk doesn't exist librt and libpthread
Signed-off-by: Arenoros <arenoros@gmail.com>
5 years ago