Red Hat Bugzilla – Bug 180339
xchat ssl defaults to wrong port number
Last modified: 2013-08-14 19:47:44 EDT
Description of problem:
The command /server -ssl <some host> attempts to connect to port 9999 when the
port it should be trying to connect to is 994.
Version-Release number of selected component (if applicable):
2.6.0-3.1, but it seems to have been this way for all of 2.x
These bugs are being closed since a large number of updates have been released
after the FC5 test1 and test2 releases. Kindly update your system by running yum
update as root user or try out the third and final test version of FC5 being
released in a short while and verify if the bugs are still present on the system
.Reopen or file new bug reports as appropriate after confirming the presence of
this issue. Thanks
Very much alive with xchat-2.6.6-8 and yes /etc/services point to port 994 for ircs.
REOPENED status has been deprecated. ASSIGNED with keyword of Reopened is preferred.
Who says this is a bug, i.e. that the port really should be 994? Port 9999 is
very much in use for IRC over SSL out there in the real world.
According to /etc/services:
distinct 9999/tcp # distinct
Personally, I'm inclined to believe that 994 is the correctly assigned number
given that it is documented as such.
All this is nice in theory, but out there in the real world, 9999 is used a
lot. Probably for the same reason almost nobody uses the official port 194 for
unencrypted IRC, but usually 6667 or 7000: port numbers above 1024 don't
require root privileges to bind.
I was actually thinking of changing the default ssl port to 6697. This seems to
be the defacto standard right now. 994 is no go, because no one actually uses it.
I don't think it matters much anyway, since you need to specify the port when
adding a SSL server to the list: e.g. irc.sslserver.net/+6697
Well, at least irc.freequest.net uses 9999. But that's a small network. The
large ones I checked (Freenode, EFNet, DalNET) don't appear to support SSL at
all, so "let's just default to what the large networks use" won't work either.
994 is in use by a number of networks. Regardless of what the port is, xchat
should default to whatever is specified in /etc/services which can be changed to
the appropriate default.
So do you also advocate defaulting unencrypted IRC to 194? That would make
XChat completely out of touch with the real world.
Can this issue be re-visited? It has been a few years now and it appears that all the major IRC networks have now jumped to 6697. Some are still accepting 9999 for backwards compatibility. 9999 needs to go away since other programs (aproxy for debian) use it.
I no longer comaintain XChat, I'll leave it up to the current maintainers to decide what to do about this.