mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
8accda0533
relating to default syslogd(8) behavior. PR: ports/102605 Submitted by: Jeremie Le Hen <jeremie@le-hen.org> Approved by: maintainer timeout (5 weeks)
16 lines
666 B
Plaintext
16 lines
666 B
Plaintext
-------------------------------------------------------------------------------
|
|
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
|
|
-------------------------------------------------------------------------------
|