Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505600 - net-im/mu-conference-0.8-r1 fails to connect to jabberd with long secrets (>15 characters)
Summary: net-im/mu-conference-0.8-r1 fails to connect to jabberd with long secrets (>1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://gna.org/bugs/download.php?file...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-25 08:49 UTC by Dmitry A. Bakshaev
Modified: 2016-08-25 16:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry A. Bakshaev 2014-03-25 08:49:36 UTC
http://gna.org/bugs/?16238

"Experimenting shows the longest secret that can be used is 15 characters. Longer secrets do allow other jabberd2 components to connect, this problem appears to be specific to mu-conference.

Thu Jul 8 14:35:29 2010 jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.
Thu Jul 8 14:35:29 2010 jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream connected.
Thu Jul 8 14:35:29 2010 jcr_elements.c:178 (jcr_read_data): Main Channel Error: rc=2
Thu Jul 8 14:35:29 2010 jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error, resetting
Thu Jul 8 14:35:34 2010 jcr_deliver.c:101 (jcr_queue_deliver): packet delivery thread exiting.
Thu Jul 8 14:35:34 2010 jcr_deliver.c:102 (jcr_queue_deliver): Last DvryQ Buffer=''
Thu Jul 8 14:35:36 2010 jcr_deliver.c:51 (jcr_queue_deliver): packet delivery thread starting.
Thu Jul 8 14:35:36 2010 jcr_main_stream_error.c:50 (jcr_main_new_stream): Server stream connected.
Thu Jul 8 14:35:36 2010 jcr_elements.c:178 (jcr_read_data): Main Channel Error: rc=2
Thu Jul 8 14:35:36 2010 jcr_main_stream_error.c:56 (jcr_main_close_stream): Server stream error, resetting "

problem fixed with
"file #9468:  sha1_64bit.patch" http://gna.org/bugs/download.php?file_id=9468
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-03-28 15:15:49 UTC
I've discovered a pre-release from 2013

http://download.gna.org/mu-conference/mu-conference-0.8.81.tar.gz

Can you test if this solves the problem for you?
Comment 2 Dmitry A. Bakshaev 2014-03-28 16:49:37 UTC
mu-conference-0.8.81 not worked for me.
look into code found typedef for uint32 on the old place, but not used anywhere.
fields in j_SHA_CTX structure changed from unsigned long to uint32_t.
Comment 3 Julian Ospald 2015-04-07 19:27:34 UTC
horrible response time

@Dmitry A. Bakshaev ...can you send a pull request to https://github.com/hasufell/prism-overlay ? Otherwise I'll push your patch with the 0.8 version when I find the time. Works on my own server like a charm.
Comment 4 Dmitry A. Bakshaev 2015-04-08 20:05:18 UTC
sorry, it's not my patch.
i'm only push it's to gentoo portage.
but, the best solution to resolve it in mainstream.
problem fixed with
"file #9468:  sha1_64bit.patch" http://gna.org/bugs/download.php?file_id=9468
Comment 5 Pacho Ramos gentoo-dev 2016-08-25 16:33:13 UTC
[master b98a03c] net-im/mu-conference: Fix connection with long secrets (#505600 by Dmitry A. Bakshaev)
 2 files changed, 126 insertions(+)
 create mode 100644 net-im/mu-conference/files/mu-conference-0.8.81-sha1_64bit.patch
 create mode 100644 net-im/mu-conference/mu-conference-0.8.81-r2.ebuild