0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 00:44:17 +01: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 strip_colour: Strip '\x0F' (^O, formatting off) 2014-04-17 13:12:11 +10:00
authproc.h authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
bandbi.h Add bandb IRCd APIs. 2010-01-07 17:10:16 -06:00
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 msgbuf: allow for an explicit target to be defined 2016-02-20 17:59:00 -06:00
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 Make struct operhash_entry private. 2010-03-01 01:24:00 +01:00
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 Don't suggest putting values in an enum that are not in the enum. 2009-01-28 01:02:34 +01:00
ratelimit.h Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
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 Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
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