安装安全狗失败 ,linux wget的时候不去找目标ip,而是路由到其他ip,原因分析

安装安全狗失败,

经过芮同事的仔细观察,wget安全狗时候,路由到了202.205.180.211.., 当然下载不了安全狗(IP:172.17.22.11)了

如图:

按他的思路,查了一下啊

[root@localhost ]# export
declare -x CVS_RSH="ssh"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="10"
...
省略。。
"eclare -x ftp_proxy="ftp://202.205.180.211:808/"
"eclare -x http_proxy="http://202.205.180.211:808/"
"eclare -x https_proxy="https://202.205.180.211:808/"
declare -x socks_proxy="socks://202.205.180.211:808/"
[root@localhost ]#

还真是很多,怪不得,把他们unset掉

[xxx@localhost xxx]# unset http_proxy
[xxx@localhost xxx]# unset https_proxy

再安装安全狗,ok了

[xxx@localhost xxx]# curl -sk https://172.17.22.11/safe/soft/sdserver-installer.sh | bash -s -- 172.17.22.11 cloud NF-7400L
安装主机安全轻量化Agent
下载客户端:http://172.17.22.11/safe/soft/agents/NF-7400L64/cloud-safedog_NF-7400L64.tar.gz
tar: safedog_p_linux64_4.0.30693/install.py: time stamp 2020-10-14 11:21:55 is 237170814.879674701 s in the future
省略字符>10000个

tar: python3.6/unittest/result.py: time stamp 2017-11-23 18:32:03 is 145958217.128775625 s in the future
tar: python3.6/unittest: time stamp 2020-11-25 15:37:56 is 240814970.128718725 s in the future
tar: python3.6/fileinput.py: time stamp 2017-11-23 18:31:49 is 145958203.128531461 s in the future
tar: python3.6: time stamp 2020-11-25 15:37:56 is 240814970.128451858 s in the future
Step 2.2, copy update center files... [ok]
Step 3, start to install server defense module
Step 3.1, copy server files... [ok]
Step 3.2, copy dir defend modules... [ok]
Tips:
(1)install version: 4.0.30693
Step 4, start to finish installation
Step 4.1, backup uninstall scripts... [ok]
Step 4.2, start service... [ok]
Installation is complete!
[root@localhost ]#

原文地址:https://www.cnblogs.com/lxgbky/p/14627170.html