edfdc577ffe7408fd6463eb9dba11260d380ab53 |
|
13-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Add client_vfuncs.input_next_cmd()
This allows plugins to hook into all the pre-login commands. For example
with imap-login most of the commands could already be hooked into, except
for ID and AUTHENTICATE because their parameters reading is handled
specially. This allows hooking into them as well.
This is actually internal to all the login binaries, so it wouldn't have to
be in login-common. However, login-common already has all the code to handle
overriding functions nicely and this is a rather useful feature for all the
protocols anyway, so it's easier this way and not too ugly. |
f42024ba93867e2424fafef878ed3c01914c6141 |
|
25-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
imap-login: Skip NIL value in ID handler
NIL value can cause hard crash, depending what
the key is. For x-proxy-ttl, NIL will crash
on any system, x-originating-ip will crash on
some nss versions (e.g. centos 6.7).
Migitating factor here is that the NIL value is only
accepted from trusted network. |