alibaba / alibaba/LVS

后台服务器小概率情况下获取不到真实客户端ip地址

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2k
Forks
679
PR merge metrics
No merged PRs in 30d

Description

你好,我们最近在实践fullnat的过程中,发现一个问题。后台服务器是nginx机器都安装好了toa模块,通过nginx的日志我们发现后台服务器有千分之几的概率无法获取到真实客户端ip地址,拿到的是lvs的本地ip。 其他绝大多数情况下是可以拿到客户端真实ip地址的。这个不知道你们有没有遇到过?如果有遇到过请问一下有没有什么解决方法?多谢

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Nginx logs and the TOA module in the reported FULLNAT setup, comparing cases that show the real client IP with the rare cases that show the LVS local IP. Reproduce the intermittent failure, identify the conditions that trigger it, and document a verified resolution or the missing diagnostics needed to proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, nginx
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.