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.

learn more… | top users | synonyms

3
votes
1answer
751 views

Difference between /dev/udp and netcat

I have a syslog server listening on localhost:514 as UDP and would like to write messages to it on that port. (Using Ubuntu 14.04) If I run either of these commands this from bash it prints the date ...
3
votes
2answers
210 views

Finding the executable sending packets to a specific IP Address?

We host Game Servers off of Windows Server 2008 machines, and we just received a report that one of our customers is using their server to do some type of UDP attack. The person being attacked ...
3
votes
1answer
1k views

How to add a broadcast address to loopback with ifconfig on a OS/X?

I am trying to use ifconfig to turn on broadcast on my loopback interface. It currently reads: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 As you can see, no broadcast address! :(...
3
votes
1answer
1k views

tcpdump udp data capture latency

I am using tcpdump to capture UDP packets and analyze network latency between a UDP broadcaster and my server. To calculate latency I compare the source host timestamps reported in UDP application ...
3
votes
2answers
207 views

Port Knocking and TCP/IP within the OSI model

I have read that Port Knocking can be subject to false negative (type II error) due to the optimization techniques of TCP/IP. A correct port knock given by the client may be read as incorrect by the ...
3
votes
1answer
4k views

Netcat - Listen for Multiple UDP Connections

I'm trying to use netcat to debug SIP calls, which communicate over UDP. Is there a way to get the same netcat instance to listen to multiple UDP Connections? I've tried connecting to the same netcat ...
3
votes
2answers
6k views

UDP traversal through router automatically without router port forwarding?

Everyone knows the router is working like a firewall. Without port forwarding, a connection (no matter TCP or UDP) cannot be initiated from outside of the router. However, if a user initiate a TCP ...
3
votes
1answer
37 views

Segmentation fault when running nuttcp inside Docker

I am measuring the UDP throughput between two Docker containers that are connected by Docker's native overlay network. I already used iperf but also want to measure the throughput with nuttcp. But ...
3
votes
2answers
3k views

Need a live UDP echo Server IP and port

I require to test my UDP program using echo server. I have tested this application in LAN but now I require it to test it in Internet. Is there and globally recognize freely available well known ...
3
votes
1answer
2k views

How does an Access Point handle broadcast packets from the wired side?

I have an Cisco AP 1242AG autonomous AP connected to L2 switches. Let's say I have 100 wired devices each sending 2 broadcast UDP packets per second. Obviously these packets will reach the Access ...
3
votes
1answer
951 views

Does Windows XP automatically reassemble UDP fragments?

I've got a Windows application that receives and processes XML messages transmitted via UDP. The application collects the data using Windows "raw" sockets, so the entire layer 3 packet is visible. ...
3
votes
2answers
135 views

NetBIOS over TCP/IP with no UDP

Is there a way to run NetBIOS entirely on TCP? I have an environment where UDP is not allowed. I need a way for the machines to talk to each other by name. I thought there might be a way to say that ...
3
votes
3answers
2k views

udp through nat

I've two private networks (each of them behind a typical dsl router). The routers are connected to the WWW. The extern interface of each router have one dynamic IP address. I want to stream data via ...
3
votes
2answers
2k views

Load Balancing UDP traffic transparently [closed]

Are there any products (preferably open source) that can load balance UDP packets transparently? We need to scale our syslog servers and require the original source IP be kept intact. Alternatively ...
3
votes
1answer
2k views

How to force use of tcp instead of udp for rpcbind?

I'm trying to use tcp/111 for rpcbind under Debian Wheezy instead of udp/111. The portmap in Squeeze uses tcp/111 without any special configuration, but Wheezy fails. Even numerous sites (as well as ...
3
votes
2answers
6k views

Traceroute, ICMP, UDP and TCP

When does traceroute use TCP? Or does it just use UDP, also why does Traceroute use UDP on MacX and ICMP on windows? I thought ICMP just contains a message saying what caused the error of a packet and ...
3
votes
2answers
2k views

Many clients on a wireless AP for UDP broadcast packets

I asked this question on StackOverflow and was directed over here, so I'd appreciate any advice. I'm deploying a smartphone application as part of a live music performance that depends on receiving ...
3
votes
2answers
252 views

Service to temporarily queue UDP packets

I have a service running on a linux box that receives a fairly constant stream of packets via UDP. The occasional loss or corruption of packets associated with using UDP is fine. However, the service ...
3
votes
1answer
565 views

one particular laptop does not receive UDP broadcast messages

I am trying to debug a problem with a particular laptop which is running Ubuntu. We have a service which uses broadcast UDP messages, and this laptop is not receiving them on its wireless interface, ...
3
votes
1answer
4k views

Reverse proxy for mixed tcp, udp, and http services

I'm building an architecture that will be hosting various services which individually maybe listening on a variable number of ports that could be mixed protocols. I want to map these services to ...
3
votes
2answers
4k views

UDP port appears to be in use but is not shown in netstat or TCPView

I've encountered some strange behavior I don't understand. I'm installing software on a Windows 2003 Server. This software needs to bind to a specific UDP port an all TCP addresses in order to listen ...
3
votes
1answer
581 views

UDP Packet Size.. max, ping failing to 3G.. Recalcitrant software vendor

We have a network of 330 clients (Service Vans) connected via 3G to our central office. Currently these clients are connected via a small ruggedized 3G router that establishes the 3G connection and ...
2
votes
3answers
8k views

Why is UDP slower than TCP on Ubuntu Server?

I transfer data between two Ubuntu Servers (12.04) via iperf on 1Gb LAN. iperf -s <-> iperf -c <addr> -n2G TCP speed = 925 Mbits/sec iperf -su <-> iperf -uc<addr>...
2
votes
1answer
181 views

Interactive shell based on SSH and UDP [closed]

I've heard from a friend about a client-server application which initializes on top of SSH connection but implements interactive shell over UDP protocol. It is specifically designed for bad quality ...
2
votes
2answers
1k views

IPtables: is there a minimum UDP packet size for a DNS lookup?

IPtables for a virtual dedicated server. I would like to block UDP scans and I was wondering whether there's a minimum packet size for a DNS lookup? Nmap sends 0-byte UDP packets (source : http:...
2
votes
4answers
2k views

How can I reject all incoming UDP packets except for DNS lookups?

I set my server to reject ALL incoming UDP packets, to prevent UDP floods. However, I was told that because I use my own domain and server for my nameservers, this can cause some problems. How can I ...
2
votes
1answer
3k views

Filter incoming traffic to UDP port for pci compliance

It had been recommended for PCI compliance that I filter incoming traffic to UDP port 5353 please can someone advise what are the steps to do this? I am currently using Centos 5.7 64 bit.
2
votes
4answers
3k views

How does UDP track connections?

If UDP does not establish a connection as TCP does.. it seems the only way it could track connections is source ip/port and destination ip/port. Is this correct? So, I guess there are special packets ...
2
votes
2answers
272 views

In need of a SNMP repeater

I have a monitoring system that has primary/failover nodes for just about every aspect. I have configured anything that is able for multiple SNMP trap destinations, but I do have a number of devices ...
2
votes
1answer
8k views

Why does VPN IPSec client use UDP?

The VPN I use on my home Windows computer to connect to my company's servers is a Cisco client. The client is configured to use "IPSec over UDP (NAT/PAT)". Why would you use UDP, an "unreliable" ...
2
votes
2answers
2k views

UDP and NATs - is the timeout bidirectional?

Is the timeout for an UDP connection through a NAT reset every time a packet is sent OR received by the client, or are there any (common) implementations that require the client to actively send ...
2
votes
2answers
554 views

Multicast IP Addresses

I posted this on StackOverflow and was told it might be more appropriate here. I'm having trouble understanding how multicast addresses work. First off, is it true that if I have N clients or peers ...
2
votes
3answers
6k views

Wireshark won't pick up packets sent from localhost to localhost via network [duplicate]

I'm running on Windows and trying to get Wireshark to pick up my network traffic. It picks up all outbound and inbound traffic fine, except for a client/server I'm running on my local system. As it is,...
2
votes
1answer
620 views

Cat a file(raw) to UDP at specific bitrate

I'm looking for a way to transfer a file over UDP at an specific bitrate. I can use netcat for example like this: cat file | nc -u 192.168.x.x 5000 And I use a custom application to listen at port ...
2
votes
2answers
126 views

Minimal size of TCP communication

I am sending small amounts of data (up to 100 bytes) every 10 minutes from devices to TCP server. In my case overhead seems to be huge (we pay for each byte). I found that I have at least 7-10 packets ...
2
votes
1answer
122 views

difference between local port range & UDP sending port using dig on Debian nameserver resolver

When i go to my local port range on Debian 7, i can see that my ephemeral port range is: cat /proc/sys/net/ipv4/ip_local_port_range 32768 61000 My /etc/sysctl.conf is empty. Normally that would ...
2
votes
1answer
241 views

Is Linux limiting my application's UDP transfers, and how can I see it?

I am currently developping two applications to work over a custom video streaming "protocol". Basically: The server captures video frames from a webcam, slices them into parts, and sends these parts ...
2
votes
1answer
760 views

UDP Proxy with cloned packets

Having UDP messages sent from dynamic public IP periodically to public IP X:20000. Need a proxy that listens in IP X:20000, then forwards duplicate/clone packets to X:20001 and a different machine ...
2
votes
2answers
189 views

What is the lowest udp source port for puppet dns queries?

On CentOS 6.4 and 6.3 I have seen puppet regularly use ports below 32768. This is contrary to the setting for kernel-assigned ports according to: cat /proc/sys/net/ipv4/ip_local_port_range 32768 ...
2
votes
1answer
1k views

Does hole punching require a UDP rendezvous server Or could it be a TCP one?

I'm trying to get my head wrap around this issue... I would like to connect two users... Those users are already connected to a TCP server, which is aware of both public ip and connection TCP port. ...
2
votes
2answers
4k views

Can I test broadcast packets on a single machine?

I want to have a server sending broadcast UDP packets and two other clients, in the same machine, receiving them. Can I do that somehow? What IP address would I use? @gravyface gave me hope but I ...
2
votes
1answer
980 views

Creating a simple UDP listener [closed]

The situation is this: I'd like to make a hole punching server for a game and I need to listen to UDP traffic. It will run on a Debian Squeeze VPS so I'm pretty flexible as far as possibilities go. ...
2
votes
1answer
668 views

Block UDP traffic by rate/string-match on Windows 2008

I am administrating a Windows 2008 server (64-bit). It is being subjected to a focused set of DOS attacks where UDP packets are sent to a specific port and contain a specific string. What I need to ...
2
votes
1answer
3k views

Forward broadcast to fixed IP using IPTables

I need to forward (route) broadcast packets from several wireless clients to a single server in the fixed network. The wireless and fixed network are not bridged for security reasons. With the ...
2
votes
3answers
5k views

Why isn't my ip helper-address helping?

I have a hub site with a Cisco 2811 and several remote sites, running a mixture of Cisco 851 and 871 routers configured for site-to-site VPN. I am in the process of adding DHCP scopes and DNS zones ...
2
votes
2answers
2k views

Broadcast UDP over VPN

I have OpenVPN configured and have 5 dd-wrt router clients. I would like the machines on those routers to be-able to UDP Broadcast across all 5 networks. I cannot bridge the interfaces(to my ...
2
votes
2answers
263 views

Can IP spoofed traffic get above the transport layer?

I'd like to know whether you could get packets with a spoofed IP address above the transport layer. My thoughts are: TCP: No, as acknowledgements would never get to the original sender if their IP ...
2
votes
2answers
10k views

What is the default TCP window size on Windows Server 2008?

What is the TCP (and UDP) default window size on Windows Server 2008? I think it's 1480 bytes, but I'm not sure. Can it be changed? How?
2
votes
2answers
1k views

Does Azure support UDP Broadcast?

I am aware that Azure supports UDP, but does it support UDP broadcast? I am wanting to use the Jenkins Swarm plugin, which requires UDP broadcast for new slaves to join the master.
2
votes
1answer
2k views

rsyslog udp forwarding truncates at 2048 characters

Rsyslog on a RHEL 6 server is receiving messages locally on port 514 UDP. These messages are sometimes much larger than normal syslog message sizes. I am seeing rsyslog handle all of the messages ...