关闭portmapper服务

2022-04-25 18:17:41 浏览数 (1)

Portmapper服务被利用发起Ddos攻击,所以需要禁用。 rpcinfo -p

代码语言:javascript复制
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
代码语言:javascript复制
systemctl stop rpcbind
systemctl stop rpcbind.socket
代码语言:javascript复制
[root@s-a ~]# rpcinfo -p
rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused
代码语言:javascript复制
systemctl disable rpcbind
systemctl disable rpcbind.socket

0 人点赞