Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

scuffed script to start and stop custom srsran containers and keep logs

Notifications You must be signed in to change notification settings

dsetareh/srsRAN-docker-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srsRAN-docker-testing

Executes simultaneous fuzzing tests on srsRAN within docker containers

quick start

# 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 ./

Output Directories:

  • logs/ stdout logs from each container group

  • pcaps/ enb pcap files from each container group

Commands

$ 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>

Links

Current srsRAN Build Commit

Old Forked Repository

About

scuffed script to start and stop custom srsran containers and keep logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published