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

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

Open
tangle329 opened this issue Aug 16, 2016 · 1 comment
Open

Comments

@tangle329
Copy link

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

@jlijian3
Copy link

jlijian3 commented Nov 4, 2016

tcp head full 插不进去,cat /proc/net/ip_vs_ext_stats查看相关统计。
解决办法就是删掉掉一些tcp option,或者new 一个 ack包

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

2 participants