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
Title: Attach connection dynamic metadata to request as HTTP header
Description:
We are currently using envoy v1.15.0
I am using a proxy protocol listener filter to extract TLV values, which I then want to attach as an HTTP header to the request. I'm hoping to use this request header in the external auth service to do some additional validation on the TLV value.
In particular this is for validating requests that pass through an AWS network balancer.
My current proxy protocol listener filter looks something like the following:
and I am able to see the TLV value when I log it from the listener's access_log ("%DYNAMIC_METADATA(my_namespace:my_key)%"). Unfortunately I have not been successful in finding a way to attach this information to the request. The first place I looked at was the lua filter in the http conn manager for this listener, but it doesn't have access to the connection's dynamic metadata.
From what I understand, the dynamicMetadata object that is exposed in the lua handler is the one for the HTTP stream, and there's a separate dynamicMetadata that the lua filter does not have access to for the network connection. Is there any way to attach this TLV to the request as an HTTP header with the current version of Envoy?
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 other activity occurs. Thank you for your contributions.
stalebot
added
the
stale
stalebot believes this issue/PR has not been touched recently
label
Sep 20, 2020
@skambashi could you please share your listeners access log? I'm facing the same problem an documentation is scarce.
Can @songhu please elaborate on how to use the extracted tlvs?
Thanks a lot and merry christmas
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.
Title: Attach connection dynamic metadata to request as HTTP header
Description:
We are currently using envoy v1.15.0
I am using a proxy protocol listener filter to extract TLV values, which I then want to attach as an HTTP header to the request. I'm hoping to use this request header in the external auth service to do some additional validation on the TLV value.
In particular this is for validating requests that pass through an AWS network balancer.
My current proxy protocol listener filter looks something like the following:
and I am able to see the TLV value when I log it from the listener's access_log (
"%DYNAMIC_METADATA(my_namespace:my_key)%"
). Unfortunately I have not been successful in finding a way to attach this information to the request. The first place I looked at was the lua filter in the http conn manager for this listener, but it doesn't have access to the connection's dynamic metadata.From what I understand, the dynamicMetadata object that is exposed in the lua handler is the one for the HTTP stream, and there's a separate dynamicMetadata that the lua filter does not have access to for the network connection. Is there any way to attach this TLV to the request as an HTTP header with the current version of Envoy?
Thanks,
Seikun Kambashi
[Relevant Links:]
The text was updated successfully, but these errors were encountered: