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
Document peer-topology header trust boundary and cross-refs
topology-affinity-filter/-scorer trust peerTopologyHeader without
re-verifying its source; call out that it must only be set on a
profile reachable exclusively through the coordinator. Cross-reference
the x-peer-topology literal across its three independent definitions
so a rename in one is discoverable from the others.
Signed-off-by: Etai Lev Ran <elevran@gmail.com>
Copy file name to clipboardExpand all lines: pkg/epp/framework/plugins/scheduling/filter/topologyaffinity/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,10 @@ attribute is absent.
64
64
|`topologyProducerName`| no | default producer |`topology-extractor` instance to read the `Topology` attribute from. |
65
65
|`peerTopologyHeader`| no | unset | Request header carrying the peer topology in coordinator deployments. Set to `x-peer-topology` when running in a decode EPP behind the coordinator; unused in single-EPP deployments. |
66
66
67
+
The plugin trusts `peerTopologyHeader` without re-verifying its source. Only set it on a
68
+
profile reachable exclusively through the coordinator's forwarded header; a decode EPP
69
+
reachable directly by a client would let that client spoof its own peer topology.
Copy file name to clipboardExpand all lines: pkg/epp/framework/plugins/scheduling/scorer/topologyaffinity/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,10 @@ attribute is absent.
86
86
|`topologyProducerName`| no | default producer |`topology-extractor` instance to read the `Topology` attribute from. |
87
87
|`peerTopologyHeader`| no | unset | Request header carrying the peer topology in coordinator deployments. Set to `x-peer-topology` when running in a decode EPP behind the coordinator; unused in single-EPP deployments. |
88
88
89
+
The plugin trusts `peerTopologyHeader` without re-verifying its source. Only set it on a
90
+
profile reachable exclusively through the coordinator's forwarded header; a decode EPP
91
+
reachable directly by a client would let that client spoof its own peer topology.
0 commit comments