summaryrefslogtreecommitdiff
path: root/include/modules/ssl.h
AgeCommit message (Collapse)Author
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.