Skip to content

Kestrel RemoteCertificateValidationCallback client IP. #57710

Open
@mateli

Description

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

When writing a QUIC server the RemoteCertificateValidationCallback recieves a QuicConnection as the Sender object. From this a lot of data can be extracted such as the IP of the remote host. Kestrel has a similar RemoteCertificateValidationCallback but without the "object sender" parameter which means that there is no way at this point of knowing the IP of the client which is useful when implementing strict IP based access control.

Describe the solution you'd like

Add a way to know the remote IP address and other useful information about the connection in the RemoteCertificateValidationCallback handler.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions