Skip to content
  • Cecylia Bocovich's avatar
    Parse X-Forwarded-For addresses from left to right · abab8898
    Cecylia Bocovich authored and meskio's avatar meskio committed
    This parses X-Forwarded-For addresses from left to right since with the
    domain fronting at moat we may have more than one external proxy
    address. getClientIP is also updated to skip not only loopback addresses
    but any non-valid address (such as private addresses) that may have been
    in the header.
    abab8898