凝思后台6.0.80版本高危端口关闭方法 |
您所在的位置:网站首页 › linux6000端口服务怎么关闭 › 凝思后台6.0.80版本高危端口关闭方法 |
调度数据网反馈后台主机开放非法端口有21 23 80 111 139 445 631 其中大部分为危险端口,不可以加入到白名单端口中,需在后台机中关闭。 关闭方法如下: 关闭21端口 vi /etc/inetd.conf 注释行#telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd /etc/init.d/openbsd-inetd restart关闭22端口 /etc/init.d/ssh stop chkconfig ssh off关闭23端口 /etc/init.d/proftpd stop chkconfig proftpd off关闭80端口 /etc/init.d/apache2 stop chkconfig apache2 off关闭111端口 /etc/init.d/rpcbind stop chkconfig rpcbind off关闭631端口 /etc/init.d/cups stop chkconfig cups off关闭8080端口 /etc/init.d/tomcat7 stop chkconfig tomcat7 off关闭139和445端口 /etc/init.d/samba stop chkconfig samba off如需自动的加固脚本,请查看博主的上传资源。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |