Introduces latency on a UDP port for gaming purposes
MIT License
Adds extra latency to all players on a UDP proxy
I have a home server hosting a shooting game server but my friends are in America and Europe, and they all have different 'ping' to the server.
As a fellow gopher and having pity of the 150ms ping of my friend, I wrote this UDP proxy program which induces latency to all the players such that players physically near the server can have extra latency, to give equal chances to far away players.
amd64
, 386
, arm64
, arm32v7
and arm32v6
CPU architectures1000
Use the following command:
docker run -d -p 8000:8000/udp -e SERVER_ADDRESS=yourhost:9009 qmcgaw/pingodown
You can also use docker-compose.yml with:
docker-compose up -d
You can update the image with docker pull qmcgaw/pingodown
Environment variable | Default | Possible values | Description |
---|---|---|---|
SERVER_ADDRESS |
hostname:port | The server to proxy packets to, i.e. myiporhost:9009
|
|
LISTEN_ADDRESS |
:8000 |
Listening proxy address | |
PING |
100ms |
Artificial ping added for each connection | |
TZ |
America/Montreal |
string | Timezone, for your logs timestampts essentially |
F1
and select Remote-Containers: Open Folder in Container...
See also contributing
This repository is under an MIT license unless otherwise indicated