google-nomulus/proxy
Lai Jiang 9b79f5af2c
Add a dedicated IP header to accommodate Java 17 on GAE (#2224)
For reasons unclear at this point, Java 17's servlet implementation on
GAE injects IP addresses (including unroutable private IPs) into the
standard X-Forwarded-For header, which we currently use to embed
registrar IP addresses to check against the allow list. This results in
the server not properly parsing the header and rejecting legitimate
connections.

This PR sets a custom header that should not be interfered with by any
JVM implementation to store the IP address, while maintaining the old
header as a fallback. The proxy will set both headers to allow the
server to gracefully migrate from Java 8 and Java 17 (and potentially
rollback).

Also removed some headers and logic that are not used.
2023-11-28 13:20:01 -05:00
..
kubernetes Update proxy k8s manifest (#2153) 2023-09-21 10:53:39 -04:00
src Add a dedicated IP header to accommodate Java 17 on GAE (#2224) 2023-11-28 13:20:01 -05:00
terraform Update terraform files and instructions (#1402) 2021-10-29 09:10:23 -04:00
.gitignore Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
build.gradle Upgrade to Gradle 7.0 (#1712) 2022-07-26 11:41:27 -04:00
buildscript-gradle.lockfile Upgrade to Gradle 7.0 (#1712) 2022-07-26 11:41:27 -04:00
deploy-proxy-for-env.sh Use the save API version for the HPA controller and the deployment (#807) 2020-09-16 09:15:35 -04:00
Dockerfile Refactor to be more in line with a standard Gradle project structure 2019-06-13 09:41:11 -04:00
gradle.lockfile Upgrade to gradle 8.3 (#2142) 2023-09-13 11:11:49 -04:00