0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-04 22:58:52 +02:00
construct/ircd
Simon Arlott 762468f85d
authd: wait until the ssl connection is "open" before reading
It's useful to allow authd to run in parallel with ssl negotiation,
but if the ssld connection has plaintext data ready for reading
there's a race condition between authd calling read_packet() and
ssl_process_certfp() storing the certificate fingerprint. This
scenario would be bad for a server connecting because fingerprint
verification will fail.

Allow either operation to complete first, but wait until
ssl_process_open_fd() calls the ssl open callback before calling
read_packet().
2016-04-25 21:43:21 +01:00
..
authproc.c authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
bandbi.c ircd: start staging for relocatable paths 2016-03-24 18:45:28 -05:00
cache.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
capability.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
channel.c ipv4_from_ipv6: move to librb 2016-04-08 03:49:23 -05:00
chmode.c chmode: Move check_forward() to a boolean 2016-03-24 14:42:54 -04:00
class.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
client.c ircd: do nothing in client_release_connids if !MyConnect 2016-04-23 23:25:25 +01:00
dns.c dns: don't use zero ID's 2016-04-02 20:19:37 -05:00
extban.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
getopt.c Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
hash.c hash.c: Save some more bytes 2016-03-27 06:29:10 -04:00
hook.c Add hook for when rehash is called. 2016-04-06 05:43:54 -05:00
hostmask.c ipv4_from_ipv6: move to librb 2016-04-08 03:49:23 -05:00
ircd.c ircd: load modules after conf files 2016-04-06 07:43:45 -05:00
ircd_lexer.l Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
ircd_parser.y Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
ircd_signal.c ircd: fix build on freebsd 2016-03-20 06:22:39 -05:00
listener.c authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
logger.c logger: add idebug 2016-03-28 19:06:31 -05:00
main.c ircd: add main.c stub executable 2016-01-06 23:57:35 -06:00
Makefile.am Revert "Implement the netsplit batch type." 2016-04-16 11:05:00 -05:00
match.c Move away from BSD data types 2016-03-23 19:11:42 -04:00
modules.c modules: add missing break 2016-04-23 23:37:38 +01:00
monitor.c typedef-ify rb_radixtree for consistency. 2016-03-23 08:32:22 -05:00
msgbuf.c More cleanup 2016-03-23 00:11:26 -04:00
newconf.c conf: require certificate fingerprint for SSL connections 2016-04-25 20:19:48 +01:00
operhash.c typedef-ify rb_radixtree for consistency. 2016-03-23 08:32:22 -05:00
packet.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
parse.c ircd: don't send ERR_NOTREGISTERED to servers 2016-04-24 17:41:44 +01:00
privilege.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
ratelimit.c rename src to ircd, libcore to libircd 2016-01-06 01:16:08 -06:00
reject.c Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
restart.c ircd: start staging for relocatable paths 2016-03-24 18:45:28 -05:00
s_conf.c sslproc: use global ServerInfo configuration 2016-04-25 19:20:45 +01:00
s_newconf.c ircd: server connection configuration 2016-04-24 17:06:24 +01:00
s_serv.c sslproc: simplify ssl open callback 2016-04-25 21:12:44 +01:00
s_user.c Change the way authd configures opm 2016-04-12 09:36:09 -05:00
scache.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
send.c send: trim a blank line [ci skip] 2016-04-11 11:52:01 -05:00
snomask.c Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
sslproc.c sslproc: simplify ssl open callback 2016-04-25 21:12:44 +01:00
substitution.c Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
supported.c common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
tgchange.c rename src to ircd, libcore to libircd 2016-01-06 01:16:08 -06:00
version.c.SH version.c.SH: Fix build 2016-04-09 06:05:08 -04:00
whowas.c typedef-ify rb_radixtree for consistency. 2016-03-23 08:32:22 -05:00
wsproc.c ircd: wsproc: cleanups 2016-04-02 03:10:01 -05:00