0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 20:58:51 +02:00
construct/include
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
..
inline
authproc.h authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
bandbi.h
cache.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
capability.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
channel.h chmode: Move add_id() to a boolean 2016-03-24 14:37:52 -04:00
chmode.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
class.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
client.h authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
defaults.h Cleanup defaults.h config file. 2016-04-07 04:47:48 -05:00
dns.h Rename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing. 2016-04-02 16:44:04 -05:00
hash.h hash.c: Save some more bytes 2016-03-27 06:29:10 -04:00
hook.h Add hook for when rehash is called. 2016-04-06 05:43:54 -05:00
hostmask.h include: hostmask: use GET_SS_FAMILY() 2016-03-20 01:55:31 -05:00
ircd.h ircd: Move signaled variables to volatile sig_atomic_t 2016-03-27 20:05:38 -04:00
ircd_defs.h common.h: raison d'être is gone, so out it goes. 2016-03-23 09:33:56 -05:00
ircd_getopt.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
ircd_linker.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
ircd_signal.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
listener.h ircd: integrate ircd side of wsockd support 2016-04-02 02:56:22 -05:00
logger.h logger: add idebug 2016-03-28 19:06:31 -05:00
m_info.h config.h delenda est 2016-03-19 19:14:26 -05:00
match.h Move away from BSD data types 2016-03-23 19:11:42 -04:00
messages.h m_stats: display certificate fingerprint in STATS C 2016-04-24 01:06:51 +01:00
modules.h modules: move module loading/unloading commands to dedicated module. 2016-04-07 04:00:25 -05:00
monitor.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
msg.h Partially update a comment 2016-04-06 07:28:30 -05:00
msgbuf.h
newconf.h config.h delenda est 2016-03-19 19:14:26 -05:00
numeric.h config.h delenda est 2016-03-19 19:14:26 -05:00
operhash.h
packet.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
parse.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
patchlevel.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
privilege.h
ratelimit.h
reject.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
restart.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
s_assert.h config.h delenda est 2016-03-19 19:14:26 -05:00
s_conf.h ircd: server connection configuration 2016-04-24 17:06:24 +01:00
s_newconf.h ircd: server connection configuration 2016-04-24 17:06:24 +01:00
s_serv.h Revert "Implement the netsplit batch type." 2016-04-16 11:05:00 -05:00
s_stats.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
s_user.h config.h delenda est 2016-03-19 19:14:26 -05:00
scache.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
send.h config.h delenda est 2016-03-19 19:14:26 -05:00
snomask.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
sslproc.h sslproc: use global ServerInfo configuration 2016-04-25 19:20:45 +01:00
stdinc.h stdinc: more cleanups 2016-03-20 01:19:07 -05:00
substitution.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
supported.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
tgchange.h
whowas.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
wsproc.h ircd: integrate ircd side of wsockd support 2016-04-02 02:56:22 -05:00