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

[Bug] 多站防护 通配域名情况下 资源无法被发现的问题 #777

Open
nAnderYang opened this issue Mar 27, 2024 · 2 comments
Open
Labels
bug Something isn't working need more information

Comments

@nAnderYang
Copy link

问题描述

模式:
nignx->waf->backend service

添加站点
*.test1.com 80 10.100.10.200:8080
*.test2.com 80 10.100.10.201:8080

使用x-real-ip head头 穿透真实ip

结果
image

版本号

5.1.0

复现方法

docker 部署后仅做以上步骤 即可复现问题。

期望的结果

正确发现站点内资源数

@nAnderYang
Copy link
Author

补充一条nginx日志

118.123.148.84 - - [27/Mar/2024:09:53:25 +0800] "www.test1.com" "POST“ /1.01/XXZX/GET_XXZX_XXLB_ES/aX1OOGlLfG1cN3BvaXJVbVNtTXtNbXttaUxsd11wPXVnN3Q0TW5zbVFXTXdNcmw0aXFsamlycHhNbnNtUUhKRlF9Tj0= HTTP/2.0" "0.011" 200 0 "https://xyqmt.test1.com/dstxyqmt" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" "118.123.148.84"

也可能是url过长导致的资源不能正确入库被统计?

@nAnderYang nAnderYang changed the title [Bug] 多站防护 统配域名情况下 资源无法被发现的问题 [Bug] 多站防护 通配域名情况下 资源无法被发现的问题 Mar 27, 2024
@yrluke
Copy link
Collaborator

yrluke commented Apr 1, 2024

我怀疑是exclude掉了资源格式,我这边没有复现

@yrluke yrluke added bug Something isn't working enhancement New feature or request need more information and removed enhancement New feature or request labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more information
Projects
None yet
Development

No branches or pull requests

2 participants