Roger A. Light
f5625f499f
Client HTTP request size configurable.
4 years ago
Roger A. Light
0a0f4ead42
Plugin interface interface and test improvements.
4 years ago
Roger A. Light
01b3e04362
Rename `remove` to `delete` in external interface.
...
This is consistent with usage in the dynsec plugin.
4 years ago
Roger A. Light
9ce09de2e6
Add MOSQ_EVT_PERSIST_CLIENT_MSG_CLEAR plugin event.
4 years ago
Roger A. Light
ff41157c2c
Persistence interface documentation, plus better heap/non heap params
...
Be clear about whether the plugin or the broker owns `plugin_*` memory after function calls are made.
4 years ago
Roger A. Light
68fbb7b5bb
auth method needs persisting.
4 years ago
Roger A. Light
6d3f85cf0c
Have const/non const members.
...
Broker to plugin must be const.
Plugin to broker may need to be non-const.
4 years ago
Roger A. Light
0f8733627a
Plugin persistence interface.
4 years ago
Roger A. Light
cfe078cd32
Document function.
4 years ago
Roger A. Light
2501a64035
Merge branch 'master' into develop
4 years ago
Roger A. Light
6fbdd71306
Broker id setting
...
This allows different brokers to share e.g. the same sql database and still have unique stored message ids.
4 years ago
Roger A. Light
2a056f14c2
Bump version number, update web.
4 years ago
Roger Light
cd07f1136b
Bump copyrights.
4 years ago
Roger A. Light
8ac11929cc
Merge branch 'master' into develop
4 years ago
Roger A. Light
292e969140
Bump version, update web.
4 years ago
Roger A. Light
46a6c5d17b
Fix mosquitto_plugin.h not including mosquitto_broker.h.
...
Closes #2350 . Thanks to Wolfgang Petroschka.
4 years ago
Roger A. Light
91e8344a3e
Windows build fixes.
4 years ago
Roger Light
9d3f292b39
Send DISCONNECT With session-takeover return code.
...
This is for MQTT v5 clients when a client connects with the same client id.
Closes #2340 . Thanks to hvxl.
4 years ago
Roger Light
4cb811a0b6
Add more basic auth rejection options for plugins.
4 years ago
Roger A. Light
799cdead15
Experimental custom websockets support.
4 years ago
Roger A. Light
a1a190b482
Pointless whitespace tidy.
4 years ago
Roger A. Light
0992bafcc8
Add MOSQ_ERR_PLUGIN_IGNORE.
4 years ago
Roger A. Light
2bfc7e7cc8
Do plugin callback unregistering automatically.
4 years ago
Roger A. Light
6763d94962
Add plugin version helper.
4 years ago
Roger A. Light
0f2f77c945
Improve idle / mux timeout performance.
4 years ago
Roger A. Light
8acee6647c
Add mosquitto_client_port() for plugins.
4 years ago
Roger A. Light
3413001d47
Add `mosquitto_plugin_set_info()`
...
This allows plugins to tell the broker their name and version.
4 years ago
Roger A. Light
aa29b45e70
Merge branch 'master' into develop
4 years ago
Roger A. Light
42acfdad41
Bump version, update web page.
4 years ago
Tobias Assarsson
2449dc006b
Add `mosquitto_set_clientid` function for security plugins.
...
Signed-off-by: Tobias Assarsson <tobias.assarsson@gmail.com>
4 years ago
Roger A. Light
49065f03a8
Merge remote-tracking branch 'origin/fixes' into develop
4 years ago
Roger A. Light
a02aad0a9c
Add mosquitto_sub_matches_acl_with_pattern.
4 years ago
Roger A. Light
e0309acebc
Add mosquitto_sub_matches_acl()
...
This moves the sub matching sub code from the dynsec plugin to the library and broker, and removes all of the malloc calls at the same time.
4 years ago
Roger A. Light
6502d6e5f4
Add mosquitto_topic_matches_sub_with_pattern()
...
And use it in the default security checks.
4 years ago
Roger A. Light
ea7e2a6bca
Bump version, add post.
4 years ago
Roger A. Light
86ebf1149e
Plugins using MOSQ_EVT_MESSAGE can reject based on quota.
4 years ago
Roger A. Light
214feb8f6b
Merge branch 'fixes' into develop
4 years ago
Roger A. Light
a01dcd68a5
Document that bind_address can be NULL.
4 years ago
Roger A. Light
0d3870585b
Plugin delayed authentication.
4 years ago
Roger Light
c317891df1
Clarify when callbacks get called.
4 years ago
Roger Light
ef7662ca8e
Merge branch 'master' into develop
4 years ago
Christian Beier
fe10226cc9
Fix building with Visual Studio 2008
...
This older Microsoft compiler does not support mixing declarations and
code and misses some error defines. This commit enables building with
VS2008 by moving up some variable declarations and defining error
codes to their WinSock counterparts in case they're not defined.
Signed-off-by: Christian Beier <info@christianbeier.net>
5 years ago
Roger A. Light
ea46a8188e
Add more documentation on pthread support.
5 years ago
Roger A. Light
e7aa0fed2f
Bump version, update web page.
5 years ago
Roger Light
4c60fad52b
Enforce receive maximum on MQTT v5.
5 years ago
Roger A. Light
bb73eed557
Bump version number and update web pages.
5 years ago
Roger A. Light
fd036b9435
Merge branch 'fixes' into develop
5 years ago
Roger Light
83334afee8
Remove redunant function delaration.
5 years ago
Roger A. Light
cec9d36445
Bump version and web pages.
5 years ago
Roger A. Light
3f84ad006d
Add `on_pre_connect()` callback.
...
This allows clients to update usernames/passwords/TLS parameters prior
to reconnecting.
5 years ago
Roger A. Light
7fe638786d
Fix mosquitto_evt_tick struct members.
5 years ago
Roger A. Light
c2a26250f6
Bump changelog, versions, and web pages.
5 years ago
Roger A. Light
53b7cc5fc1
Bump version number, add web post.
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
0087431bf4
Add MOSQ_EVT_CONNECT event.
...
This allows plugins to know when a client has successfully authenticated
to the broker.
Add connection-state example plugin to demonstrate MOSQ_EVT_CONNECT.
5 years ago
Roger A. Light
c9aa3ca847
Add MOSQ_OPT_DISABLE_SOCKETPAIR.
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
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
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
d02bc03ed8
Bump version, changelog and webpage.
5 years ago
Roger A. Light
cc47eaba09
Bump version number and update webpage.
5 years ago
Roger A. Light
66b680af34
Bump version number.
5 years ago
Roger A. Light
6904fac6a4
Bump version number and changelog.
5 years ago
Roger A. Light
6fe3279436
Build fixes from Windows changes.
5 years ago
Roger A. Light
26ffe1300a
Various Windows build fixes.
5 years ago
Roger A. Light
3731535298
Add SPDX license identifiers.
5 years ago
Roger A. Light
29c771cdd4
Add lib and client support for OS CA certs
...
- Add `MOSQ_OPT_TLS_USE_OS_CERTS` option, to instruct the client to load and trust OS provided CA certificates for use with TLS connections.
- All clients now load OS provided CA certificates if used with `-L
mqtts://...`, or if port is set to 8883 and no other CA certificates are
used. Closes #1824 .
- Add the `--tls-use-os-certs` option to all clients.
Closes #1824 . Thanks to Jens Reimann.
5 years ago
Roger A. Light
584cf51ba7
Update to EPL-2.0
5 years ago
Roger A. Light
c5fee09c24
Basic client disconnect event support for plugins.
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
4f61f6c161
Fix conversion errors.
5 years ago
Roger A. Light
267beb8a49
Export function on Windows.
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
Roger A. Light
be8b94189c
Document that X509_free() must be called after using mosquitto_client_certificate().
...
Closes #1842 . Thanks to Wolfgang Petroschka.
5 years ago
Roger A. Light
4472c1f441
Added support for controlling UNSUBSCRIBE calls in v5 plugin ACL checks.
5 years ago
Roger A. Light
a65f946e83
Move headers to own directory.
5 years ago