frontend fixes, dockerfile passed to bun, nftable python installed using apt

This commit is contained in:
Domingo Dirutigliano
2024-04-09 02:20:51 +02:00
parent fc03aae2c9
commit a79c321300
9 changed files with 41 additions and 4420 deletions

View File

@@ -1,22 +1,28 @@
#!/bin/sh
TMP=$1
PASSWORD=${TMP:=testpassword}
pip3 install -r requirements.txt
echo "Running standard API test"
python3 api_test.py -p testpassword
python3 api_test.py -p $PASSWORD
echo "Running Netfilter Regex TCP ipv4"
python3 nf_test.py -p testpassword -m tcp
python3 nf_test.py -p $PASSWORD -m tcp
echo "Running Netfilter Regex TCP ipv6"
python3 nf_test.py -p testpassword -m tcp -6
python3 nf_test.py -p $PASSWORD -m tcp -6
echo "Running Netfilter Regex UDP ipv4"
python3 nf_test.py -p testpassword -m udp
python3 nf_test.py -p $PASSWORD -m udp
echo "Running Netfilter Regex UDP ipv6"
python3 nf_test.py -p testpassword -m udp -6
python3 nf_test.py -p $PASSWORD -m udp -6
echo "Running Proxy Regex"
python3 px_test.py -p testpassword
python3 px_test.py -p $PASSWORD
echo "Running Port Hijack TCP ipv4"
python3 ph_test.py -p testpassword -m tcp
python3 ph_test.py -p $PASSWORD -m tcp
echo "Running Port Hijack TCP ipv6"
python3 ph_test.py -p testpassword -m tcp -6
python3 ph_test.py -p $PASSWORD -m tcp -6
echo "Running Port Hijack UDP ipv4"
python3 ph_test.py -p testpassword -m udp
python3 ph_test.py -p $PASSWORD -m udp
echo "Running Port Hijack UDP ipv6"
python3 ph_test.py -p testpassword -m udp -6
python3 ph_test.py -p $PASSWORD -m udp -6