|
Download tasks/data/reverse/9mothers__udptoxy.9af1ed4/environment/docs/usage.md from Lego-X/ProgramGen: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/9mothers__udptoxy.9af1ed4/environment/docs/usage.md
- Command line
-
hf download hf://datasets/Lego-X/ProgramGen/tasks/data/reverse/9mothers__udptoxy.9af1ed4/environment/docs/usage.md
-
curl -L -o usage.md https://huggingface.co/datasets/Lego-X/ProgramGen/resolve/main/tasks/data/reverse/9mothers__udptoxy.9af1ed4/environment/docs/usage.md
1.24 kB
udptoxy
UDP toxiproxy-style CLI/TUI that forwards UDP bidirectionally between an inbound port and an outbound address while simulating latency, jitter, packet loss, and rate limits in both directions.
Run
With the project runner:
just dev 9000 9001
Or with full addresses:
just dev 0.0.0.0:9000 127.0.0.1:9001
If you pass only a port number, --in binds to 0.0.0.0:<port> and --out targets 127.0.0.1:<port>.
CLI options
--in <ADDR_OR_PORT>--out <ADDR_OR_PORT>--latency-ms <u64>--jitter-ms <u64>--loss-percent <f64>--rate-bytes-per-sec <u64>(0 disables, drops packets when exceeded)
Notes:
- IPv4 only (no IPv6 or hostname resolution).
- Packet list length is based on current terminal height.
- The packet table shows direction (
in->outandout->in).
TUI shortcuts
ltoggle latencyjtoggle jitterptoggle lossrtoggle rate limitTab/Shift+TaborLeft/Rightcycle selected setting+/-orUp/Downadjust selected settingqquit
Rate adjustments use preset steps (10KB/s .. 100MB/s).
Demo
License
MIT License - Created by 9 Mothers Corporation
