看板FreeBSD
标 题Re: 请问如何防堵骚扰
发信站超级光小站 (Mon Oct 25 12:14:25 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.cis.nctu!news.cs.nthu!bbs.super
※ 引述《[email protected] (阿里安)》之铭言:
> 最近常收到主机所传过来的 security run output
> 讯息类似如下:
> Oct 24 23:10:16 hoho sshd[49323]: Failed password for root from 61.28.37.194
> port 2012 ssh2
> Oct 23 01:57:58 hoho sshd[37518]: Failed password for root from
> 140.192.37.29 port 42419 ssh2
> 请问:我该在那个档案设定,以防堵类似的骚扰?
> 谢谢!
ipfw, ipfilter or hosts.allow(tcp wrapper)
我是设定 hosts.allow 只允许某几个 IP 能连线 sshd
--
╭───╮╭─╮
│█◤█││█│ ※ Origin:
超级光小站 <SuperLight.twbbs.org>
│█◢◣╮│█│ ※ From :
220-135-148-45.HINET-IP.hinet.net
╰◥◤█││█╰─╮
│█◢█││███│
╰───╯╰───╯