Re: Allowing Connections
On Sat, Mar 13, 1999 at 10:50:32PM -0500, wax_man@bellsouth.net wrote:
> I'm having problems getting my /etc/hosts.allow file set up correctly.
> I"m trying to allow any system on my network (192.168.1.X) to connect
> to leafnode and get the news groups.
[...]
> I've tried adding:
> leafenode:127.0.0.1 192.168.1.*
>
> but it does not seem to work.
>
> After reading the man pages on it, I'm still not sure what to do.
^^^^^^^^^^^^^^^^^^^
You are sure?
>From 'Manual page hosts_access(5)':
[...]
A string that ends with a `.' character. A host
address is matched if its first numeric fields
match the given string. For example, the pattern
`131.155.' matches the address of (almost) every
host on the Eindhoven University network
(131.155.x.x).
[...]
An expression of the form `n.n.n.n/m.m.m.m' is
interpreted as a `net/mask' pair. A host address is
matched if `net' is equal to the bitwise AND of the
address and the `mask'. For example, the net/mask
pattern `131.155.72.0/255.255.254.0' matches every
address in the range `131.155.72.0' through
`131.155.73.255'.
[...]
Then you have to use `192.168.1.' or `192.168.1.0/255.255.255.0' .
Mirek
Reply to: