On Tue, 29 Sep 1998, John Roberts wrote:

> 
>       If i'm trying to deny connections to my box from a certain set of
> IP's, say everyone from 206.192.* for example, how would i go about adding
> that to my hosts.deny file?  I've added that line, and in my logs i get an
> error saying that line 10 doesn't have a ':' separator.  I know it has to
> be something simple, that i'm just not seeing.
> 
try something like:

ALL : 206.192.* : rfc931 : DENY

The first ALL indicates that this rule applies to all services
rfc931 tells tcpd to log connection attempts and ident them

HTH

--
Mike <[EMAIL PROTECTED]>

>From Sharp minds come... pointed heads.
-- Bryan Sparrowhawk

Reply via email to