bf5315c55718a62516e331e2696354976b4211e9 |
|
04-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
auth: client protocol: Record minor version for authentication client connection. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
ab90f702ceedb7ba445a9a592be0b213b27cbafa |
|
14-Sep-2012 |
Stephan Bosch <stephan@rename-it.nl> |
Added support to perform token-based service process authentication.
Creates hidden SASL method DOVECOT-TOKEN. This method is not available on
the normal auth login socket and thus never presented to clients.
Creates new auth socket type 'tokenlogin'. This otherwise normal login
socket only offers authentication using the DOVECOT-TOKEN mechanism.
Creates new token-login directory in base_dir to separate token logins from
normal logins. This directory is otherwise completely identical to the
normal login dir, i.e. it contains sockets for the service backends, used
to chroot login processes to, etc.
Makes default login socket configurable.
Performs some minor changes to src/login-common to build very sparse
protocols, e.g. avoid the need to implement methods that are not needed. |
e2a88d59c0d47d63ce1ad5b1fd95e487124a3fd4 |
|
24-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Added o_stream_nsend*() and related functions to make delayed error handling safer.
Once o_stream_nsend*() is called, o_stream_nfinish() must be called before
stream is destroyed to finish checking if there were any errors. If
something failed and the stream is just wanted to be closed,
o_stream_ignore_last_errors() can be called.
For streams where errors don't really make any difference (network sockets)
you can call o_stream_set_no_error_handling() immediately after creating the
stream. |
29d4c6eac14a0b3d79656eb6b206a102fd09d24a |
|
09-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
auth: Use linked list instead of array for storing list of auth connections.
With arrays the removal was slower than necessary. |
daa7e7459749ae8f82cd3eed9c44522d81c609a3 |
|
12-May-2010 |
Timo Sirainen <tss@iki.fi> |
auth: Separate auth and login connections. Non-login requests are freed immediately after auth finished.
The login connections are used by Dovecot internally, while the auth
connections are for SMTP AUTH etc.
--HG--
branch : HEAD |
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Redesigned how login process passes connections to mail processes and changed related APIs.
Master process is no longer in the middle.
--HG--
branch : HEAD |
419baa2c17c63ae516b2df6cc5695f15aaccbff8 |
|
15-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
auth: Identify clients using a 128bit random cookie on top of the existing PID.
When master is finishing the login, it must give this cookie to REQUEST
command and it must match what auth process knows. This change makes it safe
to do client/master login without a dedicated master process.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
d5cebe7f98e63d4e2822863ef2faa4971e8b3a5d |
|
14-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
deinit, unref, destroy, close, free, etc. functions now take a pointer to
their data pointer, and set it to NULL. This makes double-frees less likely
to cause security holes.
--HG--
branch : HEAD |
ad49932dae8ba31e07544b66bbc4f4de707a751c |
|
19-Apr-2005 |
Timo Sirainen <tss@iki.fi> |
Allow multiple master connections for a single listener.
--HG--
branch : HEAD |
657afb33796f8216c568ad813627da89970760be |
|
09-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Moving code around.
--HG--
branch : HEAD |
92263d948dada5845fce527ce34e4a39a0d719a8 |
|
08-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Removed SERVICE command. It's quite useless extra state to keep around.
--HG--
branch : HEAD |
97c339398f1aba6f315b55a9b6ee6b020e33bea4 |
|
07-Jan-2005 |
Timo Sirainen <tss@iki.fi> |
Reorganized the code to have less global/static variables.
--HG--
branch : HEAD |
87cc5e9025e7fb6408f0de64c48d2d2897773ba5 |
|
19-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
s/protocol/service/ in authentication
--HG--
branch : HEAD |
2fc7292a8c0f11e71b001c60797f5791f3b3cd7c |
|
19-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
If auth client sends broken input and we disconnect it, wait for a while
before disconnecting to avoid flooding.
--HG--
branch : HEAD |
b0df0e9a8ed8889ad4bf032043ab245ce8851fde |
|
19-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Added VERSION command and checking to authentication protocol.
--HG--
branch : HEAD |
73bfdbe28c2ce6d143eadf0bab8ccfbe4cab0fae |
|
13-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Changed dovecot-auth protocol to ASCII based. Should be easier now to write
replacement server if needed by someone. Also cleaned up/made more
consistent auth code. The new code could still use some cleaning though..
--HG--
branch : HEAD |
8eea67470c1bd8562a62e7445d930bb2079b1a43 |
|
03-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Added APOP authentication for POP3. Patch by Andrey Panin.
This required some changes in auth APIs.
--HG--
branch : HEAD |
2a90d8a14b0e7cc1508814bc87d3dfa598ef46a8 |
|
22-Aug-2003 |
Timo Sirainen <tss@iki.fi> |
Moved client side code for auth process handling to lib-auth. Some other login process cleanups.
--HG--
branch : HEAD |