I
I
Ilya2015-04-03 19:27:41
linux
Ilya, 2015-04-03 19:27:41

How to set up UDP on Linux?

There is a regular server on debian 7, iptables are empty.
From another server, we execute a command that traces via UDP and sends 10 requests every second:

mtr -u -i 0.1 188.93.19.242

1fcc4030894e41e5b82b5b2a186bf9c4.PNG
and get about 80% loss. If you send one request every second, then everything is ok. Losses begin even if 3-4 requests are sent per second.
When sending such requests to a server with freebsd, there is no such loss.
Attention, the question is, what is the reason and what needs to be tweaked in linux to get rid of this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
throughtheether, 2015-04-03
@throughtheether

makes a trace over UDP and sends 10 ICMP requests every second
I didn't understand if the trace is using UDP, what does ICMP requests have to do with it (not Time Exceeded responses)?
On the topic, see my opinion on a similar question:
Check kernel options:
/proc/sys/net/ipv4/icmp_ratelimit
/proc/sys/net/ipv4/icmp_ratemask
/proc/sys/net/ipv4/icmp_msgs_per_sec
/proc/sys/net/ipv4/icmp_msgs_burst

P
Puma Thailand, 2015-04-04
@opium

By default, there are no such problems on the server, see the firewall and errors on the interface

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question