3609e0b9b8fcd1a183a785af690cdcad33c345aa |
|
28-Dec-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
login-common: Indicate TLS encryption if haproxy says it was |
9666d130b63653a5a6d5d2f38ca2df72a5f3f7a7 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
login-common: Added flag to client that indicates whether connection is secured using SSL specifically. |
dfafc4ac89195b8cdd48afa619599d5b392ef479 |
|
11-Dec-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
login-common: Added client_disconnect(), which allows explicitly disconnecting the client before it is destroyed.
This is sometimes needed to make sure the SSL layer is closed properly before destroying the underlying connection. |
a1852ab4cf0a942a3fcf4ca5636a7932ebcc7970 |
|
11-Dec-2017 |
Stephan Bosch <stephan@rename-it.nl> |
login-common: Added support for login services that handle their own input io. |
feb8f7b9490ddef989094ee21d7d1a222ccc4cb2 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Use lib-ssl-iostream for incoming SSL/TLS connections |
0256180043b9f55b606b523b775e8b23b1b12f83 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Change process title to show different connection types
Separate pre-login connections, proxy connections and post-login TLS
proxies. |
a7efba62b6235e5efc124cbf702ddeb547ca3665 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Destroy all fd proxies at deinit. |
87dbf3e85526ccde5908a611eb9a798f1d0ccac3 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Implement post-login proxying and use it with SSL connections
Note: This temporarily breaks the SSL connections a bit. If post-login
process disconnects the client, it's not noticed by the login process.
Client connections are noticed by the post-login though. |
be6e55ff7c81afdc7ed9b47c6021a4f7827e4407 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: client_alloc() - remove unnecessary ssl parameter |
b1485f2691de41ed7b5f96cebda2ebcb69a5e22f |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Extract SSL/TLS initialization into client_init_ssl() |
66ea9eaaa2d7531b3be8f633937628c94d907031 |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Split client_create() to client_alloc() and client_init()
client_unref() can be used to free an allocated client that hasn't been
fully created. |
86bca14f79caeff0830abd2315d8a0e5db4b979b |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Move code in client_destroy_internal_failure() to its only caller
No need to have a function that has only a single caller. |
1a1159e589def1e32b7dc25397f15146672ef73e |
|
07-Nov-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
login-common: Avoid using client_destroy_success() when mail_max_userip_connections is reached
This was currently the only way how data != NULL here.
This change destroys ssl_proxy on client_destroy() instead of
client_unref(), but that doesn't make much of a practical difference. This
new behavior is a bit more correct though. |
b6fbc235f981b10333403e2fd6d333fd351c7a3c |
|
16-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
login-common: Use HAproxy provided proxy.ssl information
If the connection is proxied via system that can terminate
ssl for us, such as HAproxy, use that information only. |
ec9429535e925610513bd6bfde6729e273082ccb |
|
05-Sep-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Cache director_username_hash between KICK-DIRECTOR-HASH commands
This should make the kicking much faster, which is important when director
is moving thousands of users. |
b84eff65e25ae86dfd6f798386577209b94838c6 |
|
16-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Add client_vfuncs.free() that is called when client refcount=0
This can be useful for plugins that want to run something after proxying
ends.
Use an empty default function so plugins can call super.free() without
having to check if it's NULL. |
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. |
ae797f3368ebb86e7786ca25d7c9c703f672b9f5 |
|
21-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Add client_vfuncs.send_raw_data()
This allows login plugins to hook into seeing all the data that is sent to
the imap/pop3 client. |
56af9dd10e7e6caeaca64395bad3f882b28ecdff |
|
06-Apr-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Minor logging cleanup if client is disconnected before sending banner.
Avoid unnecessarily adding "(no auth attempts in 0 secs)" when the reason
string already makes it clear that the user didn't even have a chance to
authenticate.
This kind of disconnection currently happens only with some plugins. |
c4ec7cb598805b1387dc3aab59ec8f32d8cc24e1 |
|
24-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap-login: Move forward_fields updating code to login-common
This allows using the new client_add_forward_field() in e.g. plugins. |
53f97800b16ab3a8d263c5331132dec1e8fea9a0 |
|
19-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
auth: Accept forward_fields from auth client |
2f7c73483ff5474a74a83a646f82e1b60f687680 |
|
19-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
imap-login: Retain ID request without dovecot specials |
a8dac1be6a0c3adbbce5887ca395f418194c6c06 |
|
19-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
auth: Accept client_id from auth client
Client ID contains the ID client request string
for IMAP. |
b045b66988bfbaa2795791e42ee724fae6f0db1c |
|
19-Mar-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
login-common: Add preproxy pool
preproxy pool can be used to do allocations that are released
once proxying starts. |
c5e62353a11087958ea4e619660e084a613e1a37 |
|
16-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Change API for how login_plugins hook into client allocation.
The previous API worked badly when there were more than one plugin.
The current behavior works similarly to how mail_plugins work. |
a8d3f2d03d260b55064d3be868bc06b025d6c9d3 |
|
09-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Remove unused client.proxy_state |
2b96880f2d789d125aff6a95eaa7b51f558a6a1c |
|
09-Mar-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Add client.proxy_get_state() for providing human-readable proxy state
If not implemented, it defaults to the old method of returning proxy_state
number. |
8ac6623677005256bf99ab33a2ed98c69c1d656c |
|
02-Nov-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
auth,login-common: Added result code for invalid base64-encoded response data. |
04eb0abcf8f8b0c014499b5c5bae89484553613f |
|
02-Nov-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
login-common: Added result codes for mechanism-related failures. |
f32d0295c90ed810889504cdfa5e1a25a415f65f |
|
02-Nov-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
login-common: Added result code for a nologin code from the auth service. |
529944a3554da75c2e6231a25fe489d815519b22 |
|
02-Nov-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
login-common: Added result code for password-expired authentication failure. |
36b072d84a9076c3c483bf710444a716e987ccc3 |
|
02-Nov-2016 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
auth: Added a code= field to the auth FAIL response that replaces the "authz", "temp", "pass_expired", and "user_disabled" fields. |
6d24551e169c0808695db35d7a228f1970a84c75 |
|
01-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
imap/pop3 proxy: If passdb returns proxy_not_trusted, don't send ID/XCLIENT
This allows using Dovecot proxying feature towards less trusted servers. |
fe791e96fdf796f7d8997ee0515b163dc5eddd72 |
|
20-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
auth: Pass local_name to auth-request
This allows using local_name in various places,
such as passdb/userdb queries. |
ce1a6c9b82117d253df9acd77e54ac84dd8a247e |
|
10-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Store user_* passdb fields to client->alt_usernames. |
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] |
fd3d068169c6ec587c9c446f2ee45560a444334a |
|
27-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Add all returned passdb fields to struct client_auth_reply.all_fields
These will be mainly useful to plugins. |
9132f9df4e12ed5293c70957813aa3736444a13c |
|
15-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
*-login: Allow plugins to hook into client allocation and add module-specific contexts to client. |
8ce3071e80b9973230048ecadfcb073fb82cc69f |
|
17-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
*-login: Added postlogin_socket=path passdb extra field.
By default e.g. "imap" or "pop3" is the post-login socket, but this can
override it. This could be used for example for per-user debugging (e.g.
setting executable to be run via strace or valgrind). |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
2dfd08e8aa16dfcc975d8a62bc8d20b2ef849d71 |
|
28-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
*-login: Added %{passdb:*} fields to login_log_format_elements |
c12d96f12cac9af464ab2e59046bd59b0c06b4ea |
|
25-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
login_log_format_elements: Added %{listener} variable to expand to the listener socket name. |
a05fec120ecd8c4ed6331c42100cba42adf22893 |
|
15-Jun-2015 |
Stephan Bosch <stephan@rename-it.nl> |
lmtp, *-login: Use ip/port values from struct master_service_connection instead of from the socket.
This way, a proxy protocol like HAProxy can transparently override these
addresses with what is seen by the proxy. |
82fb1ead38f4e1197993adb2f9c12e26531e9c92 |
|
30-Oct-2014 |
Timo Sirainen <tss@iki.fi> |
*-login: And actually make the previous changes work. |
d694a52bce62c52080c3f87a56dcf77030fd2712 |
|
16-Jun-2014 |
Timo Sirainen <tss@iki.fi> |
login proxy: If passdb returns "source_ip" extra field, use it for outgoing connections. |
2f90189c6ee66a17f7bf838a8eb8a69868630fb8 |
|
14-Jan-2014 |
Timo Sirainen <tss@iki.fi> |
auth, login, mail: Added %{auth_user}, %{auth_username} and %{auth_domain}
They expand to the SASL authentication ID. So if master user login is done,
it expands to the master user. If username changes during authentication, it
expands to the original username. Otherwise %{user} and %{auth_user} are
equal. |
ab281fc992907b6cf6c730f672dc3aa4c6685015 |
|
23-Dec-2013 |
Timo Sirainen <tss@iki.fi> |
imap proxy: Added proxy_nopipelining passdb setting to work around other servers' bugs. |
c7eb1ffb7c73cb5d9c1316bbecd02947441a40d4 |
|
22-Sep-2013 |
Timo Sirainen <tss@iki.fi> |
*-login: Added %{orig_user}, %{orig_username} and %{orig_domain} variables.
The original username is what the client sent to server before any
translations. |
de754cb78f75e8b3b994cddafe41c9ed1467c33d |
|
26-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
lib-sasl: Use dsasl_ prefix so we don't conflict with Cyrus SASL library. |
1093de32efb2a231949566d4bd8aa55a8f43fb70 |
|
09-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
imap/pop3-login: Use libsasl for authenticating to remote IMAP/POP3 server.
Also passdb lookup can return "proxy_mech" extra field to specify which SASL
mechanism to use. |
325d17cdbb7a338f7c413788f5e8e42d2e80a7f8 |
|
22-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
auth: Added real_[lr]ip, real_[lr]port variables.
The unreal ones differ when a trusted proxy overrides them. |
da62041ae41e58c9e3ef91bd46c15484390c8247 |
|
18-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
login_log_format_elements: Added %{real_rip} variable.
It differs from %r when Dovecot proxy sends an updated client IP address.
Patch by Jack Bates. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
f29756821a4c6b12b73e4a2a3e1c230117a43773 |
|
28-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
Moved ssl_* settings from login-common to lib-master.
This allows creating other SSL servers more easily. |
6a9e034441607c0c5a61858ff559af4615ac31ca |
|
17-Jul-2012 |
Timo Sirainen <tss@iki.fi> |
login: Don't allow STARTTLS if ssl=no in client's settings, even if ssl=yes globally. |
b66d803de86bfb411165b3465b0d9ef64ecfe2a1 |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Avoid using (void)s by adding ATTR_NOWARN_UNUSED_RESULT attributes and other ways. |
ca843e046e98b12f4730f4b87ee2e1a659c26e78 |
|
16-May-2012 |
Timo Sirainen <tss@iki.fi> |
login: If user is disabled or password expired, say it in logout reason. |
e7dd5065d21c569e5e6ddd713bd345dadd1cf51d |
|
25-Apr-2012 |
Timo Sirainen <tss@iki.fi> |
SSL proxying: Remote's host never matched cert, because auth process changed it to IP.
Now the "host" parameter isn't changed, but a new optional "hostip"
parameter contains the IP address where to connect to. |
b55f914c0ade77252cfd798ea8eb9a84bda56315 |
|
07-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
Added a "session ID" string for imap/pop3 connections, available in %{session} variable.
The session ID passes through Dovecot IMAP/POP3 proxying to backend server.
The same session ID is can be reused after a long time (currently a bit
under 9 years). |
7a94f950fd1dcc81537acfc8adb030b5e703d722 |
|
01-Mar-2012 |
Timo Sirainen <tss@iki.fi> |
login: If session timeouts after authentication, log a better error about it. |
ddbdc644a15f56f4b43596f1b8c0fc196c101445 |
|
25-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
imap/pop3/lmtp proxy: Implemented detection of proxy loops with TTL.
If proxying tries to continue after 5 forward connections, it fails. The
limit of 5 is hard coded currently. |
12c6ef6f1268ed4d5b63709bb4215c481b4f078c |
|
25-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
login-common: Code cleanup |
717bb0dbaf4bd3f745669570647845e6d493bfe0 |
|
15-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
login: If auth client disconnects without having ever succeeded, destroy clients. |
9f627b360ed38fdc54cb02ec5e67246c3f0d5b0f |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
login-common API made more extensible for different kinds of protocols.
Patch by Stephan Bosch. |
80980955bb1bbcc1bd73623fe0912f334194ddd2 |
|
27-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
login proxy: If remote auth fails, say so in disconnect message instead of "internal failure". |
7fa573e6ea36024f618492e7d3649a69c1b41028 |
|
22-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
login: Make SASL auth buffer size define public. |
decb23442f9e6cd5c4845a9cb162029b8c6d5f0f |
|
19-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
imap-login: Handle SASL-IR without overflowing master_auth_request's buffer. |
b9c76fe9d9ca194816606342da1ddbd9be6bc8ab |
|
12-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
login: Added logging if auth process doesn't respond fast enough for greeting. |
60216d65b8657b172adc9e8f95bf243f74c4177f |
|
03-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
imap-login: LOGIN_MAX_INBUF_SIZE was too small, because of SASL-IR extension |
aebfda1f6e3a924c31e8f54237b81fabf4b2264c |
|
24-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login: Save final SASL reply to client struct. |
6998ca95b4947c90647ac5d4794ebd6311acada2 |
|
19-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login: Log a different disconnect message if client didn't finish SASL auth. |
7c849dbc7be089175c1a83a84ee7249ed695810d |
|
18-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login: Differentiate between auth failure and auth process communication failure.
Log a warning if auth connection dies. |
28dae6a0064e79f86da091625b0f2b92336a2a91 |
|
16-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login: Improved auth failed log messages. |
843640f0ca224bb9999acb290bca5f76037ab984 |
|
08-Nov-2011 |
Timo Sirainen <tss@iki.fi> |
login: If login fails for some reason, but auth was successful, don't log "auth failed".
For example if proxy fails to connect to remote server. |
93c3674da4dc3d179abdf01b4a0d986d89397325 |
|
25-Oct-2011 |
Timo Sirainen <tss@iki.fi> |
login: When renegotiating SSL handshake, don't reread settings when TLS SNI is used. |
5a250816ffc4cc5db203f9410ea99b6601c7b91a |
|
30-Apr-2011 |
Timo Sirainen <tss@iki.fi> |
login-common API redesign so that the library doesn't refer to nonexistent variables. |
38cb3d139aefb7c65919cf4aba5ded7b5fd50e6f |
|
28-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
login: If master login fails, tell auth process to free the auth request. |
3612ee5c737954d5fb88fd1775aad80f7bf1dc4e |
|
12-Aug-2010 |
Timo Sirainen <tss@iki.fi> |
login proxy: Show proxy state in "disconnected" error message. |
6303191abcb37164f435ccdc56e9dbddf1288851 |
|
19-May-2010 |
Timo Sirainen <tss@iki.fi> |
login proxy: If passdb returns proxy_refresh=<secs>, send username to proxy-notify fifo every n secs.
--HG--
branch : HEAD |
d99107ddf4d9bccb710994482daf65276a9d6321 |
|
04-May-2010 |
Timo Sirainen <tss@iki.fi> |
auth/login related timeouts are now in one place and they make more sense.
Most importantly now auth client doesn't abort lookup before server does.
--HG--
branch : HEAD |
5a9e240ebf8d0daaf029973973b52e415148070b |
|
08-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
login: Always disconnect clients after 3 minutes if they haven't logged in.
--HG--
branch : HEAD |
660b99a7059824676b2b8d6f79b8e15d47df25a2 |
|
10-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Removed per-connection auth failure penalties. Trust auth server to do it.
--HG--
branch : HEAD |
f059a046515f4b2b15a6c2a10a6f12f6166e39a5 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
imap-login: If imap_capability is set, use it.
--HG--
branch : HEAD |
9137c55411aa39d41c1e705ddc34d5bd26c65021 |
|
07-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-auth: Changed API to connect to only a single specified auth socket.
Login processes now always connect to socket called "auth".
--HG--
branch : HEAD |
3ffb7fd86484c474b42f3f1e981ab0f7168b5df9 |
|
05-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Log more precise reasons for some auth failures.
--HG--
branch : HEAD |
ec23e16ed879e289d12c6e1a5f9745dd3979004a |
|
11-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Fixes to SSL/login proxy connection counting.
--HG--
branch : HEAD |
a75907609d7c410c9e17beedfafbf28b4439fa8a |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Allow auth input to be larger than the rest of the input.
--HG--
branch : HEAD |
46ec792dd4ccf6c34706c4774228301fafde6aa9 |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Allow backend to parse SASL responses from client (for managesieve).
--HG--
branch : HEAD |
2598b2f36365b52d9754b9348a5be29569293e46 |
|
13-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
login proxy: Added client_proxy passdb extra field to specify proxy's connect timeout.
--HG--
branch : HEAD |
4c6ddf2491104f917d00e6900e833e80ea02c7b6 |
|
12-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Abstract out SASL continue reply sending (for managesieve).
--HG--
branch : HEAD |
e248fe370c4047cee921a91b48edc37944ab0526 |
|
10-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Moved most of the common code to login-common.
--HG--
branch : HEAD |
00fa8dcbc66f56daa737487c9dec7166c37de79e |
|
09-Aug-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Use a common client_send_line() API.
--HG--
branch : HEAD |
bbba7d0fce1b6ce5baa2d7ef946eb1b63e2ab518 |
|
28-May-2009 |
Timo Sirainen <tss@iki.fi> |
imap-login now advertises only pre-login capabilities.
If client had used CAPABILITY command before logging in, untagged CAPABILITY
is sent to client in the hope that client understands this. This change
could get reverted if it breaks too many clients.
--HG--
branch : HEAD |
97db4761382024093f441e4bc78ba8b6a056504d |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
login processes: Added initial support for per-connection configuration.
--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 |
8372fc7efb6d64dff2e5f55fb4a3822c56869cfe |
|
21-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
imap/pop3-login: Cleaned up proxying code. Don't disconnect client on proxy failures.
Log proxy failures as errors.
--HG--
branch : HEAD |
38318f5e82662615cd88e99e398efe4a630ce020 |
|
19-Oct-2008 |
Timo Sirainen <tss@iki.fi> |
Login process: Log auth failure reasons better in disconnect message.
For example if client certs are required it now logs if the cert wasn't sent
or if the cert was invalid.
--HG--
branch : HEAD |
087939d3fa9c4056419386c9d6c81f147de534cd |
|
13-Aug-2008 |
Timo Sirainen <tss@iki.fi> |
Pass the created mail process PID back to login process so it can log it.
Added %e log format element for it.
--HG--
branch : HEAD |
8dec1377c7cf33823da5d8f831d10cb82333bc8b |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Just send CAPABILITY response code for all LOGIN/AUTHENTICATE commands.
Simplifies things and Lemonade spec specifies it as a "MUST be sent" anyway.
--HG--
branch : HEAD |
7753eaa6a4275e074b4ce8428b85d9d04fc67f31 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Send login command OK reply in IMAP/POP3 process.
--HG--
branch : HEAD |
cd94aeaa294f7cc507206b4b2075852f00e14d61 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
If commands are pipelined after the login command, pass them to the
IMAP/POP3 process so it can process the command instead of discarding it.
--HG--
branch : HEAD |
89795c6bbbc52bb382e88bc8617d22092223e9a5 |
|
21-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Support transferring original IPs and ports through IMAP proxies.
Clients from login_trusted_networks are allowed to override them. Dovecot's
IMAP proxy sends them via IMAP ID command. They're always sent if the remote
advertises ID in the banner's CAPABILITY.
--HG--
branch : HEAD |
68a4946b12583b88fa802e52ebee45cd96056772 |
|
20-Jun-2008 |
Timo Sirainen <tss@iki.fi> |
Added more consts, ATTR_CONSTs and ATTR_PUREs.
--HG--
branch : HEAD |
caea325346da6fb1cf503b35a619467a997acbfa |
|
06-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Added clients_init() and clients_deinit() back (for Managesieve).
--HG--
branch : HEAD |
ad004e44be109684521494b5af2ad1da39b8bb27 |
|
04-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Forgot from imap/pop3-login clients hash -> linked list commit.
--HG--
branch : HEAD |
02ccba3d3be96444abd15b5254864c9151bbeb30 |
|
11-Dec-2007 |
Timo Sirainen <tss@iki.fi> |
Instead of logging only "Aborted login", log also if client tried to use
plaintext auth, or if not log the number of authentication attempts.
--HG--
branch : HEAD |
6a3487123ea51203c01b99af3e309a07d3444a0f |
|
18-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
Disable processing input while it's not expected, otherwise we could get
there and crash while master is processing the login. Also allow client to
send the SASL data within the same IP packet as the AUTH/AUTHENTICATE
command without hanging.
--HG--
branch : HEAD |
c25356d5978632df6203437e1953bcb29e0c736f |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Changed .h ifdef/defines to use <NAME>_H format.
--HG--
branch : HEAD |
12cf3d0e03fc70fb0c8b91bc8fd83b4e14d7cdef |
|
03-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added %a=local port and %b=remote port variables for
login_log_format_elements.
--HG--
branch : HEAD |
feb665db52583259a1f42037c6e8a22852aa8889 |
|
07-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Crashfixes and more asserts. Mostly related to use of AUTHENTICATE/AUTH
commands.
--HG--
branch : HEAD |
71f1783adc89b4fe3588c72b23e059b320da8fad |
|
10-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Fixes for handling near-full connection queues.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
9439bed2f07d6475febd8a247cd2f0990fb32a13 |
|
14-May-2005 |
Timo Sirainen <tss@iki.fi> |
Added configurable logging for login process. Added configurable pop3 logout
string. Based on a patch by Andrey Panin.
--HG--
branch : HEAD |
c49a19168dab6fda80aee16ad799a8a56d3bc18f |
|
11-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Login process cleanups. Share more authentication code between pop3/imap.
--HG--
branch : HEAD |
64e244defe74f513ce94f33d000a048ddbe2ea23 |
|
31-May-2004 |
Timo Sirainen <tss@iki.fi> |
Added %l, %r and %P variables and mail_log_prefix setting.
--HG--
branch : HEAD |
8222ce68120b51353a3b31d3073b5f845d0e9f53 |
|
17-May-2004 |
Timo Sirainen <tss@iki.fi> |
Added ssl_require_client_cert auth-specific setting. Hide
ssl_verify_client_cert from default config file as it's automatically set if
needed and there's not much point in forcing it.
--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 |
210a55c1e7183def859be97976859f5a24d3483c |
|
04-Mar-2003 |
Timo Sirainen <tss@iki.fi> |
login: Wait until we're connected to auth process before executing command
from client.
inetd usage: --group=name can now specify which login group to use. Default
is the binary name before '-' character (ie. imap or pop3).
--HG--
branch : HEAD |
bf72c930996df0691932fb1143f360d260f27a06 |
|
01-Feb-2003 |
Timo Sirainen <tss@iki.fi> |
Moved more auth code to login-common.
--HG--
branch : HEAD |
c0a708fa3f7b8f4fbca32052da5faf7a0125189d |
|
28-Jan-2003 |
Timo Sirainen <tss@iki.fi> |
Moved common login process code to login-common, created pop3-login.
--HG--
branch : HEAD |