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

Introduce a --force option to each protocol subcommand #252

Open
hengyoush opened this issue Jan 5, 2025 · 0 comments
Open

Introduce a --force option to each protocol subcommand #252

hengyoush opened this issue Jan 5, 2025 · 0 comments
Labels
bpf bpf related enhancement New feature or request feature-request

Comments

@hengyoush
Copy link
Owner

hengyoush commented Jan 5, 2025

Is your feature request related to a problem? Please describe.
Introduce a --force option to each protocol subcommand to explicitly specify the protocol without inferring it. This is useful in the following situations:

  1. Protocols that are easily misinferred, such as Redis and MySQL. When we convince the connection we watched is really use the specific protocol, but kyanos infer failed due to some bug, we can specify it forcelly.
  2. Debugging during the development of new protocols.

Describe the solution you'd like

  1. Add an cli option --force
  2. skip protocol infer in kernel when force is specified

Describe alternatives you've considered
None

Additional context
None

@hengyoush hengyoush added enhancement New feature or request bpf bpf related labels Jan 5, 2025
@hengyoush hengyoush changed the title Add a --force option to each protocol subcommand Introduce a --force option to each protocol subcommand Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bpf bpf related enhancement New feature or request feature-request
Projects
None yet
Development

No branches or pull requests

1 participant