summaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
AgeCommit message (Collapse)Author
2018-08-12Pass the Extensible container to ExtensionItem::free().Peter Powell
2018-08-10Remove the original line parameter of On{Pre,Post}Command.Peter Powell
In the brave new world of message tags and alternate wire formats this is no longer something that is appropriate to expose. In reality it was only ever used by m_alias which now reconstitutes the command name and parameters into a RFC 1459-style message for whatever it needs to do.
2018-07-26Use CommandBase::Params instead of std::vector<std::string>.Peter Powell
This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters.
2018-04-08Include modules/whois.h directly from files that use it.Peter Powell
2018-02-02Add names for a bunch of numerics.Peter Powell
2017-12-09Add names for a bunch more numerics.Peter Powell
2017-12-03Add SSL cert info to connect class debug log.Christopher 'm4z' Holm
Closes #634.
2017-11-21Add the override keyword in places that it is missing.Peter Powell
GCCs warnings for this are much better than Clangs.
2017-10-29Add support to IOHook for retrieving the hostname sent via SNI.Peter Powell
2016-04-28Deduplicate code for on connect SSL ciphersuite NOTICE by moving it into ↵Attila Molnar
m_sslinfo
2016-02-25Convert WhoisContext::SendLine() calls to pass the parameters of the numeric ↵Attila Molnar
as method parameters
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2015-04-28Move OnWhois* events to core_whois, add Whois::ContextAttila Molnar
Remove InspIRCd::SendWhoisLine()
2015-04-28Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()Attila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-07-19Say "SSL certificate fingerprint" instead of "SSL fingerprint" everywhereAttila Molnar
2014-07-16Move typedef OperIndex to ServerConfig::OperIndexAttila Molnar
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-09-08Automatically register ServiceProviders created by modulesattilamolnar
2013-08-04Automatically attach modules to eventsattilamolnar
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell
2013-06-07Change the API of m_sslinfo to be dynamic_reference-basedattilamolnar
2013-06-07Create SSLIOHook interface that provides GetCertificate()attilamolnar
2013-05-15Tidy up keywords on module methods.Peter Powell
- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it.
2013-05-15Replace some C-isms with C++-isms.Peter Powell
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
2013-05-14Add method for writing server notices.Peter Powell
This allows us to send a server notice to a user without worrying about whether they are registered or not. If a user receives a server notice and they are not registered then the nickname field will contain an asterisk instead of their nick name.
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.
2013-04-10Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()attilamolnar
2013-04-01Whitespace and empty destructor removal, minor coding style changesattilamolnar
2012-12-15Add IS_SERVER() and REG_ALL checks to (mostly oper only) commands taking a ↵attilamolnar
target nickname If a SID was passed as the target user parameter or when it's an unregistered user reply with the "no such nick" (or the moral equivalent) message
2012-12-02Register all commands, modes and extensions using AddService()attilamolnar
AddService() throws an exception if an item cannot be registered, modules no longer need to worry about AddMode() etc. failing
2012-12-02Dynamically determine the size of the eventlist[] passed to Attach()attilamolnar
m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove
2012-09-13m_blockamsg, m_sslinfo Don't convert the command name to irc::string in ↵attilamolnar
OnPreCommand() See 44e89aafb69fb266bdf780d12a31947bfff4e330
2012-04-19Replace copyright headers with headers granting specific authors copyrightRobby-
2010-08-03Fix m_opermodes.so sending modes for unintroduced clients with oper ↵Adam
autologin (bug 53)
2010-04-02Use FindNickOnly in a few commands to prevent enumerating users via UID walkingDaniel De Graaf
2010-02-16Change is-using-SSL numeric to 671 to match more other IRCdsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12482 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-16Change is-using-SSL numeric to 275 to match other IRCdsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12481 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-15Add <oper:autologin> to allow SSL fingerprint-based automatic oper logindanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12467 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-10Show SSL fingerprint in /WHOIS line, allow fingerprints to be hidden from ↵danieldg
non-opers with config option git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12429 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08SSL certificate requests prior to full registration must use ↵danieldg
SocketCertificateRequest git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12402 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-08Add <connect requiressl="trusted"> to force CA verification for clients on ↵danieldg
this block git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12401 e03df62e-2008-0410-955e-edbf42e46eb7
2010-02-02Add requireident/requiressl to connect blocksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12353 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Remove unneededd IS_LOCAL castsdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12292 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18PreCommand/PostCommand are local-only hooksdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-18Fix iteration of oper blocks by SSLINFOdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12290 e03df62e-2008-0410-955e-edbf42e46eb7
2010-01-11...because every now and again, i have to do a massive commit.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-16Use ServiceProvider for inter-module dependenciesdanieldg
This will stop dependency chains from preventing module reloads when it is not actually needed; however, it removes some failsafes that will need to be reimplemented in order to avoid unmapped vtables. This deprecates Request as an inter-module signaling mechanism, although SQL still uses it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12140 e03df62e-2008-0410-955e-edbf42e46eb7
2009-11-06Remove Extensible parent from EventHandlerdanieldg
This also fixes SSL certificate support when m_sslinfo is not loaded git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12048 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-18Remove VF_SERVICEPROVIDER, prevent heap allocation of ConfigReaderdanieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11904 e03df62e-2008-0410-955e-edbf42e46eb7