2023-08-14 13:20:01 +00:00
|
|
|
# Docker instructions
|
|
|
|
|
2023-08-14 15:12:20 +00:00
|
|
|
*Note: Dockerfiles are only provided for Debian-like distributions so far.*
|
2023-08-14 13:20:01 +00:00
|
|
|
|
|
|
|
## Configure image building:
|
|
|
|
|
|
|
|
Uncomment the distribution reference you want to use, in top section in
|
|
|
|
`debian-distros/Dockerfile`.
|
|
|
|
|
|
|
|
## Build the image:
|
|
|
|
|
|
|
|
`cd debian-distros`
|
2023-08-14 15:12:20 +00:00
|
|
|
|
2023-08-14 13:20:01 +00:00
|
|
|
`./docker_build.sh`
|
|
|
|
|
|
|
|
## Run the container, and start ssldump inside the container:
|
|
|
|
|
|
|
|
`./docker_run.sh`
|
2023-08-14 15:12:20 +00:00
|
|
|
|
2023-08-14 13:20:01 +00:00
|
|
|
`(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`
|
|
|
|
|