看板FreeBSD
標 題Re: 請問如何防堵騷擾
發信站tales (Tue Oct 26 16:33:46 2004)
轉信站ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n
※ 引述《[email protected] (bad.....)》之銘言:
: ipfw, ipfilter or hosts.allow(tcp wrapper)
: 我是設定 hosts.allow 只允許某幾個 IP 能連線 sshd
如果是ssh2的話
寫在/usr/local/etc/sshd2_config裡面的AllowHosts也可以
裡面有寫好的範例可供參考
--
◢ ◢  ̄ ̄ ██
◢█◢█ ╱ ̄█◣ ██ ╱ ◢█ ̄╲ ██╱ ̄ ██ ◢█ ̄╲ ██ ╱
█◤██ ╱ ̄██ ██╱ ██ˍ╱ ██ ██ ██ ██╱
◤ ██ ╲ˍ██ █◤ ◥█ˍ╱ ██ ██ ◥█ˍ╱ ██ ╲
▏▎▍▌▋▊▉SPEED RULES▉▊▋▌▍▎▏
--
※ 發信站: 江湖閒話(tales.twbbs.org)
◆ From: 179-218.dorm.ncu.edu.tw