summaryrefslogtreecommitdiff
path: root/include/modules/ssl.h
AgeCommit message (Collapse)Author
2021-05-14Update copyright headers.InspIRCd Robot
2021-04-27Fix a bunch of weird indentation and spacing issues.Sadie Powell
2021-03-09Add a subclass of IOHookProvider for SSL modules.Sadie Powell
2020-07-27Fix secure websocket users not being seen as secure.Matt Schatz
Since a TLS (SSL) module will always be the last IOHook attached to a socket, IsSSL() needs to ignore any Middle IOHooks that may also be attached.
2020-04-24Update copyright headers.InspIRCd Robot
2020-04-21Fixes by misspell-fixerInspIRCd Robot
2020-04-14Update user-facing text and comments of SSL to TLS.Matt Schatz
2020-01-11Update copyright headers.InspIRCd Robot
2019-05-13Allow SSLIOHook instances to override Get{Certificate,Fingerprint}.Peter Powell
2019-02-01Fix a minor typo in ssl.hB00mX0r
2018-11-26Only check if a SSL cert is usable if we're getting the fp.Peter Powell
2018-10-25Allow HAProxy to specify that a client is connecting with SSL.Peter Powell
2018-03-29Ignore expired or invalid client certificates (#1468).Dylan Frank
Fixes #1345.
2017-10-29Add support to IOHook for retrieving the hostname sent via SNI.Peter Powell
2016-04-28Export the GetCiphersuite() method from the SSL modulesAttila Molnar
2016-04-28Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or notAttila Molnar
Use it in a few places
2015-06-06Call OnStreamSocketWrite() once per write eventAttila Molnar
Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
2014-01-22Split IOHook into IOHook and IOHookProviderAttila Molnar
Create one IOHook instance for each hooked socket which contains all the hook specific data and read/write/close functions, removing the need for the "issl_session" array in SSL modules. Register instances of the IOHookProvider class in the core and use them to create specialized IOHook instances (OnConnect/OnAccept). Remove the OnHookIO hook, add a dynamic reference to ListenSocket that points to the hook provider (if any) to use for incoming connections on that socket. For outgoing connections modules still have to find the IOHookProvider they want to use themselves but instead of calling AddIOHook(hookprov), now they have to call IOHookProvider::OnConnect() after the connection has been established.
2013-06-07Change the API of m_sslinfo to be dynamic_reference-basedattilamolnar
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-06-07Create IOHook interface (extracted from Module)attilamolnar
2013-04-12Tidy up source files:Peter Powell
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.