-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Envoy: ignore explicit listener rules on other listeners #39079
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
Envoy: ignore explicit listener rules on other listeners #39079
Conversation
ce17f00
to
47616f5
Compare
/test |
47616f5
to
7c70ac2
Compare
rebased to fix missing junit file problem. |
/test |
@jrajahalme i saw that you added the label |
7c70ac2
to
9366f53
Compare
fixed daemon tests |
a423206
to
91a232e
Compare
/test |
91a232e
to
2b38c04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! vendor changes lgtm
2b38c04
to
412babe
Compare
/test |
412babe
to
3633186
Compare
/test |
3633186
to
757b9ae
Compare
/test |
Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
Pass the proxy port of an explicit Listener reference in CNP as a proxy ID and ignore rules with non-zero proxy IDs unless the proxy ID matches the one configured for the Listener handling the connection. This scopes the policy rule containing the explicit Listener reference to only apply on the specific named listener. This way possibly stricter allow rules specified otherwise will not be bypassed due to the laxer allow rule for the specific listener. Disable HTTP rule short-circuiting also when a rule has a non-zero proxy-id. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
757b9ae
to
b583a70
Compare
rebased, API update was already done on main |
/test |
Pass the proxy port of an explicit Listener reference in CNP as a proxy ID and ignore rules with non-zero proxy IDs unless the proxy ID matches the one configured for the Listener handling the connection. This scopes the policy rule containing the explicit Listener reference to only apply on the specific named listener. This way possibly stricter allow rules specified otherwise will not be bypassed due to the laxer allow rule for the specific listener.