summaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
AgeCommit message (Collapse)Author
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.
2017-12-10Require that the services server be configured in <sasl:target>.Peter Powell
Closes #1430.
2017-12-03Rename the spanningtree module header to server.Peter Powell
In the future we will have server linking modules that are not the spanningtree module.
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-28Hide User#host and User#dhost and use accessors to modify them.Peter Powell
This removes the need to invalidate the cache after changing a user's hostname.
2017-10-12Merge the latest changes from insp20 into master.Peter Powell
2017-10-12Clean up m_sasl slightly by making SendSASL take common params.Peter Powell
Also, fix a minor issue caused by the last insp20 merge.
2017-10-12Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.Peter Powell
2017-10-11Include connection security with the SASL host information.Peter Powell
See atheme/atheme@b41753f740 for more details.
2017-10-11Don't abort the SASL authentication in OnUserConnect.Peter Powell
SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct.
2017-10-11Get rid of ReadCGIIRCExt() in m_sasl.Peter Powell
This is unnecessary since 852dd0337a.
2017-10-11Convert the AUTHENTICATE handler to use SplitCommand.Peter Powell
2017-09-06Convert uncontroversial anonymous numerics to use constants.Peter Powell
2017-08-27Remove module file extensions from user-visible messages.Peter Powell
2017-07-12Merge pull request #1270 from SaberUK/master+saslPeter Powell
Always append the SSL fingerprint even if EXTERNAL is not used.
2017-07-09Merge v2.0.23 and v2.0.24 into master.Peter Powell
2017-02-26m_sasl: use host/ip from m_cgiirc if applicableAdam
2016-12-22Always append the SSL fingerprint even if EXTERNAL is not used.Peter Powell
2016-12-19m_sasl: send host/ip infoAdam
2016-09-05m_sasl: really abort sasl session on registerAdam
2016-09-03m_sasl: don't allow AUTHENTICATE with mechanisms with a spaceAdam
2016-08-17Merge insp20Attila Molnar
2016-08-13Fix more incorrect std::string::operator[] usageAttila Molnar
2016-04-25m_sasl Advertise the sasl capability only if the target server is onlineAttila Molnar
Issue #812
2016-04-25m_sasl Add ServerTracker class for tracking sasl_targetAttila Molnar
2016-03-24Add support for SASL reauthentication.Peter Powell
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-24Fix some numericsAttila Molnar
2015-12-07Remove some IS_SERVER() checksAttila Molnar
- InspIRCd::FindUUID() and FindNick() no longer return FakeUsers so checking the user returned from those methods is needless - m_dccallow is calling FindNickOnly() so it had the check needlessly
2015-12-06Merge branch 'master+cap'Attila Molnar
2015-12-05m_sasl Advertise SASL mechanism list to supporting clientsAttila Molnar
2015-12-05m_sasl Create SASLCap which subclasses Cap::Capability and implements ↵Attila Molnar
OnRequest()
2015-12-05Add rewritten m_cap moduleAttila Molnar
- Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
2015-12-05m_sasl Enforce usage of uuids in server-to-server SASL commandAttila Molnar
2015-04-20Merge insp20Attila Molnar
2015-04-16m_sasl Update description, SASL is no longer exclusive to AthemeAttila Molnar
2015-04-16m_sasl Add missing validation for server-to-server SASL messageAttila Molnar
2015-02-11Convert the SASL fallback event to use the new cross-module event systemAttila Molnar
2015-02-11Convert the CAP event to use the new cross-module event systemAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-01-26ProtocolInterface::SendEncapsulatedData() changesAttila Molnar
- Pass command name and destination as real parameters - Allow callers to specify the command source - Send a SID instead of a server name if the target is a single server
2014-01-21Merge insp20Attila Molnar
2014-01-11Support SASL messages other than 'C' and 'D'Mantas Mikulėnas
2014-01-11Handle SASL failures during SASL_INIT (wrong mechanism, etc.)Mantas Mikulėnas
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-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-04Automatically attach modules to eventsattilamolnar
2013-08-04Change modules to use the MODNAME constant when logging.Peter Powell
The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them.
2013-07-04Remove $Core and $Mod* comments apart from $ModDep.Peter Powell