Questions tagged [udp]

For questions about User Datagram Protocol, a Transport Layer protocol.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Why is my chromecast talking to my mac on port 8009? [closed]

I was performing a wireshark capture for something else when I noticed an abundance of traffic between two local ips: my macbook and my chromecast. It seems they talk primarily over tcp port 8009, ...
-1
votes
1answer
57 views

Why the pseudo-header is not transmitted with the UDP datagram?

I have read from E. Comer - Internetworking with TCP/IP 4th edition that "The purpose of using a pseudo-header is to verify that the UDP datagram has reached its correct destination. The key to ...
0
votes
1answer
27 views

UDP checksum calculation for checksum results in the value zero

I read UDP checksum from Wikipedia that "If the checksum calculation results in the value zero (all 16 bits 0) it should be sent as the one's complement (all 1s) as a zero-value checksum ...
0
votes
1answer
47 views

Why UDP checksum is optional for IPv4?

We know that IPv4 header has checksum for header not for data .Therefore for checking data error we need checksum in transport layer. Suppose we're using UDP in layer 4. So if I remove the checksum ...
0
votes
1answer
32 views

How UDP checksum get IP address to make pseudo header in transport layer?

We know that UDP checksum's pseudo header contains the most important parts of the IP header, that is, source and destination address, protocol number and data length. I hope that the concept of IP ...
1
vote
2answers
1k views

How is UDP used in multimedia system inspite of being connectionless

We know that UDP does not care about segment (packet) in-order and their arrival on the destination.Then how on YouTube or VoIP (skype) are we able to stream videos? If a packets is lost (doesn't ...
0
votes
1answer
37 views

Is there any research that tracks fragmentation and drop rates of UDP packets based on size?

I'm designing a P2P system. I need to decide an ideal packet size that maximizes the efficiency of my system. This answer claims a 508 bytes is the maximum safe size, but I believe larger packets ...
0
votes
1answer
28 views

Are NAT external:internal mapping types the same for UDP and TCP

Suppose I use a STUN server (UDP) to determine that a client's NAT randomly assigns external port values. Does this imply that the client's NAT will also assign random external port values when using ...
2
votes
1answer
51 views

Is the distinction between ports under and above port 1024 exists only in TCP and UDP protocols?

Is the distinction between ports under and above port 1024 exists only in TCP and UDP protocols? I want to know if in other protocols (i.e. not TCP and UDP) such a distinction between "root" ...
1
vote
1answer
40 views

Does UDP can be exposed to stateful analysis?

From protocol theory we know that TCP is stateful protocol. Different stateful packet filters do filtration based on connection state. I.e. it can distinguish responses and replies. It's obviously for ...
0
votes
1answer
47 views

Is UDP a Transport Layer Protocol in the TCP/IP model?

In some tables explaining the TCP/IP model, both UDP and TCP are set as examples as protocols for the Transport Layer. Does this mean that UDP is part of the TCP/IP protocol suite?
0
votes
1answer
28 views

The origin of the name UDP

I was wondering, UDP being broadly defined as a connection-less, unreliable protocol giving applications control over messages sequencing and flux control, is it correct to say that the "User&...
1
vote
0answers
15 views

How to send 10-20KiB with UDP semantics? [closed]

I have volatile traffic, of 10-20KiB, that I want to send with UDP semantics. I have measured packet loss between several servers across the internet. In testing, I can reliably get 32KiB UDP packets ...
1
vote
1answer
63 views

Does UDP's lack of congestion control clog up the Internet?

I'm reading Computer Networking: A Top-Down Approach, and from what I understand, UDP has no widely adopted mechanism for congestion control like TCP does. Isn't this a problem for the Internet as a ...
1
vote
1answer
44 views

What is the equivalent of "ethernet frames" for satellite communications?

I'm currently implementing error-correction for a UDP-based network protocol. We chose to implement error-correction in order to reduce the number of packet re-transmissions. The architecture is very ...
16
votes
3answers
3k views

Why does one say IP fragmentation is bad and to be avoided when in reality data always needs to be fragmented for MTU compatibility?

Why does one say fragmentation is bad and must be avoided due to performance issues when in reality fragmentation intrinsically occurs within the communication ? Example: User1 wants to send 100 000 ...
1
vote
2answers
24 views

Resegment incoming TCP/UDP packet

The question is as follows: what is the algorithm to resegment an incoming TCP/UDP packet? So, for example, I have a TCP packet, which size is more than some number, and I want to split this packet ...
0
votes
1answer
15 views

How to ensure packet was created within certain time?

I am creating a custom protocol over UDP and I want to use a low number of bits for the sequence number. This means that the number can wrap relatively fast. Is setting the TTL for the outgoing ...
0
votes
1answer
62 views

CISCO: Copy one UDP unicast packet to other destination

I have following scenario: host A and host B are sending to each other unicast UDP packet. I need that same message from host A will arrive also to host C - with new DST address. How to configure my ...
1
vote
1answer
64 views

Is there any other network protocol than tcp/udp that works with ports?

Do you know at least one protocol (any OSI layer) that, like tcp and udp, works with ports ? Thank you
0
votes
1answer
19 views

DNS request on google.com. with QTYPE = 0xff returns no entries [closed]

Ive written my own DNS request client but I'm having some interesting behavior. If I send the request with the QTYPE section = 0xff, I get a valid response however with no entries. My Request: 0x70 ...
44
votes
7answers
15k views

Does UDP do anything at all?

It's my understanding that TCP has logic for ensuring reliable communication, but UDP just naively sends information along the channel set up for it using IP and things in lower layers. Does UDP ...
0
votes
1answer
35 views

How might ARP impact the UDP communication and what is a scenario i can reproduce to check/understand it?

I was wondering which impact the ARP protocoll might have on a UDP communication. I am learning for an exam and trying things out with mininet (linux )/ wireshark to understand the dependencys between ...
1
vote
2answers
195 views

Is this UDP diagram wrong?

I was just wondering if anyone can tell me why all UDP diagrams I have seen list a request from the server to the client as the first point of communication? Take a look at the following diagram for ...
0
votes
3answers
62 views

Is the length header used to indicate the end of a segment?

I was reading a textbook which says the need of length header for UDP: The length field specifies the number of bytes in the UDP segment (header plus data). An explicit length value is needed since ...
1
vote
2answers
367 views

How does UDP control the flow of data in file transferring?

I know that transferring files over UDP is possible even though TCP is preferred. My question is how does the server know how much the client can handle or vice versa, or any router in between. TCP ...
-2
votes
1answer
47 views

How UDP protocol Number is 0x011?

How UDP protocol number is 0x11 when it's supposed to be 0x17 According to ianna website
0
votes
2answers
38 views

multicast udp streaming dst and src address assignment

If I am streaming on a host using the internet outside my nat, how is multcast addressing work with respect to streaming for example, if the application outside sends to 224.0.0.1 how is the packet ...
-1
votes
1answer
33 views

Real time video streaming over TCP [closed]

One of the topics I have been following for quite sometime is real-time streaming. Over the course of my research everyone suggested and says WebRTC (based on UDP) is the only solution to achieve real-...
0
votes
1answer
76 views

When port-forwarding, will a port only be listed as OPEN if the service host is actually reachable?

I'm fiddling around in my lab today and attempting to learn more about port-forwarding. I've noticed that when I set up port-forwarding for a given port and run a port scan from outside the network, ...
2
votes
1answer
86 views

Does UDP perform packet re-ordering at the destination?

User Datagram Protocol is a simpler message-based connectionless protocol. Connectionless protocols do not set up a dedicated end-to-end connection. Communication is achieved by transmitting ...
27
votes
8answers
21k views

Why does DHCP use UDP and not TCP?

DHCP uses UDP as its transport protocol. DHCP messages that a client sends to a server are sent to well-known port 67 (UDP—Bootstrap Protocol and DHCP). DHCP Messages  that a server sends to a client ...
1
vote
2answers
201 views

Which port determines the protocol?

If we have a common protocol port on both ends.. say source point is 443 and destination port is 80 (hypothetical situation, I know this combination of ports probably makes no sense).. how do we ...
0
votes
2answers
65 views

How does UDP provide continuous sound in VOIP even though segments are discrete?

I would like to know how does UDP achieve continuity in VOIP or in any streaming service.
1
vote
1answer
106 views

ports and security

I'm thinking about how the "port" operates for the network connections and tried reading the CCNA cert. guide to understand the details, however, I need to clarify doubts: does occupying all the TCP/...
1
vote
4answers
9k views

Why ICMP Destination Port Unreachable error messeage is generated for unreliable UDP packets?

My doubt is why an icmp destination port unreachable error message generated for udp. Why we can't simply discard the udp packet if the destination port is not reachable by saying udp is connection-...
0
votes
1answer
523 views

UDP in wifi getting excessively buffered [closed]

We are using a wifi-enabled device that receives a stream of UDP packets (30 per second). It is very important for us to receive these messages without lag, that's why we are using UDP and not TCP ...
2
votes
1answer
300 views

How does a DNS response reach a client behind a NAT?

How does a DNS response reach a client behind a NAT? I'm talking about DNS queries using UDP for transport with a server that is not in the same network as the client. Does the NAT correlate the ...
0
votes
1answer
42 views

Pros and cons of the idea of parallell data transmission

I am learning the basics of internet protocols and related principles. I recently performed experiments comparing UDP and TCP. But when I did that (using the ttcp program) it was only one process and ...
0
votes
2answers
61 views

Forcing UDP traffic from specific ports [closed]

Is it possible that all traffic from computer 1 towards computer 2 go thru udp port D of computer 1 and received at udp port B of computer 2. Similarly all traffic from computer 2 towards computer 1 ...
1
vote
1answer
539 views

what is the definition of out degree and in degree in computer networks?

in wikipedia we have a good definition for in degree and out degree in a graph: " The degree of a node is the number of connections or edges the node has to other nodes. in-degree is the number of ...
0
votes
2answers
125 views

If you're behind a firewall and all the ports are blocked, how is your browser able to access the internet? [closed]

I'm behind a router and I'm able to run game servers on my home computer after forwarding ports or using the DMZ feature on the router. However, I still don't understand the underlying technology as ...
0
votes
1answer
944 views

Is UDP Hole Punching possible if the network of one peer has multiple external IP addresses?

I've developed an implementation for UDP hole punching that works for most use cases that I've come across. However, one of our offices has a network configuration where we have two ISPs providing us ...
0
votes
1answer
209 views

Avoid bottleneck in UDP multicast

The question is that a server is serving a multicast group with UDP. Lets say that its a file server and it will be serving big files (~10GB). Now we have a multicast group with multiple clients. Some ...
28
votes
7answers
7k views

Why isn't UDP with reliability (implemented at Application layer) a substitute of TCP?

TCP provides reliability at transport layer while UDP does not. So, UDP is fast. But, a protocol at application layer can implement reliable mechanism while using UDP. In this sense, why isn't UDP ...
2
votes
1answer
736 views

Collect UDP packets lost during iPerf test

I'm testing my network infrastructure where I'm using iPerf and UDP protocol. I'm using the following: On the server side: ubuntu@ip-172-0-1-11:~$ iperf -s -u and the client side: ubuntu@ip-172-2-...
1
vote
2answers
4k views

How to measure max bandwidth with Wireshark?

I'm trying to measure the max bandwidth usage of my LAN with Wireshark. I´ve done several packet captures but I don't know how to obtain the max bandwidth usage. Any Idea? Thank you in advance
0
votes
1answer
832 views

Weird Wireshark protocol list (eth:ethertype:ip:data where is the "udp"?)

I am capturing incoming and outgoing WAN to LAN data at a particular host on my LAN (i.e., the one actually receiving/sending the data). Sometimes I get anomalous captured frames that are missing the ...
0
votes
0answers
168 views

Unable to get NetFlow flow in Cisco CSR1000v on AWS

I'm trying to use NetFlow Traffic Analyzer of SolarWinds or any NetFlow Monitor in my Cisco CSR1000v routers which are deployed on AWS. I am unable to see any NetFlow flows in the NetFlow Traffic ...
8
votes
6answers
5k views

Could IPv6 make NAT / port numbers redundant?

From what I can tell, each process could get its own IP address, with loads of IP's to spare. What would the drawbacks be? Essentially, your host would become a router and each process is a host (in ...