inspircd / inspircd-contrib

Third-party InspIRCd module repository.
https://www.inspircd.org
66 stars 72 forks source link

Add m_sasl_servercheck - Fail SASL auth if the target is unavailable #174

Closed genius3000 closed 5 years ago

genius3000 commented 5 years ago

m_sasl can be configured with a target value to direct the ENCAP messages to only that server. Some clients don't handle a SASL no reply very well and just timeout. This sends back a SASL Fail numeric if the configured target is unavailable. This is just a "band-aid" for 2.0 (for those that wish to use it). Insp 3.0 handles this correctly with the SASL CAP being unavailable if the target server is offline.

genius3000 commented 5 years ago

Thanks for the review; concerns addressed.