Debian Bug report logs -
#762698
jumpnbump: server refuses network connections
Reported by: Julian Marchant <onpon4@riseup.net>
Date: Wed, 24 Sep 2014 15:06:01 UTC
Severity: normal
Found in version jumpnbump/1.51+dfsg1-1
Fixed in version jumpnbump/1.51+dfsg1-2
Done: Fabian Greffrath <fabian+debian@greffrath.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#762698; Package jumpnbump.
(Wed, 24 Sep 2014 15:06:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Marchant <onpon4@riseup.net>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 24 Sep 2014 15:06:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: jumpnbump
Version: 1.51+dfsg1-1
When a Jump'n'Bump client attempts to connect to a Jump'n'Bump server,
the server refuses the connection on the basis of a bogus invalid player
number. I'll let the example speak for itself. Here is the output from
the server:
$ jumpnbump -server 1 -player 0
Opened audio at 44100Hz 16bit stereo, 2048 bytes audio buffer
SERVER: we are (null) (0.0.0.0:26411).
SERVER: waiting for (1) clients...
SERVER: Got data from localhost (127.0.0.1:14260).
SERVER: Client claims to be player #140256452018177.
SERVER: (that's an invalid player number.)
SERVER: Forbidding connection.
And here is the output from the client, on the same system:
$ jumpnbump -connect localhost -player 1
Opened audio at 44100Hz 16bit stereo, 2048 bytes audio buffer
CLIENT: we are (null) (0.0.0.0:26411).
CLIENT: connected to localhost...
CLIENT: Sending HELLO packet...
CLIENT: Waiting for ACK from server...
CLIENT: Server forbid us from playing.
What you might notice is that even though the client has a player number
specified as 1, the server thinks the number is 140256452018177. The
number seems to be completely random between runs, but consistent within
one run; in that same run, if I specified -player 2 from the client, the
server would think the number to be 140256452018178.
I should also note that the number specified by the client seems to be
an unsigned 32-bit integer (-1 is equivalent to 4294967295), so there's
no possible workaround.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#762698; Package jumpnbump.
(Wed, 24 Sep 2014 15:15:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Julian Marchant <onpon4@riseup.net>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 24 Sep 2014 15:15:05 GMT) (full text, mbox, link).
Message #10 received at 762698@bugs.debian.org (full text, mbox, reply):
Ah, right, I almost forgot one detail: I'm using the AMD64 build. I
haven't tested any others.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#762698; Package jumpnbump.
(Wed, 24 Sep 2014 17:33:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Wed, 24 Sep 2014 17:33:08 GMT) (full text, mbox, link).
Message #15 received at 762698@bugs.debian.org (full text, mbox, reply):
Hi Julian,
thank you for your bug report!
Am Mittwoch, den 24.09.2014, 11:13 -0400 schrieb Julian Marchant:
> Ah, right, I almost forgot one detail: I'm using the AMD64 build. I
> haven't tested any others.
Sigh! The network packages contain variables of type "long" which has 64
bits on amd64, but the code then proceeds as if they were 32 bit values.
I guess we have to thank Windows for its IL32 architecture.
A fix is on its way to GIT.
Thanks again,
Fabian
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#762698; Package jumpnbump.
(Sun, 28 Sep 2014 09:57:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Fabian Greffrath <fabian@greffrath.com>:
Extra info received and forwarded to list. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>.
(Sun, 28 Sep 2014 09:57:10 GMT) (full text, mbox, link).
Message #20 received at 762698@bugs.debian.org (full text, mbox, reply):
Am Mittwoch, den 24.09.2014, 19:31 +0200 schrieb Fabian Greffrath:
> A fix is on its way to GIT.
I consider the bug severe enough to justify another upload, i.e.
jumpnbump is a pure multiplayer game and this bug prevents network games
on any arch where (sizeof (long) != 4).
So, hereby I kindly request sponsoring another upload:
http://anonscm.debian.org/cgit/pkg-games/jumpnbump.git/
In any case, I have also added this to the sponsoring queue on wiki.d.o.
Thanks,
Fabian
Reply sent
to Fabian Greffrath <fabian+debian@greffrath.com>:
You have taken responsibility.
(Tue, 30 Sep 2014 05:51:16 GMT) (full text, mbox, link).
Notification sent
to Julian Marchant <onpon4@riseup.net>:
Bug acknowledged by developer.
(Tue, 30 Sep 2014 05:51:17 GMT) (full text, mbox, link).
Message #25 received at 762698-close@bugs.debian.org (full text, mbox, reply):
Source: jumpnbump
Source-Version: 1.51+dfsg1-2
We believe that the bug you reported is fixed in the latest version of
jumpnbump, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 762698@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Fabian Greffrath <fabian+debian@greffrath.com> (supplier of updated jumpnbump 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 26 Sep 2014 17:54:37 +0200
Source: jumpnbump
Binary: jumpnbump
Architecture: source amd64
Version: 1.51+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Fabian Greffrath <fabian+debian@greffrath.com>
Description:
jumpnbump - cute multiplayer platform game with bunnies
Closes: 762698
Changes:
jumpnbump (1.51+dfsg1-2) unstable; urgency=medium
.
* Fix NetPacket buffer size by adapting its member types
(Closes: #762698).
Checksums-Sha1:
53a0b83418f468d1bbba24cdeac0c4bb51167ee8 2111 jumpnbump_1.51+dfsg1-2.dsc
490a4df914123460e4309d0823a75e19e301fb75 21768 jumpnbump_1.51+dfsg1-2.debian.tar.xz
06c4c3893883e389d57e288e823375a070ca139a 208526 jumpnbump_1.51+dfsg1-2_amd64.deb
Checksums-Sha256:
314ab8287a9b99f5012e4a453a3e1a11cbfdd3c4a8798ffa79698724ce0711a2 2111 jumpnbump_1.51+dfsg1-2.dsc
5b11bf05bc6fefc4f3d2431b9cd31acd187ba563dccdefd75bf85b0c3415f170 21768 jumpnbump_1.51+dfsg1-2.debian.tar.xz
0bdaa859091467dc6341874b680bf01d1416aae92efe09949a16578d8952a8e8 208526 jumpnbump_1.51+dfsg1-2_amd64.deb
Files:
76a9ca1b3cfff268ca7ea9db9ed863b4 208526 games optional jumpnbump_1.51+dfsg1-2_amd64.deb
d15309379d10d60b25371ce07eaec071 2111 games optional jumpnbump_1.51+dfsg1-2.dsc
bd73af5453af5f1ebecc609742153730 21768 games optional jumpnbump_1.51+dfsg1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJUKkGPAAoJEJFk+h0XvV029TYQAJv98Y4PkuD1EJ8bs4jZ7/8b
Z207gOJoN/7+wJeEs2Gx+6srXpt4goQcWXjbNUnUOZcV0nIrZRkwuVxT/0xYx8t8
PeYLt22tzIZgs8Kamm7wDgxsyOfpHZBlSvJqgd6JxNOZW09g8PxORcE00tEbEYbh
MLdOtlRFs4aD1E5TxEi9WmIgJJXX2KwUe4sj171BYhzKAfw8/g6R/1RJdRECgGuM
ZWgfmyeQ6xOtHdbc25TX0bwI5MdZhp93CrslREmtH1xJm++psypQIJS3w2rKfPZL
Dgow5r7JnSH5ZeVDo3ud8YYjkkNzSdlui8DYX51FtDdqLOKjjeh82mdV7Pkjou07
dmoK1TrbpS63YVfP5JXfw5Cn9Iz0GpRj7OKikifv4h0i/R78jmPjjtB9sgSuLm1O
tjnwByrmCHxkVCVLcf30chK3R2Cf4yCtlVgWcRf7VTKBU9TR+MjP4kOiTlUcMpSe
X4gdAg0RKKwHOFERsnYae2Xi8tjn1PbqNUF4OyVAM4h4gm5I2gO0ppdZmbU39KSs
Z+GqPGZUH529wTSoCtIsha0GEmMReGE0AMYW80RHGavGO3ENt9TUPiLAubksyabR
GBtgWnQFu2JD00fQdCPfb+EacFi887iyN3t64O6k9YppmfGlkmnhFLq51V9qhPSe
gFRZXOCEZHHLFB5dL6bo
=Liq+
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 02 Nov 2014 07:39:41 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 15:16:34 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.