On Mon, Sep 29, 2003 at 08:10:22AM -0800, Noah wrote: > > FreeBSD 4.8 - stable > > > 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 -- 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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"