From owner-freebsd-questions Thu Jul 25 6:10:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C4BD37B400 for ; Thu, 25 Jul 2002 06:10:38 -0700 (PDT) Received: from chaos.evolve.za.net (chaos.evolve.za.net [196.34.172.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E0C143E86 for ; Thu, 25 Jul 2002 06:10:37 -0700 (PDT) (envelope-from dave@raven.za.net) Received: from root by chaos.evolve.za.net with scanned-ok (Exim 3.36 #1) id 17XiO2-0008EU-00 for freebsd-questions@freebsd.org; Thu, 25 Jul 2002 15:10:34 +0200 Received: from [196.34.172.1] (helo=lucy) by chaos.evolve.za.net with smtp (Exim 3.36 #1) id 17XiO2-0008EJ-00 for freebsd-questions@freebsd.org; Thu, 25 Jul 2002 15:10:34 +0200 Message-ID: <005201c233dc$74545220$0400a8c0@lucy> From: "Dave Raven" To: Subject: hosts.allow Date: Thu, 25 Jul 2002 15:09:03 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Virus-Scanned: by Opteq - www.optec.co.za Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello all, This seems to be a fairly simple questions, but has been bothering me for a while now. I want to specify whole IP classes instead of single ips in my hosts.allow config file. These are the methods I have tried (unsuccessfully): sshd : 192.168.0.0/255.255.255.0 : allow sshd : 192.168.0. : allow sshd : 192.168.0/24 : allow sshd : 192.168.0.024 : allow What is the actuall way of doing this? Thanks, Dave. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message