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

doc: add note about remoteaddr strategy #9701

Merged
merged 4 commits into from Feb 9, 2023
Merged

Conversation

mpl
Copy link
Collaborator

@mpl mpl commented Feb 8, 2023

What does this PR do?

this PR adds a couple of notes about the default ipstrategy, and about the lifecycle of X-Forwarded-For.

Motivation

Users were not aware of the default remoteaddr ipstrategy.

More

- [ ] Added/updated tests

  • Added/updated documentation

Additional Notes

Fixes #9696

docs/content/middlewares/http/ipwhitelist.md Outdated Show resolved Hide resolved
docs/content/middlewares/http/ipwhitelist.md Outdated Show resolved Hide resolved
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JaneJeon
Copy link

JaneJeon commented Feb 9, 2023

Hello - just wanted to let you know that you might also want to make the same note in InFlightReq and RateLimit middlewares (where the same ipStrategy + XFF confusion can arise)

Copy link
Member

@kevinpollet kevinpollet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 📚

mpl and others added 4 commits February 9, 2023 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants