Rework Docker files & scripts

This commit is contained in:
William Robinet 2023-08-14 15:20:01 +02:00
parent e356e1d1b7
commit 7bead9dd19
No known key found for this signature in database
GPG key ID: 003FA3DF74C7A949
25 changed files with 54 additions and 281 deletions

28
docker/README.md Normal file
View file

@ -0,0 +1,28 @@
# Docker instructions
*Note:* Dockerfiles are only provided for Debian-like distributions so far.
## Configure image building:
Uncomment the distribution reference you want to use, in top section in
`debian-distros/Dockerfile`.
## Build the image:
`cd debian-distros`
`./docker_build.sh`
## Run the container, and start ssldump inside the container:
`./docker_run.sh`
`(in container) sudo ssldump -n -i eth0 -j -AH`
## Mirror traffic to container
Outside of the container, adjust local interface name and container IP address
in `mirror_traffic_to_container.sh`.
Then mirror local traffic to ssldump container:
`./mirror_traffic_to_container.sh`