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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify MultipathStrategy and PortDirection #471

Open
fujiapple852 opened this issue Mar 31, 2023 · 0 comments
Open

Unify MultipathStrategy and PortDirection #471

fujiapple852 opened this issue Mar 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@fujiapple852
Copy link
Owner

fujiapple852 commented Mar 31, 2023

Trippy currently supports a subset of the combinations of protocol, src and dest ports, and ecmp modes. These are set using the following parameters:

  -p, --protocol <PROTOCOL>                      Tracing protocol [default: icmp] [possible values: icmp, udp, tcp]
  -P, --target-port <TARGET_PORT>                The target port (TCP & UDP only) [default: 80]
  -S, --source-port <SOURCE_PORT>                The source port (TCP & UDP only) [default: auto]
  -R, --multipath-strategy <MULTIPATH_STRATEGY>  The Equal-cost Multi-Path routing strategy (IPv4/UDP only) [default: classic] [possible values: classic, paris, dublin]

These are modelled using the TracerProtocol, PortDirection and MultipathStrategy types.

The goal is to unify these types and provide a simpler set of parameters.

For IPv4/UDP the supported combinations are:

Protocol Strategy Source Port Target Port Supported
UDP Classic Fixed Variable
UDP Classic Variable Fixed
UDP Classic Fixed Fixed
UDP Classic Variable Variable
UDP Dublin Fixed Variable
UDP Dublin Variable Fixed
UDP Dublin Fixed Fixed
UDP Dublin Variable Variable
@fujiapple852 fujiapple852 added the enhancement New feature or request label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant