Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.25 --delist error: file /var/db/sentry/hosts.deny or enclosing dir is not writable! #1

Closed
sn3ak opened this issue Jun 12, 2013 · 1 comment
Labels

Comments

@sn3ak
Copy link

sn3ak commented Jun 12, 2013

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

msimerson added a commit that referenced this issue Jun 12, 2013
@msimerson
Copy link
Owner

Commit #44e3ba391682abbbf36953ad800d547657c5e1c9 should fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants