看板FreeBSD
標 題Re: 有防 ssh 的入侵方法嗎..
發信站OpenFind 網路論壇 (Tue May 31 09:31:19 2005)
轉信站ptt!ctu-reader!ctu-peer!Spring!news.nctu!newsgate.cuhk.edu.hk!netnews!
※ 引述《[email protected] (陳一中)》之銘言:
> 請問各位大大, 小弟在 /etc/rc.conf 加入 sshd_enable="YES" 後,
> 最近系統的 auth.log 都會記錄一大串的 ssh 入侵訊息, 每次都是數百列的記錄,
> 每天來的 IP 都不同, 所以沒法設定 ipfw 來擋掉該些 IP 的做法,
> 不知各位對這種的搔擾有什麼好方法可制止
TCP_WRAPPERS
編輯 /etc/hosts.allow
將 ALL : ALL : allow 註解起來
增加一行
sshd : 你的 IP : allow
--
好康訊息!
Openfind 提供免費撥接電話:40508888
帳號:openfind 密碼:openfind
--
http://bbs.openfind.com.tw
※來源:61.221.*