Package com.iizix.server.web
ClientAddressResolver decides which IP address stands for a client: the address Jetty saw, or the address a trusted proxy forwarded - believed only from the proxies the server setting $geo.trustedProxies names (ServerSettings.GEO_TRUSTED_PROXIES). The sign-in throttle, the records of sign-ins and of failed sign-ins, the account notices, the session geolocation log and the license server all take the address of a client from it. FrontEndProxyCheck warns at the start of a server that has a front-end secured port and names no trusted proxy.
The setting keeps the name it got with the geolocation, where the address was first resolved: it is in saved server configurations. The warning of a front-end secured port that is bound to every interface is with the code that binds the ports, FrontEndBindingCheck.
- Author:
- Christopher Mindus
- ClassDescriptionDecides which IP address stands for a client: the address Jetty saw, or, when that address is a trusted proxy (a reverse proxy or the IIZI load balancer), the client address the proxy forwarded in a
Forwarded(RFC 7239) orX-Forwarded-Forheader.The two forwarded-address headers of an HTTP upgrade request, in the order received.The resolved client address and its source.Where the resolved address came from.The operator's trusted proxies: a set of IP addresses and CIDR prefixes.Checks at server start that a server behind a front end knows its front end (CC-FIX-SIGNIN-THROTTLE-SOURCE, D-8).