Debian Bug report logs - #385374
xchat not picking random server out of rotations

version graph

Package: xchat; Maintainer for xchat is Davide Puricelli (evo) <>; Source for xchat is src:xchat.

Reported by: Peter Palfrader <>

Date: Wed, 30 Aug 2006 20:49:36 UTC

Severity: normal

Tags: fixed, patch

Found in version xchat/2.6.4-2

Fixed in version xchat/2.8.2-1

Done: Davide Puricelli (evo) <>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox

Report forwarded to, Davide Puricelli (evo) <>:
Bug#385374; Package xchat. Full text and rfc822 format available.

Acknowledgement sent to Peter Palfrader <>:
New Bug report received and forwarded. Copy sent to Davide Puricelli (evo) <>. Full text and rfc822 format available.

Message #5 received at (full text, mbox):

From: Peter Palfrader <>
Subject: xchat not picking random server out of rotations
Date: Wed, 30 Aug 2006 22:34:32 +0200
[Message part 1 (text/plain, inline)]
Package: xchat
Version: 2.6.4-2
Tags: patch


on the OFTC irc network we notice that xchat clients do not usually pick
a random server out of the rotation but instead a significant percentage
of new connects all go to the same server, and other servers from the
rotation are ignored.

The reason is that getaddrinfo(), which xchat uses to resolve hostname,
does not do a round robin, but sorts the hosts in some weird order.
We don't think this is wanted by xchat, and we certainly would prefer if
xchat just picked a random node.

xchat already has a means to randomize dns rotations, but it only does
it when LOOKUPD is defined.   I guess it would make sense to randomize
all the time, so this patch removes the ifdef.

Please apply to the Debian package and please also convince upstream to

Thank you.
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal | `. `'      Operating System
                           |   `-
[xchat-proper-randomize (text/plain, attachment)]
[xchat-proper-randomize.cleanup (text/plain, attachment)]

Tags added: fixed Request was from Luk Claes <> to Full text and rfc822 format available.

Reply sent to Davide Puricelli (evo) <>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Peter Palfrader <>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #12 received at (full text, mbox):

From: Davide Puricelli (evo) <>
Subject: Bug#385374: fixed in xchat 2.8.2-1
Date: Sun, 10 Jun 2007 15:47:06 +0000
Source: xchat
Source-Version: 2.8.2-1

We believe that the bug you reported is fixed in the latest version of
xchat, which is due to be installed in the Debian FTP archive:

  to pool/main/x/xchat/xchat-common_2.8.2-1_all.deb
  to pool/main/x/xchat/xchat_2.8.2-1.diff.gz
  to pool/main/x/xchat/xchat_2.8.2-1.dsc
  to pool/main/x/xchat/xchat_2.8.2-1_amd64.deb
  to pool/main/x/xchat/xchat_2.8.2.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Davide Puricelli (evo) <> (supplier of updated xchat package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA1

Format: 1.7
Date: Sun, 10 Jun 2007 14:55:55 +0200
Source: xchat
Binary: xchat xchat-common
Architecture: source amd64 all
Version: 2.8.2-1
Distribution: unstable
Urgency: low
Maintainer: Davide Puricelli (evo) <>
Changed-By: Davide Puricelli (evo) <>
 xchat      - IRC client for X similar to AmIRC
 xchat-common - Common files for X-Chat
Closes: 331267 376375 385374 387705 387836
 xchat (2.8.2-1) unstable; urgency=low
   * The "Mara Santangelo" release.
   * New upstream version.
   * Removed 03_patch397312.dpatch, now shipped upstream.
   * Added 52_fix_tray_zombies.dpatch to fix defunc processes created by
     opening tray balloons.
   * Acknowledge NMU; closes: #387836, #331267, #376375, #385374, #387705.
   * Back to work on BTS old xchat bugs now ...
 782c16cb1aee526fdadd5b49ebb6eed3 838 net optional xchat_2.8.2-1.dsc
 6764288f246cd9be8a9924919f9e983f 1988898 net optional xchat_2.8.2.orig.tar.gz
 d9b91eca805ef564aa96915a1dc8f3d0 22310 net optional xchat_2.8.2-1.diff.gz
 016fcf738c590e3554af90aafc7d6e99 1003548 net optional xchat-common_2.8.2-1_all.deb
 426b1e81f6f5ca485876e946c6beca08 334802 net optional xchat_2.8.2-1_amd64.deb

Version: GnuPG v1.4.6 (GNU/Linux)


Bug archived. Request was from Debbugs Internal Request <> to (Tue, 24 Jul 2007 07:36:15 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.

Debian bug tracking system administrator <>. Last modified: Fri Apr 18 11:37:05 2014; Machine Name:

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.