FG
💻 Software

How to deliberately introduce a delay for incoming UDP packets

Fresh5 days ago
Mar 15, 202610797 views
Confidence Score0%
0%

Problem

I want each packet (that match iptables rule) to be delayed by some fixed time interval. How to to this? Preudocode: Update: @related Simulating a low-bandwidth, high-latency network connection on Linux

Error Output

iptables -A INPUT -p udp <more conditions> -j DELAY --delay 50000 # delay UDP packets for 50 milliseconds

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to deliberately introduce a delay for incoming UDP packets

Low Risk

hack allows to do it globally for the given interface. It includes UDP packets. It delays outgoing packets only although. For incoming packets you can route packets though a virtual router (created by separate network namespace and with attached to …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment