Git Product home page Git Product logo

Comments (4)

streadway avatar streadway commented on August 16, 2024

Good catch. Looks like the fragmentation test isn't catching this either.

from amqp.

rade avatar rade commented on August 16, 2024

I should note that the RabbitMQ server currently lets clients get away with sending frames of any size, regardless of the negotiated max size. But that will likely change in the future since it is a DoS vector.

from amqp.

michaelklishin avatar michaelklishin commented on August 16, 2024

This is correct (about off-by-8). There used to be an errata page on this on the wiki. As far as I know, RabbitMQ 2.9 will already close connections when client payload size does not match.

RabbitMQ engineers contacted client maintainers about this a while ago.

from amqp.

streadway avatar streadway commented on August 16, 2024

The errata is now found here: http://www.rabbitmq.com/amqp-0-9-1-errata.html

And the XML spec is very clear about this:

The largest frame size that the server proposes for the connection, including frame header and end-byte. The client can negotiate a lower value. Zero means that the server does not impose any specific limit but may reject very large frames if it cannot allocate resources for them.

from amqp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.