in Computer Networks
1,037 views
1 vote
1 vote
5. Why is it that voice and video traffic is often sent over TCP rather than UDP
   in today’s Internet? (Hint: The answer we are looking for has nothing to do
   with TCP’s congestion-control mechanism.)
in Computer Networks
by
1.0k views

1 comment

the difference between UDP and TCP is fast and reliability.

Now-a-days, we have more bandwidth compared to last generation therefore no problem of resource allocation, this may be one of the reason.

i am not sure, i am also interested to know
0
0

1 Answer

0 votes
0 votes

One answer might be that in most of the cases, firewalls block incoming UDP connections. Hence, using TCP would be a better option.

Although the caveat to this is that due to its promise of reliability, TCP can be slow compared to UDP, thus resulting in lower efficiency.

EDIT:

Why is UDP traffic blocked?

Usually, when it comes to UDP traffic, you want to be restrictive because:

a) Compared to TCP, it is harder for a packet filter to reliably determine if an incoming packet is an answer to a request from inside the network... or an unsolicited request. Enforcing client/server roles via a packet filtering firewall thus gets harder.

b) Any process that binds to a UDP port on a server or client computer, even if it only binds to that port because it wants to make a request itself, will be exposed to unsolicited packets too, making system security dependent on there being no defects in the process that would allow exploiting or confusing it. There have been such issues with eg NTP clients in the past. With a TCP client, unsolicited data sent to that client will, in most cases, be discarded by the operating system.

c) If you are running NAT, heavy UDP traffic can create a lot of workload for the NATing equipment because of similar reasons as in a)

Source: https://serverfault.com/a/755696

 

edited by
by

2 Comments

why firewalls blocks UDP traffic ?
0
0
I've updated the answer to include the reasoning.
0
0

Related questions