History log of /dovecot/src/login-common/login-common.h
Revision Date Author Comments Expand
4635b36b00117690bb7321e45535d45feec4b871 07-Nov-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

login-common: Call io_stream_ssl_global_init() early

a87eeb418cb3776380a1e1ffa8a9127e2b181ff0 10-Apr-2017 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Move code to login_anvil_init() Calling this allows plugins that need to talk to anvil make sure they have an anvil connection even if mail_max_userip_connections=0.

ce1a6c9b82117d253df9acd77e54ac84dd8a247e 10-Oct-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Store user_* passdb fields to client->alt_usernames.

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.

fa68ab23880118e31ba3acb75e342c6597e11a6a 15-Jan-2016 Timo Sirainen <timo.sirainen@dovecot.fi>

*-login: Changed -D parameter to mean a more generic login_debug option.

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.

/dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/passdb-imap.c /dovecot/src/config/config-request.c /dovecot/src/director/director-connection.c /dovecot/src/director/director-host.c /dovecot/src/director/director-host.h /dovecot/src/director/director-settings.c /dovecot/src/director/director-settings.h /dovecot/src/director/director-test.c /dovecot/src/director/director.c /dovecot/src/director/director.h /dovecot/src/director/doveadm-connection.c /dovecot/src/director/login-connection.c /dovecot/src/director/main.c /dovecot/src/doveadm/client-connection.h /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-settings.c /dovecot/src/doveadm/doveadm-settings.h /dovecot/src/doveadm/doveadm-util.c /dovecot/src/doveadm/doveadm-util.h /dovecot/src/doveadm/doveadm-zlib.c /dovecot/src/doveadm/server-connection.c /dovecot/src/imap-hibernate/imap-client.h /dovecot/src/imap-hibernate/imap-hibernate-client.c /dovecot/src/imap-login/client.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.h /dovecot/src/imap/imap-client-hibernate.c /dovecot/src/imap/imap-master-client.c /dovecot/src/imap/imap-settings.c /dovecot/src/imap/imap-settings.h /dovecot/src/lib-auth/auth-client.h /dovecot/src/lib-auth/auth-master.h /dovecot/src/lib-dict/dict-memcached-ascii.c /dovecot/src/lib-dict/dict-memcached.c /dovecot/src/lib-dict/dict-redis.c /dovecot/src/lib-http/http-client-connection.c /dovecot/src/lib-http/http-server-connection.c /dovecot/src/lib-http/test-http-server.c /dovecot/src/lib-imap-client/imapc-client.h /dovecot/src/lib-imap-urlauth/imap-urlauth-private.h /dovecot/src/lib-imap-urlauth/imap-urlauth.h /dovecot/src/lib-lda/lmtp-client.c /dovecot/src/lib-lda/lmtp-client.h /dovecot/src/lib-lda/smtp-client.c /dovecot/src/lib-master/master-service-haproxy.c /dovecot/src/lib-master/master-service.h /dovecot/src/lib-master/service-settings.h /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-settings/settings-parser.h /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-storage/index/imapc/imapc-settings.c /dovecot/src/lib-storage/index/imapc/imapc-settings.h /dovecot/src/lib-storage/index/pop3c/pop3c-client.h /dovecot/src/lib-storage/index/pop3c/pop3c-settings.c /dovecot/src/lib-storage/index/pop3c/pop3c-settings.h /dovecot/src/lib-storage/mail-storage-service.h /dovecot/src/lib/connection.c /dovecot/src/lib/connection.h /dovecot/src/lib/fd-close-on-exec.c /dovecot/src/lib/iostream-rawlog.c /dovecot/src/lib/net.c /dovecot/src/lib/net.h /dovecot/src/lib/uri-util.c /dovecot/src/lmtp/client.h /dovecot/src/lmtp/commands.c /dovecot/src/lmtp/lmtp-proxy.h client-common-auth.c client-common.h login-common.h login-proxy-state.c login-proxy-state.h login-proxy.c login-proxy.h /dovecot/src/master/master-settings.c /dovecot/src/master/service-listen.c /dovecot/src/master/service.c /dovecot/src/pop3-login/client.c /dovecot/src/replication/aggregator/aggregator-settings.c /dovecot/src/replication/aggregator/aggregator-settings.h /dovecot/src/replication/aggregator/replicator-connection.c /dovecot/src/replication/aggregator/replicator-connection.h
c51644e9e04effbbc9c415cadcfbcb4d9465855c 16-Jun-2014 Timo Sirainen <tss@iki.fi>

login proxy: Added login_source_ips setting. The setting contains a list of IPs/hosts. The setting may be prefixed with "?" character to indicate that only those IPs should be used that exist in the current server (allowing the same config to be shared by multiple servers). The IPs are used round robin as the source IP address when proxy creates TCP connections. This becomes useful when there are a ton of connections from the proxy to the same destination IP, because TCP ports run out after ~64k connections.

46ec5983bf4519ea42dbfcae3d7c62be0d8ef95f 14-Sep-2012 Timo Sirainen <tss@iki.fi>

Use "tokenlogin" socket name (instead of "token-login") after all. Auth code has special checks for '-', which breaks "token-login" and fixing it is rather annoying.

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.

/dovecot/src/auth/Makefile.am /dovecot/src/auth/auth-client-connection.c /dovecot/src/auth/auth-client-connection.h /dovecot/src/auth/auth-master-connection.c /dovecot/src/auth/auth-request-handler.c /dovecot/src/auth/auth-request-handler.h /dovecot/src/auth/auth-request.c /dovecot/src/auth/auth-request.h /dovecot/src/auth/auth-settings.c /dovecot/src/auth/auth-token.c /dovecot/src/auth/auth-token.h /dovecot/src/auth/main.c /dovecot/src/auth/mech-dovecot-token.c /dovecot/src/auth/mech.h /dovecot/src/imap/main.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-login-auth.h /dovecot/src/lib-master/master-login.c /dovecot/src/lib-master/master-login.h /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-user.h client-common-auth.c client-common.c login-common.h main.c /dovecot/src/master/master-settings.c
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.

afa4eb0295500d983e20484584d3e87a4651276c 23-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Use AUTH_REQUEST_FLAG_SUPPORT_FINAL_RESP if protocol supports it.

2aac7ca853f63b62ea79ef8eae9ded83ed6063a5 18-Nov-2011 Timo Sirainen <tss@iki.fi>

login: Minor potential authentication fix when service_count>1

baebb412a9a5a44b1756e01cfa3b99f5d8a846b6 21-Sep-2011 Timo Sirainen <tss@iki.fi>

login: Added -R <dir> parameter to write pre-login rawlogs to given directory.

5a250816ffc4cc5db203f9410ea99b6601c7b91a 30-Apr-2011 Timo Sirainen <tss@iki.fi>

login-common API redesign so that the library doesn't refer to nonexistent variables.

7839797af86d5536124c67f09ede30df08cf678a 14-Apr-2010 Timo Sirainen <tss@iki.fi>

login: Keep binary-specific defaults in a struct. --HG-- branch : HEAD

2e2a1d720ed53490e8e5c5031e773d395bd5683d 14-Apr-2010 Timo Sirainen <tss@iki.fi>

login: If proxy returns ssl=yes and no port, switch port to imaps/pop3s. --HG-- branch : HEAD

5d2e7ec2ea725c8a6a63f56b771e746f93e782ec 19-Feb-2010 Timo Sirainen <tss@iki.fi>

*-login: Disconnect from auth server after idling for a minute. --HG-- branch : HEAD

46552a931924c2d743f045e95b08c3ce6beda91a 02-Jan-2010 Timo Sirainen <tss@iki.fi>

login-common: Renamed common.h to login-common.h --HG-- branch : HEAD