Is a UDP packet guaranteed to be complete, practical sense, if delivered?

network-programming, packets, security, udp

Solution

No for two reasons:

- UDP checksums are not mandatory (with IPv4). So corrupted packets can be delivered to applications.

- Internet checksums can clash much more frequently than other hashes. So even if the checksum matches, the data may be corrupted.

Problem

Is it a well known fact that UDP (User Datagram Protocol) is not secure, because the order of the packets sent with it may not be delivered in order, even at all. However if an UDP packet is delivered. Are the information in that packet in practical sense (99.99% and above), guaranteed to be correct? Is a UDP packet quaranteed to be complete (not corrupted) if delivered, in practical sense (99.99% and above)? Thanks in advance!

Original source