fgudin wrote on 24. Sep 2007 at 12:36:
Le port n'a pas installé de script rc ? (cf. [url=http://www.freebsd.org/cgi/man.cgi?query=pkg_info&apropos=0&sektion=0&manpath=FreeBSD+6.2-RELEASE&form
at=html]pkg_info(1)[/url])
Il installe le script rc que dans la version 1.0 mais pas dans la version 1.2.3
dans la version 1.0 il y a deux fichiers le bruteforceblocker.sh et le bruteforceblocker.pl
dans la version 1.2.3 il y a aussi deux fichiers bruteforceblocker.conf et le bruteforceblocker.pl mais pas de script de démarrage.
Mes ports sont à jour et il installe donc la version 1.2.3
Ce que je comprend pas c'est qu'il a renommer le fichier bruteforceblocker.pl en bruteforceblocker et il l'a mi dans /usr/local/sbin
Voici le fichier d'install du site:
Code:INSTALLATION
o) You will need to add a new table to the pf config file. You can do so
by adding lines to the pf.conf similar to these:
table <bruteforce> persist file "/var/db/ssh-bruteforce"
block in log quick proto tcp from <bruteforce> to any port ssh
o) You will also need to add new line into your /etc/syslog.conf so it
will look like this:
auth.info;authpriv.info | exec /usr/local/sbin/bruteforceblocker
- note that you should keep the original line, otherwise you will lose
your sshd's logs - e.g. they will not be logged.
o) You should also consider starting syslogd with -c option.
Les deux premiers points ont été fait mais le 3ème point est un peu flou
You should also consider starting syslogd with -c option.
Il est dit que je dois démarrer le démon syslogd avec l'option -c
mais le démon syslogd est déjà démarré et il démarre avec ces options:
/usr/sbin/syslogd -l /var/run/log -l /var/named/var/run/log -s