Opened 5 years ago

#16269 new enhancement

irc: should make use of server-sent SASL mechanism list

Reported by: grawity Owned by: elb
Milestone: Component: IRC
Version: 3.0.0hg Keywords:


When SASL authentication fails due to an unknown mechanism, some new servers send a 908 message containing the list of supported mechanisms:

:test.local 908 grawity PLAIN,EXTERNAL,DH-BLOWFISH,DH-AES,SCRAM-SHA-1 :are available SASL mechanisms

The irc plugin should use this list to avoid trying a lot of mechanisms that the server doesn't support.

(The list is unfortunately sent only after the first failed attempt, but that's fine; it still gets rid of many roundtrips considering how many mechanisms libsasl supports nowadays.)

Change History (0)

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!