Commit Graph

2505 Commits (0ec258d01ff195f9009660e495cafa3ced0bc597)
 

Author SHA1 Message Date
Roger A. Light fcb8bc0b9b Fix use of incorrect callback list. 5 years ago
Roger A. Light a1ad4cfcc4 Dynsec: Rename ACL types for clarity.
publishBrokerToClient -> publishClientReceive
publishClientToBroker -> publishClientSend
5 years ago
Roger A. Light 004bd3c5cd Dynsec: Set default behaviour to be less restrictive.
Publish broker to client and unsubscribe are now allowed by default. With Publish client to broker and subscribe denied by default there is still no way a client can exchange messages, but it is now easier to administer.
5 years ago
raspopov 2196efc90c Fixed paranoid VS2017 compilation error of uninitialized variable (was a warning before).
Signed-off-by: raspopov <raspopov@cherubicsoft.com>
5 years ago
Roger A. Light e01d391c0b Fix crash on Windows if loading a plugin fails.
Closes #1866. Thanks to roebotron.
5 years ago
Roger A. Light 451b8d0f59 Remove allocs in logging. 5 years ago
Roger A. Light abbeb4494f Change `tls_version` option behaviour.
The `tls_version` option now defines the *minimum* TLS protocol version to
be used, rather than the exact version.

Closes #1258. Thanks to Daniele Sluijters.
5 years ago
Roger A. Light edee5aaf8d Add the `bridge_bind_address` option.
Closes #1311. Thanks to beville.
5 years ago
Roger A. Light e3ed8879f2 Fix test compilation. 5 years ago
Roger A. Light 443275a2d0 Fix more "incorrect" disconnect messages. 5 years ago
Roger A. Light dcf6372a2a Add support for bridge retain-available. 5 years ago
Roger A. Light 291b711bd4 Fix incorrect disconnect messages. 5 years ago
Roger A. Light d8f5aacd7f Add the `bridge_max_packet_size` option.
Closes #265.
5 years ago
Roger A. Light 916c3744f3 Fix `log_timestamp_format` not applying to `log_dest topic`.
Closes #1862. Thanks to Kaushik-27.
5 years ago
Roger A. Light 88b5daee66 Try very hard not to produce "Socket error" message.
This happens when an unhandled error occurs on a socket/read write. The
message is confusing to people.
5 years ago
Roger A. Light 987f7ff76a Make it clearer that `log_dest topic` doesn't include debug. 5 years ago
Roger A. Light fdff255916 New dynamic security plugin. 5 years ago
Roger A. Light e82ee879d5 Merge branch 'fixes' into develop 5 years ago
raspopov 53d63fe922 Fixed compilation error on Win32 UNICODE platform.
Signed-off-by: raspopov <raspopov@cherubicsoft.com>
5 years ago
raspopov 6af56610ac Fixed "config.h" file placement to help using it as a precompiled header.
Signed-off-by: raspopov <raspopov@cherubicsoft.com>
5 years ago
Roger A. Light 3b99fbbe8c Return MOSQ_ERR_NOT_SUPPORTED on unsupported plugin event. 5 years ago
Roger A. Light b36247cb10 Fix payload example mosquitto_plugin_version() calls. 5 years ago
Roger A. Light 95e009c429 Document what to do on non-matching plugin versions. 5 years ago
Roger A. Light 42b9d94e91 Tell plugins which plugin versions the broker supports. 5 years ago
Roger A. Light 06b933c3ba Add tick event to plugin interface. 5 years ago
Roger A. Light 3eb39b38da Use atomics in test. 5 years ago
Roger A. Light 7ae7d73fd4 The loop in packet_write() means that `max_packets` isn't needed. 5 years ago
Roger A. Light e104645279 msgps clients now report continuously. 5 years ago
CJ Lee 988b5cf0b2 Add missing header for QNX
<arpa/inet.h> header is required to compile this source. Without it, WARNING is generated.

mosquitto/lib/socks_mosq.c: In function 'socks5__send':
mosquitto/lib/socks_mosq.c:156:22: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration]
   ipv4_pton_result = inet_pton(AF_INET, mosq->host, &addr_ipv4);

Signed-off-by: ChangJoon Lee <changjoon.lee@lge.com>
5 years ago
Roger A. Light af99071c1e Add example payload modification plugin. 5 years ago
Roger A. Light 9d68da4664 Fix plugin payload modification. 5 years ago
Roger A. Light cd3dda387a Fix mosquitto_passwd cmake build. 5 years ago
Roger A. Light 751fda44bd Remove conflict marker. 5 years ago
Roger A. Light e69dedfc27 Make more portable. 5 years ago
Roger A. Light 6035d8015b Consistent naming. 5 years ago
Roger A. Light c51f2300f1 Log warning if starting in local only mode. 5 years ago
Roger A. Light 1851a0e1b1 Add support for pbkdf2 hash iterations. 5 years ago
Roger A. Light 899695261a Fix invalid character conversions in test. 5 years ago
Roger A. Light 4ae8971ce1 The broker now sends the receive-maximum property for MQTT v5 CONNACKs. 5 years ago
Roger A. Light 57ef576867 Revert unintentional CFLAGS. 5 years ago
Roger A. Light 4f61f6c161 Fix conversion errors. 5 years ago
Roger A. Light f62166a0de Add CFLAGS for the apps folder. 5 years ago
Roger A. Light ef68063985 Convert default security to "plugin" mode.
This converts password_file and acl_file checks to act like a v5 plugin.
5 years ago
Roger A. Light 0b414c6fff Build and distribute plugins dir. 5 years ago
Roger A. Light 267beb8a49 Export function on Windows. 5 years ago
Roger A. Light 3506fe4099 Update docs for acl deny feature. 5 years ago
Roger A. Light bb3e35fbb9 Merge branch 'BrandtHill-feature/add-deny-option-for-acl' into develop 5 years ago
Roger A. Light f18f1a08a9 Merge branch 'feature/add-deny-option-for-acl' of git://github.com/BrandtHill/mosquitto into BrandtHill-feature/add-deny-option-for-acl 5 years ago
Roger A. Light 6104172bcf Fix connect properties not being sent.
This was happening when the client automatically reconnected.

Closes #1846. Thanks to DSOFreak.
5 years ago
Roger A. Light 9724710cd6 Add MOSQ_OPT_BIND_ADDRESS.
This allows setting of a bind address independently of the
`mosquitto_connect*()` call.
5 years ago