-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split messages #582
Split messages #582
Conversation
…ssages (a lot of bad and quick hack code present which has to be cleaned up)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see anything seriously wrong structurally. I can't comment on performance aspects just from looking at the code, though.
Sure, happy to have a look, but it will be on Friday. |
Thank you for your review. |
It looks ok to me so far. I have compiled both server and client on local machines from the branch I have updated my Wireshark dissector at https://github.com/softins/jamulus-wireshark to display the new messages and the split container fields. I have yet to implement re-assembly of the split packet data parts into a virtual packet for display. |
Maybe you also need to implement a |
You can also simply use a long Chat text message. This will force the message split as well.
Yes, something similar will be the next step. But first things first. Let's for now fix the problems with multiple clients. |
I have run this code on the Central server for days now and it seems to be stable. So I will merge this pull request to master now. You can still put your reviews here and I will consider them on the master branch. |
I've had a look through these changes, and they look OK to me so far. I'll try and add support for these to my fuzzing branch when I get a chance. |
Large Jamulus protocol messages may hit a limit where UDP packets are blocked by some fragmentation issues (see #255). Recently, when a lot of clients are connected to the server, we do not only see this UDP blocking issue for the server list but also at normal operation of Jamulus (i.e. the procol mechanism gets stuck), see #547.
Since the protocol stack in Jamulus is a very critical part regarding stability and security:
@softins Since you are the wireshark/protocol expert, could you please review the code to make sure it works correctly, does not break compatibility and does not crash.
@atsampson I saw that you have done a lot of stability/fuzzing testing for the Issue #314. Since with this new code a lot of the protocol mechanism is changed, I may have introduced new security issues. Could you please review the code and/or test the new code with your fuzzing tools to make sure it still is stable and secure?