Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
# Gateway Server webmvc. The client is 127.0.0.1 and sends forged headers:
|
|
# Forwarded: for=198.51.100.7;proto=https X-Forwarded-For: 198.51.100.7 X-Forwarded-Proto: https
|
|
# Below: the forwarding headers the backend actually received.
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.3 | trusted-proxies not set
|
|
(no Forwarded or X-Forwarded-* header at all)
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.3 | trusted-proxies=10\..* (caller NOT trusted)
|
|
(no Forwarded or X-Forwarded-* header at all)
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.3 | trusted-proxies=127\.0\.0\.1 (caller trusted)
|
|
forwarded: proto=http;host="localhost:8090";for="127.0.0.1:<port>"
|
|
x-forwarded-for: 127.0.0.1
|
|
x-forwarded-host: localhost:8090
|
|
x-forwarded-port: 8090
|
|
x-forwarded-proto: https,http
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.5 | trusted-proxies not set
|
|
(no Forwarded or X-Forwarded-* header at all)
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.5 | trusted-proxies=10\..* (caller NOT trusted)
|
|
forwarded: proto=http;host="localhost:8090";for="127.0.0.1:<port>"
|
|
x-forwarded-for: 127.0.0.1
|
|
x-forwarded-host: localhost:8090
|
|
x-forwarded-port: 8090
|
|
x-forwarded-proto: http
|
|
|
|
=== Boot 4.1.3 / Spring Cloud 2025.1.5 | trusted-proxies=127\.0\.0\.1 (caller trusted)
|
|
forwarded: proto=http;host="localhost:8090";for="127.0.0.1:<port>"
|
|
x-forwarded-for: 127.0.0.1
|
|
x-forwarded-host: localhost:8090
|
|
x-forwarded-port: 8090
|
|
x-forwarded-proto: https,http
|
|
|
|
=== Boot 4.2.0 / Spring Cloud 2026.0.0 | trusted-proxies not set
|
|
(no Forwarded or X-Forwarded-* header at all)
|
|
|
|
=== Boot 4.2.0 / Spring Cloud 2026.0.0 | trusted-proxies=10\..* (caller NOT trusted)
|
|
forwarded: proto=http;host="localhost:8090";for="127.0.0.1:<port>"
|
|
x-forwarded-for: 127.0.0.1
|
|
x-forwarded-host: localhost:8090
|
|
x-forwarded-port: 8090
|
|
x-forwarded-proto: http
|
|
|
|
=== Boot 4.2.0 / Spring Cloud 2026.0.0 | trusted-proxies=127\.0\.0\.1 (caller trusted)
|
|
forwarded: proto=http;host="localhost:8090";for="127.0.0.1:<port>"
|
|
x-forwarded-for: 127.0.0.1
|
|
x-forwarded-host: localhost:8090
|
|
x-forwarded-port: 8090
|
|
x-forwarded-proto: https,http
|