Giter Club home page Giter Club logo

Comments (6)

tuexen avatar tuexen commented on June 30, 2024

This is a check mainly for I-DATA chunks. If you are receiving a complete message with a MID, you can't have one in the reassembly queue with the same MID. It might go wrong with DATA chunks...
Are you using ordered or unordered messages?

from usrsctp.

tuexen avatar tuexen commented on June 30, 2024

I added some testscripts (see sctplab/sctp-idata@dd6d486) testing the reassembly of

  • a complete unordered messages followed by a fragmented unordered message
  • a fragmented unordered message followed by a complete unordered message

using DATA chunks and all possible permutations of arriving packets. Some tests fail. I'm investigating.

from usrsctp.

taylor-b avatar taylor-b commented on June 30, 2024

I'm testing unordered messages (with DATA chunks). Which means find_reasm_entry will return something if there's anything in the unordered reassembly queue.

from usrsctp.

tuexen avatar tuexen commented on June 30, 2024

The following commit 4ce5bad fixes the issues I saw with the test scripts I wrote. Please retest with the above commit and let me know if you find any issues.

from usrsctp.

taylor-b avatar taylor-b commented on June 30, 2024

My tests are passing after this commit. Thanks for the quick fix!

from usrsctp.

tuexen avatar tuexen commented on June 30, 2024

Thanks for testing and the report. Let me know if you find any further issues.

from usrsctp.

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.