question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IP address in failed login logs is not showing proxied IP

See original GitHub issue

Describe the bug IP is always the local IP behind reverse proxies. Maybe also Cloudflare and other similar services.

Expected behavior Show the correct IP. We might need to use trust proxy in express?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ankarhemcommented, Jan 26, 2021

The package will look for data in these x-forwarded-for, x-client-ip and x-real-ip

0reactions
github-actions[bot]commented, Jan 30, 2021

🎉 This issue has been resolved in version 1.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to find source IP for failed login in firewall logs
I am getting alerts (Failed logins from a risky IP address have exceeded threshold).
Read more >
Viewing ProxySG administrative login attempts.
You want to view administrative login attempts to the ProxySG. ... "Console user password authentication from <IP address> failed for user ...
Read more >
Get client IP address in case of failed login | Support Center
The issue is: if proxy(load balancing) is used, then user IP address(the pyRemoteAddr property) is empty in Log-SecurityAudit item.
Read more >
How To Fix the “Server IP Address Could Not Be Found” Error
1. Check the Basics · 2. Clear Your Browsing Data · 3. Flush Your DNS Cache · 4. Check Your Proxy Settings.
Read more >
Ubuntu SSH Auth Log Shows Proxy IP - Unix StackExchange
I am trying to figure out an issue I have been having. I am using a webpanel called TinyCP and there is a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found