sshuttle/scripts
2024-08-06 08:38:24 +10:00
..
compose.yml rename hacks to scripts 2024-08-06 08:38:24 +10:00
container.setup.sh make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
Containerfile make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
exec-sshuttle make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
exec-tool make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
README.md make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
run-benchmark make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00
run-checks rename hacks to scripts 2024-08-06 08:38:24 +10:00
test-bed make sure that existing python2 compatibility is not broken by this feature 2024-08-06 08:38:24 +10:00

Container based test bed for sshuttle

test-bed up -d # start containers

exec-sshuttle <node-id> [--copy-id] [--server-py=2.7|3.6|3.8] [--client-py=2.7|3.6|3.8] [--sshuttle-bin=/path/to/sshuttle] [sshuttle-args...]
    # --copy-id  -> optionally do ssh-copy-id to make it passwordless
    # --sshuttle-bin -> use another sshuttle binary instead of one from dev setup
    # --server-py  -> Python version to use in server. (manged by pyenv)
    # --client-py -> Python version to use in client (manged by pyenv)

exec-sshuttle node-1 # start sshuttle to connect to node-1

exec-tool curl node-1  # curl to nginx instance running on node1 via IP that is only reachable via sshuttle
exec-tool iperf3 node-1 # measure throughput to node-1

run-benchmark node-1 --client-py=3.10