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

KeyByRealIP is susceptible to spoofing #53

Open
mschwager opened this issue Feb 20, 2025 · 0 comments
Open

KeyByRealIP is susceptible to spoofing #53

mschwager opened this issue Feb 20, 2025 · 0 comments

Comments

@mschwager
Copy link

Hi there,

I was recently reading The perils of the “real” client IP and noticed that this library is vulnerable to the attacks described in that post. Due to the following items in go-chi/chi, I suspect you're already aware of this issue: go-chi/chi#711, go-chi/chi#967.

I'm opening this issue to ensure that whatever improvements are made to go-chi/chi to remediate this issue are also made to go-chi/httprate. realclientip-go also looks good to me, so I wonder if there's an opportunity to use that implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant