You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, listener inspectors and transport sockets are forced to reside at one-level: first inspect, then match, then use a transport socket. This is quite inflexible, and leads to situations where a whole expensive listener is needed (e.g. #4076). The proposal is to add a oneof that allows (inspectors + filter chains) to reside within the filter chains next to filters. The semantics is that processing is staged where once a filter chain is selected, transport socket is applied, and then inspector + filter chain matching restart.
This solves a bunch of issues:
Proxy protocol can be placed within TLS on server-side.
TLS-within-TLS can be matched provided outer TLS is prior knowledge.
HTTP-within-TLS can be sniffed provided outer TLS is prior knowledge.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
Activity
mattklein123 commentedon Sep 10, 2021
@kyessenov I'm having trouble quickly understanding the API shape of the proposal. Can you do a quick API mock up to share and discuss? Thank you.
kyessenov commentedon Sep 10, 2021
@mattklein123 Opened PR #18079 with a minimal change.
mattklein123 commentedon Sep 13, 2021
Thanks, that makes sense to me at a high level.
soulxu commentedon Sep 14, 2021
@kyessenov let me know if you need any volunteer :)
lizan commentedon Sep 14, 2021
Yeah at high level that makes sense to me. It also reminds whether we want FCDS / filter chain references to avoid duplicated filter chain configs.
github-actions commentedon Oct 20, 2021
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
github-actions commentedon Oct 27, 2021
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
kyessenov commentedon Oct 27, 2021
I can pick it up after the peek change gets in. There's some useful refactor in there.
kyessenov commentedon Mar 25, 2022
This is probably still a useful feature, but we can do something better with matcher API and aligned transport / regular sockets.
kyessenov commentedon Mar 30, 2022
Some additional thoughts that we had in this area:
mattklein123 commentedon Mar 30, 2022
Reopening and marking design proposal needed. I think this would benefit from a short design doc.