|
高危端口 |
涉及服务 |
关闭方法 |
|
21 |
ftp |
vi /etc/inetd.conf 注释行#telnet stream tcp nowait telnetd /usr/sbin/in.telnetd /etc/init.d/openbsd-inetd restart 或者 /etc/init.d/proftpd stop chkconfig proftpd off |
|
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 重启电脑 | |
| 查看端口对应服务:less /etc/services | ||
凝思系统关闭端口
于 2022-11-04 10:27:46 首次发布
2万+

被折叠的 条评论
为什么被折叠?



