denyhosts

cd /usr/ports/security/denyhosts
make install

To run denyhosts from startup, add denyhosts_enable=”YES”
in your /etc/rc.conf.
Configiration options can be found in /usr/local/etc/denyhosts.conf
——————————————————————————-
In order to proper working of denyhosts
1. edit your /etc/hosts.allow file and add:
sshd : /etc/hosts.deniedssh : deny
sshd : ALL : allow
2. issue the following command if /etc/hosts.deniedssh does not exist yet
touch /etc/hosts.deniedssh
——————————————————————————-
Warning:

syslogd should ideally be run with the -c option; this will ensure that
denyhosts notices multiple repeated login attempts.

To do this, add syslogd_flags=”-c” to /etc/rc.conf
——————————————————————————-

カテゴリー: BSD

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA


日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)