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

[Databroker] Enabling gPRC Server Reflection #742

Open
sgloutnikov opened this issue Feb 23, 2024 · 3 comments
Open

[Databroker] Enabling gPRC Server Reflection #742

sgloutnikov opened this issue Feb 23, 2024 · 3 comments

Comments

@sgloutnikov
Copy link
Contributor

sgloutnikov commented Feb 23, 2024

From what I have gathered gRPC Server Reflection is not enabled on the KUKSA Databroker and is on the KUKSA Server. Someone please correct me if this is not the case.

I would like to start a discussion regarding enabling it also on the Databroker, with either a toggle flag or permanently. I am also new to Rust and don't know when the tonic based gRPC reflection implementation was added, but it is now available.

@erikbosch
Copy link
Contributor

FYI @argerus

@SebastianSchildt
Copy link
Contributor

As I understand it, this would come in handy for GRPC tools supporting reflection such as https://github.com/fullstorydev/grpcurl or https://github.com/IBM/gWhisper , but it assume it would also increase attack surface.

Not in the sense that somebody can figure out our 'secret' API (that is open here anyway), but but by exposing more functionality than is necessary for normal operations, so if we put support in, it seems prudent to hide it behind an optional flag?

@sgloutnikov
Copy link
Contributor Author

Yes, agreed on the unnecessary toggle if reflection is enabled. In addition, there also shouldn't be any performance implications for enabling it. My use case for reflection is not having to distribute and compile the .proto files in a custom client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants