summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml15
-rw-r--r--.github/workflows/release.yml2
-rw-r--r--CHANGELOG.md2
-rw-r--r--Cargo.lock399
-rw-r--r--Cargo.toml102
-rw-r--r--Dockerfile27
-rw-r--r--README.md2
-rw-r--r--crates/README.md39
-rw-r--r--crates/trippy-core/Cargo.toml61
-rw-r--r--crates/trippy-core/src/builder.rs (renamed from src/tracing/builder.rs)8
-rw-r--r--crates/trippy-core/src/config.rs (renamed from src/tracing/config.rs)11
-rw-r--r--crates/trippy-core/src/constants.rs (renamed from src/tracing/constants.rs)0
-rw-r--r--crates/trippy-core/src/error.rs (renamed from src/tracing/error.rs)2
-rw-r--r--crates/trippy-core/src/lib.rs85
-rw-r--r--crates/trippy-core/src/net.rs (renamed from src/tracing/net.rs)4
-rw-r--r--crates/trippy-core/src/net/channel.rs (renamed from src/tracing/net/channel.rs)14
-rw-r--r--crates/trippy-core/src/net/common.rs (renamed from src/tracing/net/common.rs)8
-rw-r--r--crates/trippy-core/src/net/extension.rs (renamed from src/tracing/net/extension.rs)16
-rw-r--r--crates/trippy-core/src/net/ipv4.rs (renamed from src/tracing/net/ipv4.rs)44
-rw-r--r--crates/trippy-core/src/net/ipv6.rs (renamed from src/tracing/net/ipv6.rs)42
-rw-r--r--crates/trippy-core/src/net/platform.rs (renamed from src/tracing/net/platform.rs)2
-rw-r--r--crates/trippy-core/src/net/platform/byte_order.rs (renamed from src/tracing/net/platform/byte_order.rs)4
-rw-r--r--crates/trippy-core/src/net/platform/unix.rs (renamed from src/tracing/net/platform/unix.rs)20
-rw-r--r--crates/trippy-core/src/net/platform/windows.rs (renamed from src/tracing/net/platform/windows.rs)14
-rw-r--r--crates/trippy-core/src/net/socket.rs (renamed from src/tracing/net/socket.rs)2
-rw-r--r--crates/trippy-core/src/net/source.rs (renamed from src/tracing/net/source.rs)18
-rw-r--r--crates/trippy-core/src/packet.rs (renamed from src/tracing/packet.rs)0
-rw-r--r--crates/trippy-core/src/packet/buffer.rs (renamed from src/tracing/packet/buffer.rs)0
-rw-r--r--crates/trippy-core/src/packet/checksum.rs (renamed from src/tracing/packet/checksum.rs)2
-rw-r--r--crates/trippy-core/src/packet/error.rs (renamed from src/tracing/packet/error.rs)0
-rw-r--r--crates/trippy-core/src/packet/icmp_extension.rs (renamed from src/tracing/packet/icmp_extension.rs)68
-rw-r--r--crates/trippy-core/src/packet/icmpv4.rs (renamed from src/tracing/packet/icmpv4.rs)40
-rw-r--r--crates/trippy-core/src/packet/icmpv6.rs (renamed from src/tracing/packet/icmpv6.rs)40
-rw-r--r--crates/trippy-core/src/packet/ipv4.rs (renamed from src/tracing/packet/ipv4.rs)6
-rw-r--r--crates/trippy-core/src/packet/ipv6.rs (renamed from src/tracing/packet/ipv6.rs)6
-rw-r--r--crates/trippy-core/src/packet/tcp.rs (renamed from src/tracing/packet/tcp.rs)6
-rw-r--r--crates/trippy-core/src/packet/udp.rs (renamed from src/tracing/packet/udp.rs)6
-rw-r--r--crates/trippy-core/src/probe.rs (renamed from src/tracing/probe.rs)2
-rw-r--r--crates/trippy-core/src/tracer.rs (renamed from src/tracing/tracer.rs)30
-rw-r--r--crates/trippy-core/src/types.rs (renamed from src/tracing/types.rs)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp.yaml (renamed from tests/resources/simulation/ipv4_icmp.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_gaps.yaml (renamed from tests/resources/simulation/ipv4_icmp_gaps.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_min.yaml (renamed from tests/resources/simulation/ipv4_icmp_min.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_ooo.yaml (renamed from tests/resources/simulation/ipv4_icmp_ooo.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_pattern.yaml (renamed from tests/resources/simulation/ipv4_icmp_pattern.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_quick.yaml (renamed from tests/resources/simulation/ipv4_icmp_quick.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_icmp_wrap.yaml (renamed from tests/resources/simulation/ipv4_icmp_wrap.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_tcp_fixed_dest.yaml (renamed from tests/resources/simulation/ipv4_tcp_fixed_dest.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_udp_classic_fixed_dest.yaml (renamed from tests/resources/simulation/ipv4_udp_classic_fixed_dest.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_udp_classic_fixed_src.yaml (renamed from tests/resources/simulation/ipv4_udp_classic_fixed_src.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_udp_classic_unprivileged.yaml (renamed from tests/resources/simulation/ipv4_udp_classic_unprivileged.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_udp_dublin_fixed_both.yaml (renamed from tests/resources/simulation/ipv4_udp_dublin_fixed_both.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/simulation/ipv4_udp_paris_fixed_both.yaml (renamed from tests/resources/simulation/ipv4_udp_paris_fixed_both.yaml)0
-rw-r--r--crates/trippy-core/tests/resources/wintun.dll (renamed from tests/resources/wintun.dll)bin427552 -> 427552 bytes
-rw-r--r--crates/trippy-core/tests/sim/main.rs (renamed from tests/sim/main.rs)0
-rw-r--r--crates/trippy-core/tests/sim/network.rs (renamed from tests/sim/network.rs)22
-rw-r--r--crates/trippy-core/tests/sim/simulation.rs (renamed from tests/sim/simulation.rs)10
-rw-r--r--crates/trippy-core/tests/sim/tests.rs (renamed from tests/sim/tests.rs)0
-rw-r--r--crates/trippy-core/tests/sim/tracer.rs (renamed from tests/sim/tracer.rs)2
-rw-r--r--crates/trippy-core/tests/sim/tun_device.rs (renamed from tests/sim/tun_device.rs)0
-rw-r--r--crates/trippy-dns/Cargo.toml25
-rw-r--r--crates/trippy-dns/src/lazy_resolver.rs (renamed from src/dns/lazy_resolver.rs)76
-rw-r--r--crates/trippy-dns/src/lib.rs83
-rw-r--r--crates/trippy-dns/src/resolver.rs (renamed from src/dns/resolver.rs)8
-rw-r--r--crates/trippy-privilege/Cargo.toml33
-rw-r--r--crates/trippy-privilege/src/lib.rs (renamed from src/platform.rs)191
-rw-r--r--crates/trippy/Cargo.toml61
-rw-r--r--crates/trippy/src/backend.rs (renamed from src/backend.rs)6
-rw-r--r--crates/trippy/src/backend/flows.rs (renamed from src/backend/flows.rs)0
-rw-r--r--crates/trippy/src/backend/trace.rs (renamed from src/backend/trace.rs)4
-rw-r--r--crates/trippy/src/config.rs (renamed from src/config.rs)58
-rw-r--r--crates/trippy/src/config/binding.rs (renamed from src/config/binding.rs)0
-rw-r--r--crates/trippy/src/config/cmd.rs (renamed from src/config/cmd.rs)0
-rw-r--r--crates/trippy/src/config/columns.rs (renamed from src/config/columns.rs)0
-rw-r--r--crates/trippy/src/config/constants.rs (renamed from src/config/constants.rs)0
-rw-r--r--crates/trippy/src/config/file.rs (renamed from src/config/file.rs)4
-rw-r--r--crates/trippy/src/config/theme.rs (renamed from src/config/theme.rs)0
-rw-r--r--crates/trippy/src/frontend.rs (renamed from src/frontend.rs)2
-rw-r--r--crates/trippy/src/frontend/binding.rs (renamed from src/frontend/binding.rs)0
-rw-r--r--crates/trippy/src/frontend/columns.rs (renamed from src/frontend/columns.rs)0
-rw-r--r--crates/trippy/src/frontend/config.rs (renamed from src/frontend/config.rs)0
-rw-r--r--crates/trippy/src/frontend/render.rs (renamed from src/frontend/render.rs)0
-rw-r--r--crates/trippy/src/frontend/render/app.rs (renamed from src/frontend/render/app.rs)0
-rw-r--r--crates/trippy/src/frontend/render/body.rs (renamed from src/frontend/render/body.rs)0
-rw-r--r--crates/trippy/src/frontend/render/bsod.rs (renamed from src/frontend/render/bsod.rs)0
-rw-r--r--crates/trippy/src/frontend/render/chart.rs (renamed from src/frontend/render/chart.rs)0
-rw-r--r--crates/trippy/src/frontend/render/flows.rs (renamed from src/frontend/render/flows.rs)0
-rw-r--r--crates/trippy/src/frontend/render/footer.rs (renamed from src/frontend/render/footer.rs)0
-rw-r--r--crates/trippy/src/frontend/render/header.rs (renamed from src/frontend/render/header.rs)4
-rw-r--r--crates/trippy/src/frontend/render/help.rs (renamed from src/frontend/render/help.rs)0
-rw-r--r--crates/trippy/src/frontend/render/histogram.rs (renamed from src/frontend/render/histogram.rs)0
-rw-r--r--crates/trippy/src/frontend/render/history.rs (renamed from src/frontend/render/history.rs)0
-rw-r--r--crates/trippy/src/frontend/render/settings.rs (renamed from src/frontend/render/settings.rs)4
-rw-r--r--crates/trippy/src/frontend/render/splash.rs (renamed from src/frontend/render/splash.rs)0
-rw-r--r--crates/trippy/src/frontend/render/table.rs (renamed from src/frontend/render/table.rs)6
-rw-r--r--crates/trippy/src/frontend/render/tabs.rs (renamed from src/frontend/render/tabs.rs)0
-rw-r--r--crates/trippy/src/frontend/render/util.rs (renamed from src/frontend/render/util.rs)0
-rw-r--r--crates/trippy/src/frontend/render/world.rs (renamed from src/frontend/render/world.rs)0
-rw-r--r--crates/trippy/src/frontend/theme.rs (renamed from src/frontend/theme.rs)0
-rw-r--r--crates/trippy/src/frontend/tui_app.rs (renamed from src/frontend/tui_app.rs)2
-rw-r--r--crates/trippy/src/geoip.rs (renamed from src/geoip.rs)0
-rw-r--r--crates/trippy/src/lib.rs2
-rw-r--r--crates/trippy/src/main.rs (renamed from src/main.rs)30
-rw-r--r--crates/trippy/src/report.rs (renamed from src/report.rs)0
-rw-r--r--crates/trippy/src/report/csv.rs (renamed from src/report/csv.rs)2
-rw-r--r--crates/trippy/src/report/dot.rs (renamed from src/report/dot.rs)0
-rw-r--r--crates/trippy/src/report/flows.rs (renamed from src/report/flows.rs)0
-rw-r--r--crates/trippy/src/report/json.rs (renamed from src/report/json.rs)2
-rw-r--r--crates/trippy/src/report/silent.rs (renamed from src/report/silent.rs)0
-rw-r--r--crates/trippy/src/report/stream.rs (renamed from src/report/stream.rs)2
-rw-r--r--crates/trippy/src/report/table.rs (renamed from src/report/table.rs)2
-rw-r--r--crates/trippy/src/report/types.rs (renamed from src/report/types.rs)26
-rw-r--r--crates/trippy/test_resources/backend/ipv4_3probes_3hops_completed.yaml (renamed from test_resources/backend/ipv4_3probes_3hops_completed.yaml)0
-rw-r--r--crates/trippy/test_resources/backend/ipv4_3probes_3hops_mixed_multi.yaml (renamed from test_resources/backend/ipv4_3probes_3hops_mixed_multi.yaml)0
-rw-r--r--crates/trippy/test_resources/backend/ipv4_4probes_0latency.yaml (renamed from test_resources/backend/ipv4_4probes_0latency.yaml)0
-rw-r--r--crates/trippy/test_resources/backend/ipv4_4probes_all_status.yaml (renamed from test_resources/backend/ipv4_4probes_all_status.yaml)0
-rw-r--r--crates/trippy/test_resources/config/completions_bash.txt (renamed from test_resources/config/completions_bash.txt)0
-rw-r--r--crates/trippy/test_resources/config/completions_elvish.txt (renamed from test_resources/config/completions_elvish.txt)0
-rw-r--r--crates/trippy/test_resources/config/completions_fish.txt (renamed from test_resources/config/completions_fish.txt)0
-rw-r--r--crates/trippy/test_resources/config/completions_powershell.txt (renamed from test_resources/config/completions_powershell.txt)0
-rw-r--r--crates/trippy/test_resources/config/completions_zsh.txt (renamed from test_resources/config/completions_zsh.txt)0
-rw-r--r--crates/trippy/test_resources/config/trip.1 (renamed from test_resources/config/trip.1)0
-rw-r--r--crates/trippy/test_resources/config/usage_long.txt (renamed from test_resources/config/usage_long.txt)0
-rw-r--r--crates/trippy/test_resources/config/usage_short.txt (renamed from test_resources/config/usage_short.txt)0
-rw-r--r--crates/trippy/test_resources/tui/tui_binding_commands.txt (renamed from test_resources/tui/tui_binding_commands.txt)0
-rw-r--r--crates/trippy/test_resources/tui/tui_theme_items.txt (renamed from test_resources/tui/tui_theme_items.txt)0
-rw-r--r--src/dns.rs11
-rw-r--r--