Changeset 58b63de6 for irc.h


Ignore:
Timestamp:
2015-10-08T08:34:18Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
c788e15
Parents:
2f73692
git-author:
dequis <dx@…> (11-09-15 22:07:10)
git-committer:
dequis <dx@…> (08-10-15 08:34:18)
Message:

IRCv3 SASL capability + PLAIN method

Only plain, no other methods. We don't have built-in SSL to implement
EXTERNAL (certfp) and nothing else is worth implementing.

The actual authentication is pretty much like sending a server password
(when the server's authmode isn't closed), which means it happens in
cmd_identify, but this code also calls storage_check_pass() to send the
required success/failure replies.

SASL doesn't give us much benefit other than standards compliance, but
some clients might appreciate it.

And having a fifth way to do the same thing doesn't hurt! Now we have:

  • identify in &bitlbee
  • identify to nickserv (alias for root)
  • 'nickserv' and 'ns' irc commands
  • server password
  • sasl plain
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    r2f73692 r58b63de6  
    5050                                   Currently just blocks irc_vawrite(). */
    5151        USTATUS_CAP_PENDING = 16,
     52        USTATUS_SASL_PLAIN_PENDING = 32,
    5253
    5354        /* Not really status stuff, but other kinds of flags: For slightly
     
    6768
    6869typedef enum {
     70        CAP_SASL = (1 << 0),
    6971        CAP_MULTI_PREFIX = (1 << 1),
    7072} irc_cap_flag_t;
Note: See TracChangeset for help on using the changeset viewer.