Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 hosts.deny file is deprecated.FreeBSD 5.4

open
nobody
None
5
2005-06-24
2005-06-24
Alexandr Smirnov
No

Hi All!
I;m install portsentry on FreeBSD 5.4 stable
Big problem with block via hosts.deny

I found ugly solutions
cd /etc/
ln -s hosts.allow hosts.deny

And use
# Format Two: New Style - The format used when
extended option
# processing is enabled. You can drop in extended
processing
# options, but be sure you escape all '%' symbols with a
backslash
# to prevent problems writing out (i.e. \%c \%h )
#
KILL_HOSTS_DENY="ALL: $TARGET$ : DENY"

My problem - using
ALL:ALL:allow in end hosts.allow

portsentry add sting on end file!
Result - rules - not working :-(

Any solutions?

Discussion