maskit commented on PR #12234: URL: https://github.com/apache/trafficserver/pull/12234#issuecomment-3071407046
I proposed a universal way to use an IP address from an HTTP header field (or somewhere else). https://github.com/apache/trafficserver/pull/12359 On the PR, I added a new plugin, real-ip, that reads an IP address from an HTTP header field and provides it as client's real IP address. header_rewrite uses the IP address if INBOUND_IP_SOURCE is set to PLUGIN. If you want to control things within hrw rules, you can add a hrw operator to call the API and set client's IP address. I think `%{GEO:COUNTRY:X-Client-IP}` is going to be painful if you have a lot of hrw rules because every place that uses IP address needs to be modified. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org