dane-tool / dane

🐳📡🐶 Generate network communication data for target tasks in diverse network conditions.
https://dane-tool.github.io/dane/
MIT License
4 stars 2 forks source link

Router setup #1

Closed parkeraddison closed 3 years ago

parkeraddison commented 3 years ago

Three features (branches headless-browsing, collect-network-stats, and router-setup) are included in this pull request. The main changes:

  1. Add headless browsing and Selenium to client image.
  2. Add daemon code and Compose setup that lets the client run arbitrary python scripts (e.g. Selenium scripts, network-stats)
  3. Add daemon code for gracefully stopping the clients by sending an interrupt signal rather than just terminating all processes. This prevents data loss, as network-stats only writes to its file after being interrupted.
  4. Change general structure of the containers in the Compose setup and in the daemon code such that we now have a container acting as a router for one or many clients which connect to the same internal network.

I recommend looking at the diffs of each commit. The diff view coupled with the commit messages themselves should provide a reasonably good idea of what specifically changed.