71 - zyre bugs

Reported by matzen_omqmatzen_omq (1249551228|%O ago)

Hello,

we use your really cool restms protocol :) for our implementation of a support system. For this support system we developed 2 API s, one for C++ and one for AS3 (in the future we will also develope an API for javascript). While working on this, we found 3 possibilities to crash the zyre server with special requests.

Sending a POST with content length 0.
Sending a mixed POST Header, Two POST s in one request. (this was a bug from our framework)
If there are more then about 17 messages within a pipe, the replied document containing the pipe's representation is incomplete, as follows:

Client:


GET /restms/resource/ZYRE-TNPL3JSJ-3771229 HTTP/1.1
Accept: application/restms+xml

Server:


HTTP/1.1 200 OK
Date: Tue, 04 Aug 2009 14:40:37 UTC
ETag: 47051de50e32c-361-2
Server: X5
Content-Length: 1999
Content-Type: application/restms+xml
Last-Modified: Tue, 04 Aug 2009 14:40:31 UTC
Client-Date: Tue, 04 Aug 2009 14:40:37 GMT
Client-Peer: 192.168.1.5:8081
Client-Response-Num: 1

<?xml version="1.0"?>
<restms xmlns = "http://www.restms.org/schema/restms">
<pipe type = "fifo" name = "ZYRE-TNPL3JSJ-3771229">
<join address = "ZYRE-TNPL3JSJ-3771229" feed = "http://192.168.1.5:8081/restms/feed/default" href = "http://192.168.1.5:8081/restms/resource/ZYRE-SA4DZWS3-3771230" />
<join address = "0.chat" feed = "http://192.168.1.5:8081/restms/feed/chat" href = "http://192.168.1.5:8081/restms/resource/ZYRE-ZR4EJJIS-3771233" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-FS4V0KSL-3771373" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-TKH0G9B9-3771375" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-RWBZK5RA-3771377" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-NIDCL7UN-3771379" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-25H66NET-3771381" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-XGETOAJ7-3771383" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-DC8ZU3F8-3771385" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-0J3BSWNR-3771387" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-21UREX25-3771389" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-FAC0FXBQ-3771391" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-W7QM3TLZ-3771393" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-OX95VPJW-3771395" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-HMTR3AZN-3771397" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-NIYWQCMR-3771399" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-LMF0VXIP-3771401" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYRE-E9I5PI5K-3771403" />
<message href = "http://192.168.1.5:8081/restms/resource/ZYR

unclosed token at line 22, column 8, byte 1939 at /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level/XML/Parser.pm line 187

The number of bytes seem to never exceed the limit of 2000 bytes.

We use the following versions:
-Zyre/1.4b2 - revision 12017
-OpenAMQ/1.4b2 - revision 12017

When you have additional question, feel free to contact us ed.qmo|kcordsiem#ed.qmo|kcordsiem.

Will you release updates for zyre? Will the bugs get fixed?

greetings Matthias

Attachments:

No files attached to this page.

Comments

Add a New Comment

Edit | Files | Tags | Print

rating: 0+x

Who's following this issue?

pieterhpieterh
martin_sustrikmartin_sustrik
matzen_omqmatzen_omq
CybariteCybarite
Watch: site | category | page

Submitted by matzen_omqmatzen_omq

Use one of these tags to say what kind of issue it is:

  • issue - a fault in the software or the packaging or the documentation.
  • change - a change or feature request.

Use one of these tags to say what state the issue is in:

  • open - a new, open issue.
  • closed - issue has been closed.
  • rejected - the issue has been rejected.

Use one of these tags to say how urgent the issue is:

  • fatal - the issue is stopping all work.
  • urgent - it's urgent.

All open

89 - multi-threaded client connection failure (17 Nov 2012 16:28) [open]
87 - Zyre returns incomplete XML (26 Apr 2010 08:15) [open]
86 - SFL 'random(num)' macro is wrong in sfl.h (31 Mar 2010 09:23) [open]
85 - Zyre does not start on Solaris (23 Mar 2010 01:29) [open]
84 - OpenAMQ JMS - AMQTopic constructor use HEADER name and class instead of TOPIC (28 Jan 2010 17:04) [open]
83 - WireAPI: How to 'override' signal handlers? (14 Jan 2010 17:33) [open]
82 - Opf Classes Cannot Accept Default Values With Characte (06 Jan 2010 09:34) [open]
81 - AMQP Topic Exhange Routing (29 Dec 2009 00:21) [open]
80 - OpenAMQ reports malformed frame on 0-9-1 queue.unbind (20 Nov 2009 12:33) [open]
79 - AMQ Server crashing if subscribe topic is set as #.# (30 Oct 2009 06:11) [open]
78 - Error while publishing the messages faster (30 Oct 2009 05:57) [open]
77 - Tuning for latency (28 Oct 2009 16:47) [open]
76 - New user forum (28 Oct 2009 11:29) [change open]
74 - Simulaneous connect/disconnect from multiple threads crashes (03 Sep 2009 15:32) [open]
73 - Topic Exchange not sending a message to XXX.* (25 Aug 2009 21:10) [open]
72 - amq_content_basic_new() causes seg fault if not connected to broker (12 Aug 2009 23:50) [open]
71 - zyre bugs (06 Aug 2009 09:33) [open]
69 - OpenAMQ and Zyre (15 Jul 2009 11:27) [open]
68 - Change names of max and min source code macros (10 Jul 2009 16:52) [open]
67 - Server crash when multiple consumers ack on shared queue (26 Jun 2009 11:35) [open]

page 1 of 212next »

Most recent