Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extent realip interceptors with ip selection based on proxy count and list #695

Merged
merged 3 commits into from
Feb 12, 2024

Commits on Feb 6, 2024

  1. Extent realip interceptors with ip selection based on proxy count and…

    … list
    
    The rightmost IP is not always the client IP. One example is Google:
    https://cloud.google.com/load-balancing/docs/https#x-forwarded-for_header
    
    The PR extends the IP selection for `X-Forwarded-For` based on
    [MDN Selecting an IP address](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#selecting_an_ip_address).
    
    Just so you know, it is possible to configure both at the same time.
    The user needs to be cautious when configuring these for IP selection and preferably pick `TrustedProxies` or `TrustedProxiesCount`.
    surik committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    98a38fc View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. Configuration menu
    Copy the full SHA
    5081321 View commit details
    Browse the repository at this point in the history
  2. Fix linter

    surik committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    42407bd View commit details
    Browse the repository at this point in the history