Questions tagged [udp]

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

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

Access true remote IP from port forwarded server [closed]

I have a server running on port 10200. I have setup port forwarding so that all external ports 10200-10210 are forwarded to my computer, internal IP 192.168.1.152:10200. So far, this works, and I can ...
1
vote
1answer
54 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 ...
24
votes
7answers
10k 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 ...
0
votes
2answers
51 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
86 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
195 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
118 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 ...
1
vote
1answer
52 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
2answers
41 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 ...
0
votes
1answer
73 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
1answer
75 views

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

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
124 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
68 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 ...
26
votes
7answers
6k 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
118 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
395 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
163 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
66 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 ...
2
votes
1answer
189 views

Setting Destination MAC address for RTP/UDP packets

I have a requirement where I have to send the UDP packet to a destination multicast IPv6 address. In addition to that the packets must also have corresponding destination multicast MAC address set. I ...
-2
votes
1answer
284 views

How to send data from one PC to another PC over internet? [closed]

I'm basically a developer, and this is the first time i'm trying to develop a chat application over internet without any servers in between. It's easy to send data from PC to server and then to ...
0
votes
2answers
200 views

How to calculate traffic in bytes from sFlow datagrams?

I want to approximate network traffic in bytes by writing a sFlow collector that receives sFlow datagrams, parses them, extracts key information only and applies a formula that summarizes the traffic ...
4
votes
2answers
73 views

Is it correct to assume that ordering of frames at switch level is not important?

My understanding is that if the payload of the frame contains any data that needs to be reassembled, at least for TCP payload, it can be done at the OS level, once all the packets are received and ...
1
vote
1answer
204 views

TCP or UDP for Stop & Wait / Go Back N

I'm creating server/client classes for "Stop & Wait" and "Go Back N" (variant of sliding window) protocols, though I'm unsure on whether I should pursue TCP or UDP. From my current understanding I ...
6
votes
2answers
3k views

Why maximum length of IP, TCP, UDP packet is not suit?

From many tutorials, I get follow knowledge(maybe I'm misunderstood) : maximum of an Ethernet packet is about 1500 bytes. maximum of an IP packet is about 65535 bytes. maximum of a UDP packet is ...
0
votes
0answers
22 views

Why maximum length of IP、TCP、UDP packet is not suit? [duplicate]

From many tutorials, I get follow knowledge(maybe I'm misunderstood) : maximum of an Ethernet packet is about 1500bytes. maximum of an IP packet is about 65535bytes. maximum of a UDP packet is 65515 ...
0
votes
1answer
226 views

How to plot and benchmark UDP response time?

Our application uses UDP protocol in the transport layer. I'm currently filtering the packet trace with the port and then manually checking the RTT by selecting the packet stream and by using " Set ...
-3
votes
2answers
66 views

How can TCP be used in order to implement DHCP and under which circumstances is this preferable?

I am pretty new to the computer networking studies and was learning about the DHCP protocol. It is implemented based on UDP, as I've gathered, but is there a way for it to be implemented over TCP? ...
0
votes
2answers
52 views

How to know difference between 2 devices connected to the same Wi-Fi hotspot in IPV4?

I am working on a small project to make a client server program to make a connectionless implementation & I want to transmit Information between 2 devices which is connected to the same Wi-Fi ...
4
votes
1answer
218 views

How does the transport layer tell UDP apart from TCP?

So I'm reading Computer Networking: A top down approach (where these images are from) and I was looking at the Transport layer. A generic segment in the transport layer has a pretty simple structure: ...
0
votes
2answers
150 views

Why do UDP connections only require a socket on one endpoint?

I thought for a long time that sockets were defined as an end point of a two way connection, however UDP sockets can be created without the other end making a socket to keep the connection live. What ...
0
votes
1answer
123 views

How is a lost DNS query handled [closed]

If a DNS query gets lost along the way to its destination, is nothing done about it? In my networking class, my lecturer said that DNS runs on UDP. I verified this in Wireshark by doing nslookup for a ...
3
votes
1answer
395 views

How can a UDP Client and a packet sniffer run on the same machine?

In my understanding, if you have a UDP socket client that is bound to a particular port, then a second UDP client on the same machine can't bind to the same port. If this is the case, then how can a ...
2
votes
1answer
123 views

Is there any video streaming online service that actually uses UDP?

We usually hear that UDP is used with data with which a few packets loss/out-of-order can be tolerated like video streaming. And the instructor typically goes on saying "so if you lose a few ...
1
vote
1answer
32 views

Question about output of 'lsof -i' and UDP being connectionless

I'v got a simple setup: Server (IP 10.0.0.33) listening on port 7770 using the command: $ netcat -lup 7770 And a client (IP 10.0.0.2) that communicates with the server using: $ nc -u 10.0.0.33 ...
3
votes
2answers
57 views

How could a response be sent to the requestor without requestor's address?

I'm reading this talking about the differences between two fire-and-forget message (for example, under UDP) and a request-response communication (for example, under TCP). I came across this: The ...
3
votes
1answer
439 views

Packet with wrong source MAC address

When I send a UDP packet with wrong source MAC address but with right source IP address, assuming a reply is sent, will I get the reply because I have right source IP address, or I will not get the ...
0
votes
1answer
231 views

Wireshark udp checksum errorI

I sniffing udp communication with 2 instance of wireshark , 1: 2.0.0 2: 2.2.1 . In version 2.0.0 I get valid udp.checksum , but with 2.2.1 I always get udp checksum = 0000 . Why is that? those ...
1
vote
2answers
386 views

Why is there a difference on the amount of data transferred during a UDP iperf measurement?

I have the following result from a UDP throughput test as measured by iperf3 $ iperf3 -u -t 10 -c 192.168.1.2 -b 100M -V iperf 3.6+ Linux pi-raspberry1 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT ...
7
votes
0answers
372 views

How to control unwanted UDP traffic (Broadcast & Multicast) on Cisco Router 2911?

Please suggest, we are getting UDP traffic either broadcast or multicast in router 2911 which cause 95%+ utilisation of the router. And we got error in link and business impact due to this. Company ...
7
votes
4answers
4k views

Why is a TCP Socket identified by a 4 tuple?

Newbie to networking here. I'm reading the Computer Networking (3rd edition) book, and in section 3.2 they are discussing multiplexing / demultiplexing for both UDP and TCP. In the UDP protocol, a ...
7
votes
2answers
2k views

How does NAT work with incoming UDP packets from unknown IP

Apologies in advance for the relatively noob question and if this is off topic here ( I am not sure...) The situation is that I have a UDP client and server bound to the same port. My understanding ...
2
votes
1answer
484 views

How IP datagram know its upper layer protocol?

Hi I'm a newbie in networking, I just want to know how IP datagram know its upper layer protocol is TCP or UDP? I know there is protocol field inside the IP datagram header that can tell the layer ...
1
vote
2answers
372 views

How does the server know how to respond to a UDP packet? [closed]

As far as I know, UDP ports and OS sockets are mapped only by the (local port, local address) pair. In other words, the receiver side's OS does not keep a state of (remote port, remote address) pair (...
1
vote
1answer
222 views

User Datagram Protocol (UDP) protocol can error control?

UDP can congestion control? UDP can flow control? UDP have some error correction mechanism?
1
vote
1answer
110 views

HP MSR2004 router is not processing udp through nat

I set up a new HP MSR2004 router for a corporate network. The network uses an internal private net and has one static public ip address. Surfing the web and all tcp related things seem to work fine. ...
6
votes
3answers
681 views

Is UDP Usage in Routing Information Protocol (RIP) a Secure Practice?

I know that UDP is a connectionless transport layer protocol. Since it is easy to fake your source IP and source Port in your headers, what keeps anyone from poisoning routing tables via RIP? It seems ...
3
votes
1answer
160 views

rate-limit dns queries on HP procurve 8212zl

I had ast week the situation that a user accidentally got our DNS server to its knees by sending over 270K DNS queries to our dnsmasq. I was looking for a reliable method to prevent this Happening in ...
0
votes
1answer
185 views

NS2 program specifications questions

I am using the Network Simulator NS2 program (https://www.isi.edu/nsnam/ns/) in order to simulate a simple network topology with 1 UDP agent and 1 CBR Application Traffic sending data from a node over ...
5
votes
1answer
597 views

How does UDP NAT Know When To Remove The Rule

So say you are a user behind a NAT/router on an internal network. You begin sending UDP data to an internet-facing server. The packet hits your router, it inserts an entry to allow returning packets ...
0
votes
1answer
122 views

Udp broadcasting for communicate with a device who has the same IP address , is it possible?

I was thinking about broadcasting in an ad-hoc local area network, then i asked me a question.Assuming that this LAN is made of 2 pc, if this pc have the same IP address, Can i send udp packet from ...