aboutsummaryrefslogtreecommitdiffstats
path: root/include/authproc.h
Commit message (Expand)AuthorAgeFilesLines
* authd: fix crash/restart breaking DNSBL lookups (#394)•••authd child processes are only told about configured DNSBLs when the configuration is being parsed. This is bad, because when authd crashes or is killed, IRCd will restart it, but will not tell it about any configured DNSBLs until IRCd is next rehashed. We already have a dictionary that stores configured DNSBLs (for hit statistics for `STATS n'), so store the additional needed fields in that structure, and loop over that dictionary's entries when authd is restarted, sending the fields just as if the configuration were being reloaded. Reported-By: @Unit193Gravatar Aaron Jones2023-01-111-1/+3
* Mailmap and copyright update for AriadneGravatar Ariadne Conill2021-06-011-1/+1
* Innovation by sedGravatar Ed Kellett2020-10-151-3/+3
* ircd: rename DNSBL entries from blacklist to dnsbl_entry.Gravatar Ariadne Conill2020-07-051-5/+5
* 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(). Gravatar Simon Arlott2016-04-251-1/+2
* Don't use key member of dictionary iter objects after deletionGravatar Elizabeth Myers2016-04-121-0/+1
* Change the way authd configures opm•••It's a bit of a hack, but better than before. Rather than rehashing (which could get us into an endless loop), we now segregate the configuration phase (creating entries ircd-side in case we restart authd later) and sending phases (when configure_authd() is called). Since we have to call configure_authd() no matter what (to send timeouts etc.) and we have to send this data to configure authd anyway, and sending duplicate data is bad, this is the only way I can think of for now. Gravatar Elizabeth Myers2016-04-121-2/+28
* authproc: add more API's for opm managementGravatar Elizabeth Myers2016-04-021-0/+4
* Rename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing.Gravatar Elizabeth Myers2016-04-021-0/+63