Questions tagged [udp]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
593 views

Types of packet loss

I am used to the term ICMP Ping Packet Loss but recently, I came across this other term UDP Jitter Packet loss I will like to know the difference between the two, and of what importance it is to ...
1
vote
2answers
229 views

The meaning of TCP port in the network context

When talking about ports, sometimes I read articles that state TCP port while others just say port. Are there some features that make TCP port different from other ports in the OS?
1
vote
1answer
38 views

How the hops and the subnets are influencing NATs and ports ?

I'm a beginner with networking, specifically linux networking, I have a question that I'll split into 2 parts : If I have an x number of hops inside the same subnet ( namely 192.168.1.x ) and my goal ...
4
votes
2answers
15k views

How to find out TCP/UDP latency of your network?

Many people often suggest you to use ping command to find out your network latency. But it is false and a myth you often find in articles on Internet. ICMP ping was never designed to find out latency ...
1
vote
1answer
470 views

UDP and fragmentation calculation

Assume we have a ethernet link with an MTU of 1300 bytes, while an application want to send 5200 bytes of data. How many fragments do we transmitted ? i would say 5, to send 5200 bytes over a link ...
1
vote
1answer
2k views

How TCP hole punching works?

Is TCP Hole Punching similar to UDP hole punching?How it is established between "Peer A" and "Peer B" when both the peers are behind NAT? You can use Peer A and Peer B as example to make it easy to ...
0
votes
2answers
354 views

Do MSS/MTU violate the protocol stack layers independence?

We studied that the beauty of internet protocol suite layers is that each layer is responsible for a piece of the communication process. These layers provide services to adjacent layers and operate ...
2
votes
4answers
937 views

Is a unique TCP/UDP port assigned to a user?

I know that a user is assigned a routable IP to access internet so I was wondering if user is also assigned with TCP/UDP port too? I mean just like there is a specific IP of the destination server ...
2
votes
1answer
155 views

When last was the OSI model layer updated

since reading about the OSI model, which was created since 1984. My question is has there been any revision on the model. Or did the delegate who design the OSI model made it for everlasting. Thanks
1
vote
6answers
10k views

When would one use UDP over TCP? [closed]

It seems TCP is quite a reliable service with error checking, end-to-end delivery assurance etc/, while UDP is a connectionless unreliable service. In what occasion would application engineers use ...
5
votes
2answers
4k views

How does a layer-2 switch work with UDP?

If UDP and/or TCP send packets via IP to an Internet Protocol Address, how can a layer-2 switch forward these? Is this possible or do you need a layer-3 switch?
1
vote
1answer
309 views

Firewall seems to damage/delay packages

I have two networks communicating with each other through a transparent firewall. My problem is that the software using these networks is reporting that it's losing packages. The number of lost ...
1
vote
2answers
16k views

What is the transport protocol used in wget?

wget is basically to retrieve HTTP contents from web servers. I want to know if wget is based on TCP or UDP? I did a search but some resources said it is TCP while others said UDP.
1
vote
1answer
824 views

How to calculate the data rate in 802.11g? [closed]

I know this is not the community to discuss my homework problem but I cam confused because I cannot find a formula that can find data rate for 802.11g standard given modulation, coding rate and ...
1
vote
2answers
643 views

Does UDP multicast overwhelm the network?

I am curious as to whether udp multicast creates a lot of unnecessary traffic on an internal LAN. I assume the obvious answer to me is yes, but is it enough to congest the switch and slow down all ...
0
votes
1answer
709 views

Blocking vs Non blocking IO? [closed]

I have just started network programming and I am a bit confused Does the read and write operations behavior {in regards to blocking or not} change depending if we have a regular file descritpor or a ...
5
votes
2answers
3k views

Why does IKE use UDP instead of TCP?

Why does IKE use UDP, and handle any retransmission itself? (Larger IKE packets may cause UDP fragmentation and are dropped by some ISPs: IKE over TCP.
2
votes
3answers
7k views

Can two different applications bind the same port on a host if they use different protocols?

So my question is quite clear I think. If two applications use different transport layer protocols (e.g. TCP and UDP or something else) can they open the same port number? How does the OS do the ...
3
votes
1answer
195 views

Satellite Internet Connection - Faster Speed?

I acknowledge the fact that satellite internet maybe quite slow and have high latency. This is generally true for TCP applications like HTTP, FTP etc. If a UDP VPN connection was to be setup between ...
2
votes
2answers
184 views

Using as many multicast groups as transmitting devices

We have a set of ~40 embedded devices, each one equipped with a wifi module. All the devices are connected to the same wireless network. All the devices send packets to the same "master" computer. ...
1
vote
1answer
1k views

HPE 1920-8G-PoE+ multicast filtering

I have a switch HPE 1920-8G-PoE+ that is connected to two computers and two access points: Ubiquiti UniFi AP-Pro n450. The access points receive data from many devices. The two computers send UDP ...
2
votes
2answers
2k views

Multicast doesn't get forwarded correctly [closed]

I have a problem with UDP-Multicast with Kubernetes: I have to Kubernetes-Nodes each of them running a pod: Kubernetes-Node-1: - eth0: 192.168.0.2/24 - docker0: 10.1.1.1/24 Pod1 on Kubernetes-...
4
votes
3answers
7k views

Why do i only see QUIC and not UDP during capture in wireshark?

I've been using wireshark and noticed that I no longer see UDP but QUIC, why is this the case?
18
votes
3answers
8k views

What do TCP/UDP add to “raw ip”?

I know that both TCP and UDP are built on top of IP, and I know the differences between TCP & UDP, but I'm confused about what exactly "raw ip" is. Would it be fair to say that TCP & UDP both ...
2
votes
3answers
914 views

Sending raw IP packets over UDP

Can we send raw IP packets over UDP? What are raw IP Packets? UDP is a connectionless and unreliable protocol, is it?
15
votes
3answers
76k views

How to verify that a UDP port is open? [closed]

I have here a dilemma. I have a device that communicates to another remote device but there is a firewall between them. It's a UDP connection, so TCP utilities don't work to test if the specific port ...
2
votes
2answers
108 views

Could long sequences of consecutive zeros cause Ethernet link problems?

I am in the process of debugging an Ethernet communication issue. Basically using Wireshark to monitor the source data the stream was intermittent when the cable was removed and subsequently ...
2
votes
2answers
3k views

Where are UDP packets lost during iPerf test?

I'm testing a 802.11 wireless link using iPerf and the UDP protocol. Using the -b command at the client, I can set the bandwidth to an arbitrary number (e.g. 1 Gbps) that's much higher than the link ...
2
votes
2answers
79 views

Performance of a socket [closed]

What is the difference between the following scenario's. And is there any performance differ due to this. Consider a server provide 5 services like web, mail, file, app and ssh : Each service and ...
1
vote
2answers
536 views

Connecting to a remote computer over cell network with flaky connection using VPN over UDP? [closed]

I was wondering if someone could provide some networking guidance. Any ideas/suggestions are welcome. I am trying to figure out how to reliably connect from my office computer to a computer on-board ...
6
votes
2answers
2k views

What is the reason for the different order of the Source and Destination in a L2 header?

A TCP/UDP header (Layer 4) lists the Source Port, then the Destination Port: An IP header (Layer 3) lists the Source IP, then the Destination IP: An Ethernet header (L2) and a WiFi Header (L2) lists ...
1
vote
1answer
134 views

UDP protocol that can't be used for DDOS?

I'm designing a protocol similar to the DNS protocol but that may return more data. I have the option to use UDP or TCP. UDP is attractive because it is stateless, but it can also be used for DDOS. ...
1
vote
1answer
581 views

why does my openVPN client work over udp, given that i am behind several firewalls [closed]

this is been puzzling me for months now, i tried to google this, but results are often irrelevant, like questions about why is something not working for someone and how to deal with firewall problems. ...
2
votes
1answer
308 views

Linux routing: routing between 2 local interfaces depends on source address? [closed]

The setup is this: The linux system (debian 7 as a VBox guest) has the following interfaces: $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/...
2
votes
3answers
138 views

Is there a way to build a functional (sub)network with devices that have the same MAC Address?

I have a series of modules (similar to a RPi) that run a Linux flavor each having an Ethernet NIC. I have 4 of these and I want to connect them to a switch to be able to send UDP packets to each one ...
0
votes
2answers
1k views

Real time traffic explanation

What is the difference between Best effort traffic and Real time traffic? Is TCP means best effort traffic and UDP means real time traffic? Or anything else?
1
vote
2answers
3k views

Very slow TCP speed and throughtput in contast to UDP

I have been monitoring a 1 Gbps OM2 fiber connection to one switch we have with Smokeping... There seems to be an avg loss of 3-4% for a few days now.. Started troubleshooting using iperf, having set ...
2
votes
3answers
1k views

TCP and UDP port reservation difference and limits [closed]

Considering TCP: When I create a server socket I reserve a TCP port from SO. When a client connects to my server my SO reserves a TCP port different to exchange data. Is there a limit to the number ...
4
votes
3answers
975 views

port numbers for TCP and UDP

Why do we need both source and destination port numbers in transport layer protocols such as TCP or UDP? What is the purpose for having both?
9
votes
4answers
27k views

How to know whether a protocol uses TCP or UDP

Well I know that might sound a stupid question and I believe that the most proper answer will be like I will be able to tell as my experience builds up and I learn more and more about the protocols. ...
4
votes
1answer
147 views

Copying bytes from Wireshark

Should it be possible for someone to export the binary payload (say from a UDP packet) captured from Wireshark and later send this stream as a "valid" UDP packet? Longer story: I've captured a DNS ...
5
votes
2answers
411 views

Does the NAT source UDP port depend only on src ip/port?

Does the NAT UDP port depend only on src ip/port? Suppose I have a two networks connected via a NAT/router using Source NAT. PC A (192.168.0.2) in Network A (with router 192.168.0.1) sends a UDP ...
0
votes
1answer
34 views

Website Forwarder not Forwarding— but is? [closed]

This problem might be a lot simpler than you guys are used to, with an equally simple solution but I'm just not seeing it. So we have a redirect site called: delphonbenefits.com which redirects to ...
3
votes
3answers
3k views

DNS Resolution:<Backwards IP Address>.in-addr.arpa [closed]

Can somebody please explain whats going on here? localuser@localhost:~$ host 127.0.0.1 1.0.0.127.in-addr.arpa domain name pointer localhost. What's up with the IP address being resolved ...
3
votes
2answers
4k views

Should I increase the timeout value for UDP on our VPN router-device?

We have a SonicWALL NSA 2400. We have numerous (100+) personnel in different offices in different physical locations that establish VPN sessions successfully every day. Some of these client computers ...
2
votes
4answers
225 views

Multi-part: TCP, UDP, SSL and Data Pipes

As I understand, TCP packets in a TCP session can take any path in the world to their destination, the path each takes depends on the routing tables of the routers it passes through, resulting in some ...
1
vote
2answers
853 views

Why do routers (and router firewalls) go through so much effort to make peer-to-peer difficult? [closed]

It is not uncommon for large routers to have unpredictable, random port allocation (which cripples UDP hole punching by making port prediction impossible) and for firewalls (not the software firewall ...
0
votes
1answer
85 views

Streaming data with different sampling rates and data types [closed]

I want to build a server/client application, where a smartphone streams real-time data from the device to a stationary computer. They are connected directly via WiFi. The streamed data shall include ...
2
votes
1answer
2k views

Streaming ip camera to many client monitor, udp/rtsp

I need to broadcast an ipcamera to many different spot. Now the system is alredy working but every client read the streaming directly via network. I want to reduce the traffic by sending just one "...
2
votes
2answers
435 views

single connection over multiple internet connections

Hi not sure where to ask this thought this would be the best place, i was just wondering if it was at all possible to have a single connection get the benefit of multiple internet connections. For ...