5464dbc368
This passes the client IP to the keystoneauth1 Session's
original_ip parameter.
This sets the Forwarder HTTP header so that when the request
lands in Keystone the request can actually be interpreted who
made the request and not only that it was proxied by Horizon.
Forwarded: for=100.64.10.1;by=openstack_auth keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.6.8
In the above example header the 100.64.10.1 is the client IP
that is sent from a load balancer in the X-Forwarded-For header
while the actual REMOTE_ADDR in the HTTP request is the load balancers
IP address.
Change-Id: I52da9dcd7fb6b1ac46852718f285795628121e26
(cherry picked from commit
|
||
---|---|---|
.. | ||
locale | ||
plugin | ||
tests | ||
__init__.py | ||
backend.py | ||
defaults.py | ||
exceptions.py | ||
forms.py | ||
middleware.py | ||
models.py | ||
policy.py | ||
urls.py | ||
user.py | ||
utils.py | ||
views.py |