Skip to content

RemoteIpValve default behavior changed #1631

@frankr12

Description

@frankr12

After upgrading to 1.1.7 we no longer receive the real RemoteIpAddress in authentication events but the proxy server’s IP. If I set server.tomcat.remote_ip_header=x-forwarded-for in application.properties it works again.

I think this issue could be related with this change: 468b6cb

If I read the documentation here, I get the impression that the x-forwarded-for should be used (on) by default. Am I wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions