Questions tagged [udp]

User Datagram Protocol (UDP) is defined to make available a datagram mode of packet-switched computer communication in the environment of an interconnected set of computer networks. This protocol assumes that the Internet Protocol (IP) is used as the underlying protocol.

Filter by
Sorted by
Tagged with
2
votes
1answer
9k views

create a UDP to serial bridge with socat

I have a piece of software that transmits data over a UDP connection. However in our system we can transmit data only over a serial port. I was thinking of making a bridge between a UDP and serial ...
1
vote
1answer
3k views

What UDP destination port(s) does mtr -u use?

traceroute sends UDP packets to port 33434 (and up) by default. I assume mtr -u (manual, homepage, github) does the same, but I can't find any documentation or test results to verify the destination ...
1
vote
2answers
806 views

UDP reverse proxy

Is there any easy way of doing userspace UDP reverse proxying? Specifically, I want the equivalent of ssh -R 10000:localhost:10000 $server but for UDP. I want this approach to be unreliable in the ...
0
votes
1answer
1k views

ncat v7.6 UDP -k and -w not working as expected

At work ( BSD nc version ) and on many internet examples ncat can listen to udp and be used with the following options : -k which allows multiple connections -w 0 which terminates the current ...
0
votes
1answer
1k views

How to route all snmp request to remote deivces from a local machine through a proxy server

I have to forward all snmp request to remote deivces from a local machine to proxy server. Is it possible ? The actual requirement is like i have set of network devices that are only accessible ...
0
votes
1answer
387 views

systemd service - udp broadcast can't reach other machine

I have a service located under /usr/lib/systemd/system. This service runs the app that i've been developing (.net core 2.0). Same app runs on different machines (centos7 both). They use udp sockets to ...
2
votes
1answer
1k views

UDP socket in UNCONN state when using iproute2's ss

While editing some firewall rules on a machine that has an OpenVPN client running, I was trying to determine its remote port, as I usually do, using ss. # ss -anup | grep openvpn UNCONN6528 0 0....
0
votes
0answers
2k views

How to confirm if rsyslog transmit only UDP mode

We have rsyslog conifigured and configured is as below $ grep -vE '^#|^$' /etc/rsyslog.conf $ModLoad imuxsock # provides support for local system logging (e.g. via logger command) $ModLoad imklog #...
1
vote
1answer
1k views

Send UDP Packet to Memcached via Netcat

I am attempting to send the stats command to memcached via netcat, however, I am not getting anything back from memcached... I have tried echo "stats" > commands.txt nc -u 127.0.0.1 11211 < ...
2
votes
0answers
200 views

Application cannot receive UDP packet from Sony camera

I have a scenario with three devices: Android-Smartphone, Linux-Laptop (Linux mint) and a Sony a7R camera. My goal is to talk to the camera using the laptop and Sony's http-SDK via WiFi (Cam opens an ...
1
vote
0answers
119 views

Debian configure OpenSIPS for Websocket and UDP

I'm trying to configure OpenSIPS with OverSIP so that I could make a SIP call between a webrowser and a sip client app like Yate or Linphone. The call between two client apps (Yate/Linphone) works ...
3
votes
0answers
498 views

UDP Multicast not seen on PiZero with Raspbian

Looking for help troubleshooting my missing UDP Multicasts. Some background... So I finally got an Amazon Echo and was playing with fauxmo on my PiZero to see if Alexa could find my device, but she ...
1
vote
0answers
1k views

UDP hole punching with a third party

I am now convinced that direct "UDP hole punching" between 2 people each of them behind a NAT, without 3rd party server is really difficult / sometimes impossible (see question here and my answer ...
1
vote
1answer
848 views

What is the OpenVPN port range?

The default UDP port for OpenVPN is 1194. Is there a port range for OpenVPN, and if that is the case, what is the port range?
1
vote
1answer
643 views

Why is /proc/net/snmp not showing Udp InCSumErrors?

I'm running Oracle Linux 6.5, kernel 2.6.32-431.5.1.el6.x86_64. When I look at the Udp snmp stats it does not show me InCsumErrors. How can I see this stat? cat /proc/net/snmp | grep Udp\: Udp: ...
2
votes
1answer
2k views

UDP or TCP hole punching to connect two peers (each one behind a router)

I'm trying to connect directly (without 3rd party server) my computer to a friend's computer. We are both behind a ISP router, and would like (as a challenge!) to connect without modifying the router ...
2
votes
1answer
4k views

UDP port unreachable although process is listening

I am experimenting with communication over UDP port 6666 (the goal is setting up a listener for netconsole, but that's not really relevant here). On the listening side, nc -luv 6666. On the sending ...
1
vote
3answers
458 views

Why does a UDP client send 1Gbit speed to 100Mbit server?

I've just found out that in a simple UDP client/server application I wrote on Linux userspace, the UDP client (1 Gbit Ethernet interface) sends the data with 1 Gbit speed to a UDP server which has ...
8
votes
2answers
3k views

Cannot see packets arrive on application socket that were seen by Wireshark

Using Ubuntu 14 I have a Linux machine where there are two interfaces: eth1: 172.16.20.1 ppp0: 192.168.0.2 ppp0 is connected to a device which has a PPP interface (192.168.0.1) and a WAN interface (...
2
votes
1answer
1k views

High network latency after incoming UDP bursts [closed]

This has been crossposted to https://forum.rocketboards.org/t/high-network-latency-after-incoming-udp-bursts/1266 I have an application sending UDP packets over a RAW socket (defining ETH, IP and UDP ...
1
vote
0answers
105 views

write error for rmem_max on Angstrom

I am trying to tune the UDP receive and transmit buffer size. According to my real time application needs, I need to configure the Tx buffer as 6 bytes and Rx buffer as 22 bytes. I am running Angstrom ...
4
votes
2answers
3k views

Redirecting specific UDP traffic?

I am trying to forward UDP traffic to/from a specific IP to a pseudo-interface: iptables -I FORWARD -s [WAN-IP] -p udp -j ifb0 I have also tried (without success): iptables -A OUTPUT -d [WAN-IP] -p ...
2
votes
5answers
6k views

Ubuntu - UDP Traffic on port 123

I have noticing that, lately, my Odroid's ethernet LED is constantly blinking, even when I'm expecting no traffic. I ran iptraf and, besides the attempts of SSH brute force guess attempts (that are ...
4
votes
1answer
747 views

Limiting socat udp to receive one packet or timeout

When testing certain multicast connectivities in the past I have been using socat to do this: socat -u UDP4-RECVFROM:12345,add-membership=224.1.2.3:eth0,fork,reuseaddr,readbytes=32 SYSTEM:"hexdump -C"...
1
vote
0answers
343 views

Prioritize UDP over FTP, SCP, etc. in Linux

I have a setup wherein one "master" Linux system communicates with 3 "slave" systems also running Linux on a dedicated Ethernet interface(just the master & the 3 slaves). The slaves send data to ...
0
votes
1answer
252 views

Transmission-Daemon not working (Debian 8 / OpenVZ) UDP Issue

I'm trying to install transmission on my VPS (under OpenVZ) to download torrents on it. When running something like: transmission-cli example.torrent It'll print: transmission-cli 2.84 (14307) [...
4
votes
1answer
682 views

Responses from multicast 255.255.255.255

On one particular box, i cannot get responses to broadcasted messages to (255.255.255.255). For example Sending DHCPDISCOVER DHCPREQUEST on wlan0 to 255.255.255.255 And see even responses from ...
0
votes
1answer
90 views

Do incoming LAN UDP packets create an entry containing senders MAC in receivers ARP table in Linux?

When Linux receives a UDP packet originating from a sender having a LAN source IP, will Linux put the source MAC address of this packet along the source IP address into the ARP cache table?
2
votes
0answers
600 views

Beaglebone Black not able to send raw UDP Packets with Python to laptop running Ubuntu 16.04

I created a Python 3.6 script that creates a raw UDP Packet over ethernet to a system with a known MAC Address and IPv4 Address. This script is running on a Beaglebone Black (BBB) that is connected ...
4
votes
2answers
3k views

Why does the udp port not open?

I am investigating how to open a UDP port, specifically the port 1194. This is what I've done: Check if the port is opened: % sudo nmap –sU –p 1194 <hostnameOfMyMachine> -> PORT STATE ...
1
vote
2answers
2k views

How to display an UDP connection?

ss and netstat seem to not be working. Adobe Flash RTMFP protocol creates a lots of UDP connections. I want to know, who is connected to me. I can see intense data-send traffic from the monitor. I ...
-1
votes
1answer
6k views

Sending UDP packets to a destination

On my Linux machine, I am receiving UDP packets from another machine. When I receive the UDP packets, I get the message "Listening on UDP port : 8999" This is triggered by the following command ...
1
vote
1answer
1k views

Why is my trace route (mtr) binding a UDP port when it runs?

I occasionally audit the open ports on my machine to make sure I fully understand my attack surface. When I did this today, I discovered that mtr was listening on a high UDP port (which seemed to ...
0
votes
1answer
2k views

Can't receive UDP packets wireshark sees them

I have an application_A in HOST_A sending UDP messages. In HOST_B I am able to see the UDP packet in wireshark but application_B (running in HOST_B) doesn't receive them. I can verify that ...
1
vote
1answer
801 views

How does the TCP/IP stack handle UDP packets to local host and a destination address of yourself?

I am trying to understand how the network stack (TCP/IP) handles a UDP message to localhost. I am assuming it goes down the stack and gets to the IP layer, if it sees localhost it then sends it back ...
3
votes
0answers
657 views

When does the kernel cut UDP datagram into MTU chunks?

I need your help/hints/remarks on an issue I'm having. Thanks Here is some context : I have two application(A1 & A2) handling PDUs with a max size of 1700bytes. Each app is on a different card(C1 ...
0
votes
1answer
387 views

Reliable network client discovery (not mDNS?)

I have (Linux-based) devices on a DHCP/ IPv4 network whose UI is via browser/ mobile app (over the LAN.) The tricky part is discovery of the device's IP address. We've been trying to use mDNS/ DNS-...
0
votes
1answer
957 views

UDP internal routing issue when using multiple NIC's

I have a server that has two ethernet ports, each one running on a separate NIC (eth0 and eth1). I would like to connect eth0 to a separate machine that streams video over UDP (and no other traffic) ...
2
votes
1answer
545 views

UDP multicast client over ipv6

Simple Python UDP Server: trouble receiving packets from clients other than localhost I am trying to listen datagrams over ipv6. Here are the messages I am interrested in: $ sudo tcpdump | grep ...
0
votes
1answer
26 views

File defining the service assigned to each port

I know there are already nmap and netstat commands we could use to see all open port on Ubuntu. However, I know there exists a file with all port and the service assign to each port. Could anyone have ...
1
vote
1answer
842 views

Using tc, I want TCP and UDP to use the same buffer

I have 2 types of traffic TCP UDP I want to apply 2 different filters on them, 1 Mbps b/w for UDP and 7 Mbps b/w for TCP But I want their traffic to use a common buffer of size 100 packets I've ...
1
vote
1answer
1k views

Detecting where to bind to receive a UDP broadcast

I'm writing an application that needs to capture and print UDP broadcasts. The network interface in use is: enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.10....
0
votes
1answer
222 views

Send Apache Catalina Logs to Logstash

Dependencies : OS Version : CentOS 5.0 Server Environment : Production Logstash Version : 5.0 Elasticsearch Version : 5.0 I have several app servers running on CentOS 5.0. All these are on-...
2
votes
0answers
560 views

how to forward all UDP traffic to VPN client IP with ufw

I'm using sipgate with freepbx and I've got down to what I presume is the final hurdle with the one-way audio issue. From everything I've read the issue points to NAT. I need to forward all UDP ...
2
votes
2answers
8k views

Tcpdump - counting outgoing and incoming UDP packets

Is it possible with tcpdump to count (for some set up time) the number of outgoing and incoming UDP packets? I don't have much experience in tcpdump, so an advice how to do that would be very helpful....
1
vote
0answers
266 views

iptraf shows traffic on UDP/443, why?

Somehow, iptraf is telling me that I am getting traffic via port 443 in UDP instead of TCP. I checked the firewall several times, and UDP port 443 is definitely not open. I have that TCP port (...
21
votes
2answers
5k views

Are /dev/{udp,tcp} standardized or available everywhere?

I've recently learned about the /dev/udp and /dev/tcp pseudo-devices here. Are they specific to some GNU/Linux distributions or can I find them on other unix systems? Are they standardized in some ...
3
votes
1answer
505 views

TCP flows coexisting with UDP when using SFQ (stochastic fair queuing)

I am simulating a network where I limited and modified all the interfaces using TC (traffic control). My interfaces are of the form HTB --- SFQ (it is a little bit more complex but I will simplify ...
1
vote
0answers
490 views

CentOS: Prioritize UDP traffic based on UDP port number?

We have an two important applications on a CentOS box - one is Syslog, which is using UDP port 514. The other is bind (DNS), using UDP port 53. Is there a tuning mechanism that can be used to give ...
4
votes
1answer
3k views

unbind port of crashed program

is there any way to unbind a port that was previously binded by a program that crashed at some time? I don't like to reboot the development-machine every hour.