Questions tagged [udp]

UDP stands for User Datagram Protocol. With UDP applications can send messages (datagrams) to other hosts on a network without requiring prior communications to set up special transmission channels or data paths.

Because UDP doesn't rely on handshaking to guarantee that packets arrive and in order it can be seen as an unreliable protocol, but for real time systems where acting on the data immediately is the most important consideration not having to wait for delayed packets is a distinct advantage.

UDP is just one communications protocol on the web. Others include:

  • Transmission Control Protocol (TCP)
  • Internet Control Message Protocol (ICMP)
  • Hypertext Transfer Protocol (HTTP)
  • Post Office Protocol (POP3)
  • File Transfer Protocol (FTP)
  • Internet Message Access Protocol (IMAP)

UDP on Wikipedia

540 questions
14
votes
3 answers

How to connect to a udp port command line?

This is what I tried,but seems not working : [root@ ~]# netstat -a|grep 48772 udp 0 0 *:48772 *:* [root@ ~]# telnet localhost 48772 Trying 127.0.0.1... telnet: connect to address…
yum
  • 589
8
votes
2 answers

How are UDP source ports selected?

I just did a packet capture from my machine and filtered out all the UDP connections. I saw certain connections using what appears to be a randomly generated UDP Source port, and certain connection using the same Source port as the UDP Destination…
Eddie
  • 103
  • 1
  • 1
  • 4
1
vote
1 answer

Maximum size of empty UDP packet

I want to stuff data into a packet, but I want to make sure that the packet does not exceed 512 bytes, so I need to know what the initial size of a UDP packet is so I know how much data I can put into the packet. I did some snooping around on…
0
votes
1 answer

Transparent UDP intermediary for error correction / retransmission

If wanting to use UDP for performance over TCP, is there something which can act as an intermediary on the sender side and receiver side where packets are fed to it and it sends them over UDP but also handles error correction / retransmission? The…
g491
  • 973
0
votes
4 answers

How are UDP datagrams that don't have me as a recipient reaching my server?

I have a bunch of UDP datagrams reaching my server that look like so: The question is, my IP is not 208.69.57.21, (it was 208.69.57.101) so how are those datagrams even being received/logged by my tcpdump? Also, what kind of attack is this formally…
bobobobo
  • 799
  • 6
  • 14
  • 26
0
votes
0 answers

Nginx UDP Load balancing

We're currently working on implementing a high-availability solution for our UDP tool, Logstash, by using Nginx as a UDP load balancer. However, I'm facing one problem, In our configuration file, we're trying to route syslog traffic to the backend…
-3
votes
1 answer

What does the following UDP connection mean?

What does the following entry mean? Is that mean someone has connected to the server from this IP or somthing else? Nov 23 15:33:54 www-prod-2 snmpd[1573]: Connection from UDP: [66.151.147.194]:47011->[xxx.xxx.xxx.xxx]:161