On Thu, Dec 10, 2009 at 05:23:55PM +0100, Gabor HALASZ wrote:
> Papp Tamás wrote:
> > Papp Tamas wrote, On 2009. 12. 10. 17:08:
> >> On Thu, Dec 10, 2009 at 04:58:45PM +0100, Gabor HALASZ wrote:
> >>   
> >>> r...@x232-2:~# cat /etc/hosts.allow
> >>> sshd:           192.168.0.0/16
> >>> slapd:          192.168.0.0/16
> >>> mountd:         192.168.1.0/24
> >>> mysqld:         192.168.1.0/24 127.0.0.1/8
> >>> ALL:            192.168.1.0/24 127.0.0.1/8
> >>>     
> >> Telnetelni tudsz a portra?
> >>   
> > 
> > Ja, es 127.0.0. a 127.0.0.1/8 helyett.
> > 
> 
> A man szerint mindegy:
> 
> 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/mm' is interpreted as a 
> 'net/masklength' pair, where `mm' is the number of consecutive `1' bits 
> in the netmask applied to the `n.n.n.n' address.

OK, akkor viszont 127.0.0.0/8 .

tompos
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz