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.

Egyebkent sem tartom valoszinunek, mert az ssh-val bejelentkeztem, az 
ldap pedig igen aktiv, igy azoknak is gondjuk lenne:

r...@x232-2:~# ldd /usr/sbin/slapd | grep wrap
         libwrap.so.0 => /lib/libwrap.so.0 (0xb7011000)
r...@x232-2:~# ldd /usr/sbin/sshd | grep wrap
         libwrap.so.0 => /lib/libwrap.so.0 (0xb7f6e000)


-- 
Gabor HALASZ <[email protected]>

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz