Skip to content

[Bug]: Possible bug - IP filtering not working using x-forwarded-for #6574

Open
@fablaser

Description

@fablaser

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Hello,
I successully modified DNN configuration in order to manage x-forwarded-for header. I set the value x-forwarded-for for UserRequestIPHeader settingname field in hostsetting value. So, I can see the remote address in login attempts, not just cloudflare proxy ip addresses.

Anyway, it seems that DNN ip filtering does not work with this configuration. I enabled ip filtering and added remote ip address of a test client, but the ip is not blocked...

Any help? is it a bug?

Steps to reproduce?

  1. enable ip filtering
  2. configure UserRequestIPHeader x-forwarded-for in hostsettings table
  3. access from banned ip

Current Behavior

No response

Expected Behavior

No response

Relevant log output

Anything else?

No response

Affected Versions

10.0.1 (latest v10 release)

What browsers are you seeing the problem on?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions