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

汇报两个设计缺陷 #71

Closed
WROIATE opened this issue Dec 2, 2020 · 2 comments
Closed

汇报两个设计缺陷 #71

WROIATE opened this issue Dec 2, 2020 · 2 comments

Comments

@WROIATE
Copy link

WROIATE commented Dec 2, 2020

  1. 当域名同时绑定了IPv6和IPv4时,使用的ping检查域名绑定
    ping domain -c1 | grep -oE -m1 "([0-9]{1,3}\.){3}[0-9]{1,3}"
    由于Linux会优先IPv6返回,因此会出现返回IPv4空值的情况,建议改用host命令进行查询,以下为示例
    host domain | grep -o 'address .*' | awk '{print $2}'
    该命令会同时返回IPv4以及IPv6地址

  2. 某些VPS主机很干净,甚至没有firewalld,建议安装前做个检查

@WROIATE WROIATE closed this as completed Dec 2, 2020
@proxysu
Copy link
Owner

proxysu commented Dec 2, 2020

好的,谢谢建议。

@proxysu
Copy link
Owner

proxysu commented Dec 2, 2020

问题1已经修复了,会在下一下正式版中推出,
问题2,在程序中应该是会检测一下,是否安装有防火墙的,不过检测的办法是运行:“command -v ufw”或者"command -v firewall-cmd"。这两个命令,不知道是否会全面而准确。还请建议一下。

github-actions bot added a commit to Wolf1329/windows that referenced this issue Dec 4, 2020
github-actions bot added a commit to Wolf1329/windows that referenced this issue Dec 5, 2020
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