as root adding a manual blacklist: (also automatic blacklist works great)
/var/db/sentry # ./sentry.pl --verbose -b --ip=192.168.11.35
installed version is 0.25
ip 192.168.11.35 is valid
setup checks succeeded
using /var/db/sentry/sentry.dbm as database
0 connections from 192.168.11.35 (key: 3232238371)
blacklisting 192.168.11.35
As root, trying to delist any blacklist:
/var/db/sentry # ./sentry.pl --verbose -delist --ip=192.168.11.35
installed version is 0.25
ip 192.168.11.35 is valid
setup checks succeeded
using /var/db/sentry/sentry.dbm as database
0 connections from 192.168.11.35 (key: 3232238371)
and it is blacklisted
unblacklisting 192.168.11.35
file /var/db/sentry/hosts.deny or enclosing dir is not writable!
unwhitelisting 192.168.11.35
permissions:
-rw-r--r-- 1 root wheel 996 Jun 12 13:10 hosts.deny
drwxr-xr-x 2 root wheel 512 Jun 12 13:10 sentry
Obviously blacklisting works, but the entry is never removed from hosts.deny
FreeBSD 9.1 amd64 & Perl v5.14.2
as root adding a manual blacklist: (also automatic blacklist works great) /var/db/sentry # ./sentry.pl --verbose -b --ip=192.168.11.35 installed version is 0.25 ip 192.168.11.35 is valid setup checks succeeded using /var/db/sentry/sentry.dbm as database 0 connections from 192.168.11.35 (key: 3232238371) blacklisting 192.168.11.35
As root, trying to delist any blacklist: /var/db/sentry # ./sentry.pl --verbose -delist --ip=192.168.11.35 installed version is 0.25 ip 192.168.11.35 is valid setup checks succeeded using /var/db/sentry/sentry.dbm as database 0 connections from 192.168.11.35 (key: 3232238371) and it is blacklisted unblacklisting 192.168.11.35 file /var/db/sentry/hosts.deny or enclosing dir is not writable! unwhitelisting 192.168.11.35
permissions: -rw-r--r-- 1 root wheel 996 Jun 12 13:10 hosts.deny drwxr-xr-x 2 root wheel 512 Jun 12 13:10 sentry
Obviously blacklisting works, but the entry is never removed from hosts.deny