Privileges
Trippy normally requires elevated privileges due to the use of raw sockets. Enabling the required privileges for your platform can be achieved in several ways, as outlined below. Trippy can also be used without elevated privileged on certain platforms, with some limitations.
Unix
1: Run as root
user via sudo
:
2: chown
trip
as the root
user and set the setuid
bit:
3: [Linux only] Set the CAP_NET_RAW
capability:
Windows
Trippy must be run with Administrator privileges on Windows.
Unprivileged mode
Trippy allows running in an unprivileged mode for all tracing modes (ICMP
, UDP
and TCP
) on platforms which support
that feature.
The unprivileged mode can be enabled by adding the --unprivileged
(-u
) command line flag or by adding the
unprivileged
entry in the trippy
section of the configuration file: