On Thu, Jul 25, 2002 at 03:02:50PM +0200, Dave Raven wrote: > 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?
It seems there are a few ways of doing it - take a look at the section headed PATTERNS in man 5 hosts_access Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
