Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracebox Docker image #66

Open
matthieugouel opened this issue Jun 16, 2022 · 2 comments
Open

Tracebox Docker image #66

matthieugouel opened this issue Jun 16, 2022 · 2 comments

Comments

@matthieugouel
Copy link

Hi 馃憢

I've made a Docker image of Tracebox, if someone is interested in:

To pull it:

$ docker pull ghcr.io/dioptra-io/docker-images/tracebox:main

And run it:

$ docker run ghcr.io/dioptra-io/docker-images/tracebox:main --help
tracebox: invalid option -- '-'
Unknown option `--'.
Usage:
  tracebox [ OPTIONS ] {host | [Lua argument list]}
Options are:
  -h                          Display this help and exit
  -n                          Do not resolve IP adresses
  -6                          Use IPv6 for static probe generated
  -u                          Use UDP for static probe generated
  -d port                     Use the specified port for static probe
                              generated. Default is 80.
  -i device                   Specify a network interface to operate with
  -m hops_max                 Set the max number of hops (max TTL to be reached).
                              Default is 30.
  -M hops_min                 Set the min number of hops (min TTL to be reached).
                              Default is 1.
  -v                          Print more information.
  -j                          Change the format of the output to JSON.
  -t timeout                  Timeout to wait for a reply after sending a packet.
                              Default is 1 sec, accepts decimals.
  -p probe                    Specify the probe to send.
  -s script_file              Run a script file.
  -l inline_script            Run a script.
  -w                          Show warnings when crafting packets.
  -f filename                 Specify the name of the pcap file.
                              Default is /tmp/capture.pcap.
  -S                          Skip the privilege check at the start.
                              To be used mainly for testing purposes,
	                           as it will cause tracebox to crash for some
							   of its features!.
  -V                          Print tracebox version and exit.
  -D                          Print debug information.

Every argument passed after the options in conjunction with -s or -l will be passed
to the lua interpreter and available in a global vector of strings named 'argv',
in the order they appeared on the command-line.


Version: v0.4.4-2-g92f8db7cc474478d

I would recommend using the Docker option --network host to avoid being bothered by the Docker network bridge (https://docs.docker.com/network/).

@matthieugouel
Copy link
Author

I've used a Fedora 24 image, the Dockerfile can be found here: https://github.com/dioptra-io/docker-images/blob/main/tracebox/Dockerfile

@ben-ba
Copy link

ben-ba commented May 24, 2024

please add the info with host network to your image.

thanks for this image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants