cloudflare / pingora

A library for building fast, reliable and evolvable network services.
Apache License 2.0
22.56k stars 1.25k forks source link

SSL connection metadata should be available to request filters #119

Open dward opened 8 months ago

dward commented 8 months ago

What is the problem your feature solves, or the need it fulfills?

SSL connection metadata should be available to filters such as request_filter.

Metadata such as the following would be useful for routing, logging, and generation of JA3 fingerprints

Describe the solution you'd like

The metadata would be accessible through via the request_filters through the Session struct.

Describe alternatives you've considered

There are no alternatives as the data is not currently available.

Additional context

HAProxy provides the following SSL metadata: https://www.haproxy.com/documentation/haproxy-configuration-manual/latest/#7.3.4-ssl_fc

NGINX: http://nginx.org/en/docs/http/ngx_http_ssl_module.html#variables

LessThanGreaterThan commented 8 months ago

this would be very useful as it allows for things like JA3/JA4 etc

xlmnxp commented 8 months ago

I agree, it will be great to have it

ats1999 commented 2 months ago

Any update on this issue?

shantanu561993 commented 19 hours ago

Any Update ?