Packets can be duplicated by faulty routers and loops in the topology. Happens all the time to me when I'm lost with iptables.
Observed this recently with a bug in Cisco's VSS. Some packets were being duplicated, which destroyed TCP throughput.
Re:UDP vs TCP
by simplehuman on Wednesday December 28, 2016 @08:04PM
(#13274998)
At network level, this is common for broadcast addresses. And also if a switch floods the packet across all its interfaces if it cannot make a routing decision. At app level, this is because the app decided to retry I.e app logic.
It can also be "duplicated" if you have some sort of acknowledge and retransmission on top of UDP itself. If the ack gets lost on the way back to the original sender it'll send another (probably) identical packet.
A classic example is FPV video from drone. There may be reflections in surroundings and you may get packets multiple times!
Re:UDP vs TCP
by other_herbert on Wednesday December 28, 2016 @08:56PM
(#13275189)
Right or a problem in something that could retransmit your packet again.. I did that in my office in the early 00s and took down a 100mbps lan from a few boxes retransmitting packets that weren't meant for them <eg>
This is first time what I read that datagram can be duplicated. Is it true? It's duplicated by network or does it mean that peer send it again?