You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

UDP datagrams are blocked when fragmented?

edited Jan 16, 2025 2:18AM in Arm Compute 1 comment

Hi! — Oracle Ubuntu 24.04.1 on ARM free tier.

The problem is that UDP works only when the datagram sent is small enough to fit without fragmenting. If it needs to fragment, only the first fragment is transmitted. This breaks all kinds of applications that use UDP.

For example, on the cloud server I do:

netcat -u -l -p 5432

And on the client side:

dd if=/dev/zero bs=1 count=1000 2>/dev/null | base64 | netcat -u 123.123.123.123 5432

…that works fine: I see output on the server side. But if I do on the client side count=1200 instead:

dd if=/dev/zero bs=1 count=1200 2>/dev/null | base64 | netcat -u 123.123.123.123 5432

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!