News for hackers. Stuff that matters.
Re:Why do UDP packets get dropped? by richardwhiuk on Wednesday August 31, 2016 @10:57AM (#12398779)
Dropping TCP is normally preferable, I'd have thought, as it'll cause the TCP socket to back off. Dropping UDP is less likely to lead to such behaviour.
Re:Why do UDP packets get dropped? by justicezyx on Wednesday August 31, 2016 @12:16PM (#12399396)
TCP is rather sensitive to dropping. Very small fraction of package drop cripples TCP connection's throughput. It is a well-known research topic in TCP; and probably is the holy grail in the field.
Re:Why do UDP packets get dropped? by snuxoll on Wednesday August 31, 2016 @11:16AM (#12398918)
It's more because UDP is designed to be an unreliable protocol, packet losses are expected to happen and applications will have deal with it - meanwhile dropping a TCP packet may cause the congestion control algorithm to back off, but you're guaranteed to waste more traffic while those TCP sessions figure out WTF happened and retransmit.
Re:Why do UDP packets get dropped? by theandrewbailey on Wednesday August 31, 2016 @12:00PM (#12399268)
UDP isn't designed to be unreliable. It inherits the reliability of what it's built and run on, and doesn't compensate for it.
Re:Why do UDP packets get dropped? by wlesieutre on Wednesday August 31, 2016 @12:58PM (#12399753)
It's designed to be unreliable in the same way that a car with crumple zones is designed to be driven into a wall.

Of course dropping traffic isn't the intended purpose of the protocol, but it's designed to allow unreliable communication when you're stuck with that situation.

Re:Why do UDP packets get dropped? by justicezyx on Wednesday August 31, 2016 @12:17PM (#12399409)
UDP should be considered in the context of IP network and TCP. In this canonical and typical context, it is designed to the unreliable alternative of TCP, as an IP transport layer protocol.
Re:Why do UDP packets get dropped? by falcolas on Wednesday August 31, 2016 @04:14PM (#12401144)
I recall reading that UDP was left as such a thin wrapper over packets so that when another protocol like TCP was found to be the wrong solution for a problem, you could easily build your own reliability and congestion protocols over the top of UDP.

Of course, I think that reference was in a book, so I can't find it now.

Re:Why do UDP packets get dropped? by dasil003 on Wednesday August 31, 2016 @12:18PM (#12399416)
Semantics. There was a conscious decision involved.