Nick:Password support for irc protocol

Bug #35933 reported by Guillermo Gutiérrez
12
Affects Status Importance Assigned to Milestone
gaim (Ubuntu)
Invalid
Wishlist
Ubuntu Desktop Bugs

Bug Description

I think it would be great to be a bool config item in irc accounts for toggle between
  "PASS mypassword"
and
  "NICK mynick:mypassword"
ways of authentication.

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote : workaround patch

This patch is working for me. Please mind using better solution.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Luke, what does upstream think about that?

Revision history for this message
Mark Doliner (thekingant) wrote :

Is "NICK mynick:mypassword" specified in one of the IRC RFCs? Do many IRC servers use that syntax? How do other IRC clients handle this?

Changed in gaim:
assignee: nobody → desktop-bugs
Revision history for this message
Richard Laager (rlaager) wrote :

Also, that patch doesn't do any buffer size checking on the string manipulation. Of course, fixing that is trivial, but unless this is specified in a standard somewhere, it's not likely to be accepted upstre

Revision history for this message
Sebastien Bacher (seb128) wrote :

we will not ship that as a distribution patch if it's not accepted upstream

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote :

Yes, I think that is not standar, so should not be implemented in gaim. ¿Maybe as a little plugin? :s

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote :

(or included in gaim-irchelper)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Guillermo could you reply to the questions from Mark?

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote :

I think it is "standard in fact" on ircd servers enhanced with databases. This way, the passwords of nicks are saved directly on a main database or on a distributed database between ircd nodes (in md5, crc32,...). Then, when bot service's node fall down, authentication of nicks continues working (other advantage is that you don't need to send /msg nickserv identify pass to login).

I know this servers and this spanish networks:
ircu -> irc.irc-hispano.org
unrealircd+udb -> irc.redmundial.org

In irc clients, per example in mIRC, it is neccesary to configure your nickname as nick:pass simply (pass in plain text, sure).

To login, users type /nick nick:pass and then, /server irc-server
To kill ghosted nicks type /nick nick!pass and then /server irc-server

What do you think?

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote :

Sorry, I forgot to mention that when the node authenticates the user, it gives to the user the +r mode.

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote : Proposed patch #00

Aplied on 2.0.0beta3.
Do "NICK mynick:mypass" and remove multiple oper-modes on a nick; futhermore founder modes are added ('.' in unrealircd+udb and '~' in ircu).

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote : Proposed patch #01

Applied on 2.0.0beta3.
Surround the nick:pass code by a conditional to do not try to concatenate empty password strings.

Revision history for this message
Luke Schierer (lschiere) wrote :

This is the sort of thing that is more likely to go into a plugin such as gaim-irchelper than into the irc protocol plugin itself.

Revision history for this message
Guillermo Gutiérrez (capitanterrex) wrote :

Yes, you are rigth. It is better to do not code this if there is not a standard.

Changed in gaim:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.