mirror of
https://github.com/adulau/ssldump.git
synced 2025-07-13 17:13:11 +00:00
Rework Docker files & scripts
This commit is contained in:
parent
e356e1d1b7
commit
7bead9dd19
25 changed files with 54 additions and 281 deletions
28
docker/README.md
Normal file
28
docker/README.md
Normal 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`
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue