The Gateway to Computer Science Excellence
+1 vote
89 views
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 (41 points) | 89 views
0
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

1 Answer

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

 

by Loyal (6.8k points)
edited by
0
why firewalls blocks UDP traffic ?
0
I've updated the answer to include the reasoning.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,375 answers
198,513 comments
105,290 users