Bug 433470 - Qpid-0.2-24 does not support AMQP0-9
Qpid-0.2-24 does not support AMQP0-9
Status: CLOSED NOTABUG
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
beta
All Linux
low Severity high
: ---
: ---
Assigned To: messaging-bugs
Kim van der Riet
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-19 10:00 EST by Vitaly Mayatskikh
Modified: 2008-03-11 09:59 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-03-11 09:59:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vitaly Mayatskikh 2008-02-19 10:00:43 EST
Description of problem:

Current version of qpidc in mrg-beta repository
(http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL-5/) includes proposals for
the AMQP 0-10 and doesn't work with 0-9 clients

Version-Release number of selected component (if applicable):

I've rebuilt qpidd for Fedora-8 from qpidc-0.2-24.el5.src.rpm

How reproducible:


Steps to Reproduce:
1.Run qpidd
2.echo -e "AMQP\0001\0001\000\0010" | nc -i 1 127.0.0.1 5672 > 123
3.od -t x1 123
  
Actual results:

0000000 0f 01 00 26 00 00 00 00 00 00 00 00 0a 0a 00 08
0000020 00 00 00 00 00 00 00 05 50 4c 41 49 4e 00 00 00
0000040 05 65 6e 5f 55 53 ce
0000047


The first byte (segment begining/endings flags) is from AMQP-104 proposal
(https://wiki.108.redhat.com/jira/browse/AMQP-104), not from AMQP0-9 specification

Expected results:

According to current version (0-9) of Advanced Messaging Queueing Protocol
specification, page 52, qpidd should either send supported protocol version and
close connection, or should support older protocol versions.

Additional info:
Comment 1 Vitaly Mayatskikh 2008-02-19 10:08:31 EST
Actually, the right echo for 0-9 is 'echo -e "AMQP\0001\0001\000\0011"', but it
doesn't change anything as segment flags are hardcoded to qpid sources
Comment 2 Rafael H. Schloming 2008-02-19 19:44:27 EST
Qpidd is not supposed to support 0-9. It currently supports a working version of
the 0-10 spec. The final version of the 0-10 spec was voted last week and we
will be updating the broker to support this version over the next month. You can
get the 0-10 final version of the spec here:

https://jira.amqp.org/confluence/display/AMQP/Download

Note You need to log in before you can comment on or make changes to this bug.