aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sasl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Require that the services server be configured in <sasl:target>.Gravatar Peter Powell2017-12-101-1/+5
| | | | Closes #1430.
* Rename the spanningtree module header to server.Gravatar Peter Powell2017-12-031-3/+3
| | | | | In the future we will have server linking modules that are not the spanningtree module.
* Add the override keyword in places that it is missing.Gravatar Peter Powell2017-11-211-3/+3
| | | | GCCs warnings for this are much better than Clangs.
* Hide User#host and User#dhost and use accessors to modify them.Gravatar Peter Powell2017-10-281-1/+1
| | | | | This removes the need to invalidate the cache after changing a user's hostname.
* Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-0/+1
|\
| * Include connection security with the SASL host information.Gravatar Peter Powell2017-10-111-0/+9
| | | | | | | | See atheme/atheme@b41753f740 for more details.
* | Clean up m_sasl slightly by making SendSASL take common params.Gravatar Peter Powell2017-10-121-19/+10
| | | | | | | | Also, fix a minor issue caused by the last insp20 merge.
* | Send ERR_SASLTOOLONG when a client sends an oversized AUTHENTICATE.Gravatar Peter Powell2017-10-121-0/+11
| |
* | Don't abort the SASL authentication in OnUserConnect.Gravatar Peter Powell2017-10-111-17/+2
| | | | | | | | | | SASL-3.2 allows SASL auth to happen post-registration so this is no longer correct.
* | Get rid of ReadCGIIRCExt() in m_sasl.Gravatar Peter Powell2017-10-111-39/+2
| | | | | | | | This is unnecessary since 852dd0337a.
* | Convert the AUTHENTICATE handler to use SplitCommand.Gravatar Peter Powell2017-10-111-13/+10
| |
* | Convert uncontroversial anonymous numerics to use constants.Gravatar Peter Powell2017-09-061-4/+13
| |
* | Remove module file extensions from user-visible messages.Gravatar Peter Powell2017-08-271-1/+1
| |
* | Merge pull request #1270 from SaberUK/master+saslGravatar Peter Powell2017-07-121-1/+1
|\ \ | | | | | | Always append the SSL fingerprint even if EXTERNAL is not used.
| * | Always append the SSL fingerprint even if EXTERNAL is not used.Gravatar Peter Powell2016-12-221-1/+1
| | |
* | | Merge v2.0.23 and v2.0.24 into master.Gravatar Peter Powell2017-07-091-3/+58
|\ \ \ | |/ / |/| / | |/
| * m_sasl: use host/ip from m_cgiirc if applicableGravatar Adam2017-02-261-2/+39
| |
| * m_sasl: send host/ip infoGravatar Adam2016-12-191-0/+16
| |
| * m_sasl: really abort sasl session on registerGravatar Adam2016-09-051-4/+2
| |
| * m_sasl: don't allow AUTHENTICATE with mechanisms with a spaceGravatar Adam2016-09-031-0/+4
| |
* | Merge insp20Gravatar Attila Molnar2016-08-171-1/+1
|\|
| * Fix more incorrect std::string::operator[] usageGravatar Attila Molnar2016-08-131-1/+1
| |
* | m_sasl Advertise the sasl capability only if the target server is onlineGravatar Attila Molnar2016-04-251-2/+9
| | | | | | | | Issue #812
* | m_sasl Add ServerTracker class for tracking sasl_targetGravatar Attila Molnar2016-04-251-1/+65
| |
* | Add support for SASL reauthentication.Gravatar Peter Powell2016-03-241-2/+0
| |
* | Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Gravatar Attila Molnar2016-02-251-4/+4
| | | | | | | | parameters
* | Fix some numericsGravatar Attila Molnar2016-02-241-1/+1
| |
* | Remove some IS_SERVER() checksGravatar Attila Molnar2015-12-071-1/+1
| | | | | | | | | | - 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
* | Merge branch 'master+cap'Gravatar Attila Molnar2015-12-061-5/+46
|\ \
| * | m_sasl Advertise SASL mechanism list to supporting clientsGravatar Attila Molnar2015-12-051-0/+22
| | |
| * | m_sasl Create SASLCap which subclasses Cap::Capability and implements ↵Gravatar Attila Molnar2015-12-051-2/+21
| | | | | | | | | | | | OnRequest()
| * | Add rewritten m_cap moduleGravatar Attila Molnar2015-12-051-4/+4
| | | | | | | | | | | | | | | - Caps are now managed by m_cap - Each cap uses one bit in an extension item shared with other caps
* | | m_sasl Enforce usage of uuids in server-to-server SASL commandGravatar Attila Molnar2015-12-051-1/+1
|/ /
* | Merge insp20Gravatar Attila Molnar2015-04-201-1/+4
|\|
| * m_sasl Update description, SASL is no longer exclusive to AthemeGravatar Attila Molnar2015-04-161-1/+1
| |
| * m_sasl Add missing validation for server-to-server SASL messageGravatar Attila Molnar2015-04-161-0/+3
| |
* | Convert the SASL fallback event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-1/+5
| |
* | Convert the CAP event to use the new cross-module event systemGravatar Attila Molnar2015-02-111-5/+0
| |
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+4
| |
* | ProtocolInterface::SendEncapsulatedData() changesGravatar Attila Molnar2014-01-261-5/+1
| | | | | | | | | | | | - 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
* | Merge insp20Gravatar Attila Molnar2014-01-211-4/+7
|\|
| * Support SASL messages other than 'C' and 'D'Gravatar Mantas Mikulėnas2014-01-111-2/+6
| |
| * Handle SASL failures during SASL_INIT (wrong mechanism, etc.)Gravatar Mantas Mikulėnas2014-01-111-2/+1
| |
* | Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Gravatar Adam2013-11-121-3/+3
| | | | | | | | automatically
* | Automatically register ServiceProviders created by modulesGravatar attilamolnar2013-09-081-3/+0
| |
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵Gravatar attilamolnar2013-08-301-3/+1
| | | | | | | | | | | | and on rehash This eliminates the need for calling OnRehash() in init()
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
| |
* | Change modules to use the MODNAME constant when logging.Gravatar Peter Powell2013-08-041-3/+3
| | | | | | | | | | | | | | | | 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.
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
| |
* | Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-071-3/+3
| |