高危端口
涉及服务
关闭方法
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
查看端口对应服务:less /etc/services
版权归原作者 weixin_54171196 所有, 如有侵权,请联系我们删除。