mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-18 01:27:28 +08:00
请问能否把服务器ip隐藏掉 #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eicky on GitHub (Sep 17, 2020).
请问能把服务器ip去除吗?这样暴露了服务器ip
@kmvan commented on GitHub (Sep 17, 2020):
IP 地址是公开的,不会造成任何安全问题。因为直接 ping 域名就能得出 IP 了。如果使用了 CDN,那么 IP 也是 CDN 的 IP,所以这个功能没有任何影响的。
@eicky commented on GitHub (Sep 18, 2020):
但是我套了CDN,我看服务器ip还是显示的我本机实际ip地址,因为内网和公网是同ip的问题导致的吗?
@kmvan commented on GitHub (Sep 18, 2020):
用手机流量查看,应该是cdn ip。
@eicky commented on GitHub (Sep 18, 2020):
手机也查看了,确实是服务器的真实ip
@kmvan commented on GitHub (Sep 18, 2020):
这不科学,方便邮件我探针地址吗?我测试下
@eicky commented on GitHub (Sep 18, 2020):
你来个TG或者邮件地址都行,我直接找你
@kmvan commented on GitHub (Sep 18, 2020):
Added 6.2 xconfig.json switch "serverIp"
@Suitear commented on GitHub (Mar 28, 2021):
最新的探针,还是显示服务器真是IP呢,逃了cloudflare的cdn
@kmvan commented on GitHub (Mar 28, 2021):
配置文件选择禁用功能
serverIp@Suitear commented on GitHub (Mar 29, 2021):
感谢,但是下载的单文件php,没找到在哪修改呢。 T.T请原谅我是技术小白
@kmvan commented on GitHub (Mar 29, 2021):
https://github.com/kmvan/x-prober/blob/master/xconfig.json
仿照这个配置文件编辑你想要的内容,保存在探针同目录下
@Suitear commented on GitHub (Mar 29, 2021):
感谢,终于搞定了。但是xconfig.json这个示例里面的这一段可以删掉么,或者需要怎么改?
因为有了它,就报如下图的错。

@kmvan commented on GitHub (Mar 29, 2021):
动手试试,注意未位逗号
On Mar 29, 2021 14:10, moerfutin @.***> wrote:
https://github.com/kmvan/x-prober/blob/master/xconfig.json
仿照这个配置文件编辑你想要的内容,保存在探针同目录下
感谢,终于搞定了。但是xconfig.json这个示例里面的这一段可以删掉么,或者需要怎么改?
// You can set nodes for X-Prober
"nodes": [
["node-1", "http://localhost/prober/.tmp/"],
["node-3", "http://localhost/prober/.tmp/"] ]
因为有了它,就报如下图的错。
[image]https://user-images.githubusercontent.com/9960618/112793717-5d51c200-9098-11eb-84e8-8772a7d60c36.png
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/kmvan/x-prober/issues/102#issuecomment-809097896, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA5JMQV6EHHA6QLAHMDWL5DTGAKU7ANCNFSM4RP7TYRQ.
@Suitear commented on GitHub (Mar 29, 2021):
撒花~ 再次感谢神速~