Bug 198588

Summary: Connection to ipv6 servers only work with manually adding the port
Product: [Applications] konversation Reporter: Daniel Roschka <danielroschka>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal CC: hein
Priority: NOR    
Version: 1.2-alpha3   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Roschka 2009-07-02 00:50:58 UTC
Version:           1.2-alpha3 (using KDE 4.2.4)
Installed from:    Debian testing/unstable Packages

When using quick connect I've two fields. One for the server address and one for the port. While using ipv6 I need to add the port also to the address field, because konvi elsewhere tries to connect to a cutted address. E.g.:

Using "2001:1418:13:1::25" tries to connect to "2001:1418:13:1::6667"
Using "[2001:1418:13:1::25]" tries to connect to "2001:1418:13:1::6667"
Using "[2001:1418:13:1::25]:6667" connects successful to "2001:1418:13:1::25:6667"
Using "2001:1418:13:1::25:6667" connects successful to "2001:1418:13:1::25:6667"
Using "ipv6.chat.eu.freenode.net" connects sucessful to "ipv6.chat.eu.freenode.net:6667"

As you can see, you have to add the port or use a hostname instead of a ipv6-address.
Comment 1 Eike Hein 2009-07-02 01:53:50 UTC
I wrote this stuff, so I'll care of it.
Comment 2 Eike Hein 2009-09-14 07:23:05 UTC
SVN commit 1023172 by hein:

* Fix a regression vs. the KDE 3 version that caused a failure to
  correctly parse shortened IPv6 addresses except when using RFC-
  2732-style bracket notation and explicitly stating a port to
  connect to.
BUG:198588
* Made the display of server address and port number in various
  connection-related chat view messages more consistent and IPv6-
  friendly (with the '<ip>:<port>' forward previously used, it
  could be hard to tell where the IP ended and the port began --
  now it's '<ip> (port <port>)').
CCBUG:139071


 M  +7 -0      ChangeLog  
 M  +10 -8     src/connectionmanager.cpp  
 M  +7 -4      src/irc/server.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1023172