[kgb-maintainers] Bug#691562: tcp port conflict in default configuration of approx and kgb-bot

Damyan Ivanov dmn at debian.org
Sun Oct 28 13:57:24 UTC 2012


Control: reassign -1 kgb-bot
Control: affects -1 approx

-=| Helmut Grohne, 27.10.2012 11:08:23 +0200 |=-
> Package: approx kgb-bot
> Severity: normal
> 
> Both packages use tcp port 9999 by default. This is a conflict. Please
> resolve.

Ouch. I am happy to change the default port in KGB. The three 
instances that serve alioth projects already use other ports anyway, 
and since kgb is the new kid on the block, it makes sense to avoid the 
conflict there.

The default is set in two places -- the provided default kgb.conf and 
kgb-bot executable.

Change in the default kgb.conf in the package should be transparent to 
users, as it is a conffile dpkg will show the alert. The executable 
built-in default is not a problem, I think, because the default 
kgb.conf was shipped in all published packages, so the built-in 
default should be never used.

Of course, a NEWS.Debian file would give the change more publicity.

Next thing to decide would be the new port number. Two of the three 
instances that serve alioth projects use 9418, bit this seems to be 
assigned:

 $ grep 9418 /etc/services
 git             9418/tcp                        # Git Version Control System

Gregor gave an interesting idea for finding possible port number -- 
playing with the ASCII codes of 'K', 'G' and 'B'. For example 
'K'*'G'+'B' gives 5391, which is unassigned, according to 
http://www.iana.org/assignments/port-numbers (thanks taffit!).

If we want to avoid future conflicts, I guess we should register the 
port with IANA.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/kgb-maintainers/attachments/20121028/99ecba23/attachment.pgp>


More information about the kgb-maintainers mailing list