bugWeeChat - Bugs: bug #36825, Weechat sends ::1 incorrectly for...

 
 

bug #36825: Weechat sends ::1 incorrectly for the servername with USER command

Submitted by:  Florian Bruhin <the_compiler>
Submitted on:  Tue 10 Jul 2012 09:38:38 PM UTC  
Votes:  3  
 
Category: irc pluginSeverity: 3 - Normal
Item Group: irc protocolStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.8IRC nick: The-Compiler

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 15 Jul 2012 07:55:53 AM UTC, comment #3:

Old format was:

New format is:

And now spaces are automatically replaced by underscores in username (since no space is allowed here).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Fri 13 Jul 2012 08:39:40 AM UTC, comment #2:

Hi,

I just have read again the RFC1459 and RFC2812, both says that this argument is unused (used only for connection between two servers, according to RFC1459).

So I will just send "*" here instead of an address or a hostname (as suggested in RFC2812).

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Tue 10 Jul 2012 10:11:28 PM UTC, comment #1:

In various other cases (such as some server-server protocols), "0::1" is usually used because it represents the same address as "::1" while avoiding protocol breakage. (This of course applies to all IPv6 addresses starting with ::, which is just a bunch of 0000's collapsed.)

But with the USER command coming for clients, most ircds simply ignore the 2nd and 3rd fields, so anything that does not start with a ":" would be acceptable (for example, "[::1]" or just "*").

Mantas Mikulėnas <grawity>
Tue 10 Jul 2012 09:38:38 PM UTC, original submission:

When I connect to ::1 via IPv6, this is what weechat sends:

USER compiler compiler ::1 :Florian Bruhin

This means the value ":1 :Florian Bruhin" is taken as the server name. According to grawity in IRC, 0::1 would be the correct thing to send.

Florian Bruhin <the_compiler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by grawity (Voted in favor of this item)
  • -unavailable- added by grawity (Posted a comment)
  • -unavailable- added by the_compiler (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 3 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 29 Sep 2012 09:27:57 AM UTCflashcodeOpen/ClosedOpen=>Closed
    Sun 15 Jul 2012 07:49:54 AM UTCflashcodeStatusIn Progress=>Fixed
    Fri 13 Jul 2012 08:39:40 AM UTCflashcodeStatusNone=>In Progress
      Assigned toNone=>flashcode
    Tue 10 Jul 2012 10:11:38 PM UTCgrawityCarbon-Copy-=>Added grawity

    Back to the top


    Powered by Savane 3.1-cleanup1