Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 2003 17:21:31 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Noah <admin2@enabled.com>
Subject:   Re: portsentry - flushing hosts.deny
Message-ID:  <20030929162131.GB26758@happy-idiot-talk.infracaninophile.co.uk>
Resent-Message-ID: <20030929162502.GC26758@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20030929160815.M65639@enabled.com>
References:  <20030929160815.M65639@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 29, 2003 at 08:10:22AM -0800, Noah wrote:
>=20
> FreeBSD 4.8 - stable
>=20
>=20
> can somebody tell me how to get portsentry to flush the hosts.deny file? =
 or
> do I just need to remove the contents manually and restart portsentry?

You don't need to do that for two reasons:

i) tcp_wrappers re-reads it's configuration file automatically
whenever a new connection gets made to a wrapped service: any changes
will be picked up instantaneously.

ii) Under FreeBSD the default is to compile tcp_wrappers using the
optional host_options(5) style.  That means that only /etc/hosts.allow
is consulted, and each rule in that file contains an extra final field
(compared to the hosts_access(5) style) which says whether the rule is
an ALLOW or DENY rule.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030929162131.GB26758>