[Pidgin] #13270: SASL support on IRC Protocol

Pidgin trac at pidgin.im
Sun Jul 10 17:30:33 EDT 2011


#13270: SASL support on IRC Protocol
------------------------------------+---------------------------------------
 Reporter:  Gaming4JC               |        Owner:  elb
     Type:  patch                   |       Status:  new
Milestone:  Patches Needing Review  |    Component:  IRC
  Version:  2.7.9                   |   Resolution:     
 Keywords:                          |  
------------------------------------+---------------------------------------

Comment(by elb):

 Disclaimer: I still haven't looked at this closely, it's on my list of
 things to do (and implement).  This is based on my best understanding.

 Replying to [comment:4 andy753421]:
 > I got hit by the same issue on freenode using a tethering plan (T-Mobile
 oddly enough though). Anyway, I wrote a patch for sasl authentication and
 attached it, it works for me using pidgin 2.7.11 (patch is against 2.9.0
 though).
 >
 > Note: freenode doesn't prefix the AUTHENTICATE message with
 :whatever.freenode.net so the message fails to parse. There's a lame work-
 around in irc_msg_cap; it seems that you can send `AUTHENTICATE PLAIN' and
 `AUTHENTICATE <password data>' both at the same time without waiting for a
 reply from the first message.

 This is normal for certain classes of messages from the server which are
 not routed.  The correct way to handle this is with a strncmp() in the
 irc_parse_msg() function, alongside PING and ERROR.  The list of messages
 which can be sent without routing is strictly enumerated, and there are
 few of them, so there's no elaborate parsing mechanism to handle this as
 there is for numerics/etc.

 I will try to look at this patch and either integrate it or implement SASL
 however I think it is best implemented in the relatively near future;
 however, I am very busy and I can make no promises.  Sorry.  :-/

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13270#comment:8>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list