Executes simultaneous fuzzing tests on srsRAN within docker containers
# clone repo to current dir
git clone https://github.com/dsetareh/srsRAN-docker-testing ./
# build and tag container
docker build -t srsran-fuzz-testing:latest ./
# generate [1:1000] docker-compose files in ./
python3 ./fuzztest_helper.py generate 1 1000 ./docker-compose-template.yml ./
# start testing containers [1:1000]
python3 ./fuzztest_helper.py fuzz 1 1000 ./
-
logs/
stdout logs from each container group -
pcaps/
enb pcap files from each container group
$ python3 ./fuzztest_helper.py
Supported commands:
[Main Function] Automatically start and stop containers per fuzzing spec:
./fuzztest_helper.py fuzz <start index> <end index> <(optional)docker-compose directory>
Generate docker-compose files:
./fuzztest_helper.py generate <start index> <end index> <template file> <output dir>
Start containers from generated compose files:
./fuzztest_helper.py start <start index> <end index> <(optional)docker-compose directory>
Stop containers from generated compose files, generate logs:
./fuzztest_helper.py stop <start index> <end index> <(optional)docker-compose directory>