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

change grpc-liste-addr flag to grpc, add suport for unix and tcp ontop #4399

Closed
wants to merge 1 commit into from

Conversation

ShohamBit
Copy link
Collaborator


1. PR Summary

  • Changed the --grpc-listen-addr flag to --grpc for improved clarity and usability.
  • Added support for both unix and tcp protocols:
    • Example for unix: tracee --grpc unix
    • Example for tcp: tracee --grpc tcp

2. How to Test

You can test these changes by compiling tracee and running it with the new --grpc flag. Examples:

  1. Using Unix sockets:

    tracee --grpc unix
    

    Equivalent to:

    tracee --grpc unix:/tmp/tracee.sock
    
  2. Using TCP:

    tracee --grpc tcp
    

Both options should function correctly and reflect the expected behavior.


3. Additional Comments

This PR closes #4388.

@ShohamBit
Copy link
Collaborator Author

Please refer to the new flag design. This PR is not needed

@ShohamBit ShohamBit closed this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support the option for defaulte grpc unix listent
1 participant