Roger A. Light
d8d24e76eb
Free plugin identifier on cleanup.
5 years ago
Roger A. Light
cf1c156765
New plugin interface
...
This is not specific to authentication, and allows plugins greater flexibility in what events they are interested in. It also adds message handling, and $CONTROL handling.
5 years ago
Roger A. Light
97bd527df0
Breaking: allow_anonymous defaults to false.
5 years ago
Roger A. Light
e54bac2a54
No need to pass separate username/password here.
5 years ago
Roger A. Light
73cc271d37
Allow auth plugin to see all logins, unless accepted by password file.
5 years ago
Roger A. Light
b0a065f790
Update changelog. Release page. Bump copyright.
6 years ago
Matevz Mihalic
0a5fbc403b
Fix plugin psk_key_get for v4
...
Signed-off-by: Matevz Mihalic <matevz.mihalic@gmail.com>
6 years ago
Roger A. Light
ad3b7ec778
Fix Coverity Scan 1400486-1400487. Unused values.
7 years ago
Roger A. Light
e4d0d52b01
Fix Coverity Scan 1400483-1400485.
...
Logically dead code.
7 years ago
Roger A. Light
2e7dcee342
Multistep auth, plus reauth, plus tests.
7 years ago
Roger A. Light
c1776a0b39
Add reauth parameter for extended auth.
7 years ago
Roger A. Light
0f6e51d582
Code and tests for returning single stage auth data back to client.
7 years ago
Roger A. Light
a29a7dadc6
Basic plugin support for single step extended auth.
7 years ago
Roger A. Light
320ddc1303
Merge branch 'master'
...
Conflicts:
CMakeLists.txt
ChangeLog.txt
client/Makefile
config.mk
installer/mosquitto.nsi
installer/mosquitto64.nsi
lib/mosquitto.h
lib/mqtt3_protocol.h
lib/util_mosq.c
set-version.sh
snap/snapcraft.yaml
src/bridge.c
src/database.c
src/handle_connack.c
src/loop.c
src/persist.c
test/broker/Makefile
7 years ago
Roger A. Light
2dd24449ad
Fix "unused parameter" warnings.
7 years ago
Roger A. Light
6a1ac70ee6
Disallow writing to $ topics where appropriate.
7 years ago
Roger A. Light
ce31269e05
Update changelog, bump version, bump copyright year.
7 years ago
Tobias Assarsson
cc96485330
Add missing parameters to internal mosquitto_acl_check
...
Signed-off-by: Tobias Assarsson <tobias.assarsson@gmail.com>
7 years ago
Roger A. Light
8bbb5887d0
[Broker] Fix auth plugin cleanup function not being called.
...
Closes #900 .
Thanks to Julian Zhao.
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
f4d238be18
Bump copyright years.
8 years ago
Roger A. Light
e273c2593e
Fix uninitialised variable.
8 years ago
Roger A. Light
a979ed6535
Per listener plugins.
8 years ago
Roger A. Light
fd7b08c0eb
Per listener psk_file.
8 years ago
Roger A. Light
57e852db05
Per listener password file.
8 years ago
Roger A. Light
8795f063d4
Add ability to deny access to SUBSCRIBE messages.
...
This is as well as the current read/write accesses. Currently for auth
plugins only.
8 years ago
Roger A. Light
e74203de2c
Merge branch 'master' into develop
8 years ago
Roger A. Light
cd17ca45cd
[462] Relax CVE-2017-7650 checks.
...
Checks for '/' are no longer made, this character is a much lower risk
and is widely used in usernames.
Bug: https://github.com/eclipse/mosquitto/issues/462
8 years ago
Roger A. Light
c3823c0a81
[462] Add auth_plugin_deny_special_chars option.
...
Auth plugins can be configured to disable the check for +# in
usernames/client ids with the auth_plugin_deny_special_chars option.
Thanks to wiebeytec.
Bug: https://github.com/eclipse/mosquitto/issues/462
8 years ago
Roger A. Light
bb61cd2dee
Fix merge error.
8 years ago
Roger A. Light
b61fefcf08
Merge branch 'master' into develop
8 years ago
Roger A. Light
9af3c6958f
Fix for CVE-2017-7650.
8 years ago
Roger A. Light
e4db6a760f
Backwards compatibility for auth plugins.
9 years ago
Roger A. Light
025e56fd4c
New mosquitto_auth_psk_key_get()
9 years ago
Roger A. Light
b3df015ea7
New mosquitto_unpwd_check().
9 years ago
Roger A. Light
63f46a999f
Add username accessor.
9 years ago
Roger A. Light
ccedc6d709
Moving towards new mosquitto_acl_check().
9 years ago
Roger A. Light
017db6706f
Rename mosquitto_broker.h -> mosquitto_broker_internal.h
9 years ago
Roger A. Light
8378fe44cf
Update copyrights.
9 years ago
Roger A. Light
56d0f74725
Defer support for TLS-PSK.
9 years ago
Roger A. Light
37dceb38f9
Fix some defects discovered by coverity.
10 years ago
Roger A. Light
4afe1a1502
Swap plugin+built in order.
10 years ago
Roger A. Light
300034f868
Initialise all plugins, not just the first.
10 years ago
Roger A. Light
e773ea1bee
[464543] Run default checks after plugins.
10 years ago
Roger A. Light
5c642c9cfd
[464543] Add defer support for plugins.
...
Partial fix for 464543.
10 years ago
Roger A. Light
21946ace6c
mosquitto__log_printf -> log__printf
11 years ago
Roger A. Light
b598aec385
Sys -> user includes.
11 years ago
Roger A. Light
11756d24c8
Change internal funcs _foo_bar() to foo__bar().
11 years ago
Roger A. Light
fb588ef434
Print dlerror on library loading errors.
11 years ago
Roger A. Light
0a86aee5fb
Authentication plugin acl_check function is passed local_username for local bridges.
11 years ago
Roger A. Light
070d783c9f
Merge 1.3.2-1.3.5 into 1.4.
11 years ago