高危端口 |
涉及服务 |
关闭方法 |
21 |
ftp |
vi /etc/inetd.conf 注释行#telnet stream tcp nowait telnetd /usr/sbin/in.telnetd /etc/init.d/openbsd-inetd restart |
23 |
telnet、rlogin |
/etc/init.d/proftpd stop chkconfig proftpd off |
25 |
SMTP Simple MailTransfer Protocol (E-mail) |
/etc/init.d/master stop chkconfig master off |
80 |
HTTP超文本传送协议 |
/etc/init.d/apache2 stop chkconfig apache off |
135 |
RPC(远程过程调用)服务 |
/etc/init.d/samba stop chkconfig samba off |
445 |
net File System(CIFS) |
/etc/init.d/samba stop chkconfig samba off |
8080 |
web |
/etc/init.d/tomcat7 stop chkconfig tomcat7 off |
111 | /etc/init.d/rpcbind stop chkconfig rpcbind off |
|
631 | /etc/init.d/cups stop chkconfig cups off |
|
53 | 步骤一:systenctl stop systemd-resolved 步骤二:vi /etc/systemd/resolved.conf 步骤三: [Resolve] 步骤四: ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf |
|
177 | 步骤一:把/etc/gdm/custom.conf 文件里xdmcp的enable=1改成enable=0. 步骤二:chattr +i custom.conf文章来源:https://www.toymoban.com/news/detail-477733.html 重启电脑文章来源地址https://www.toymoban.com/news/detail-477733.html |
|
查看端口对应服务:less /etc/services |
到了这里,关于凝思系统关闭端口的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!