merhaba,

/etc/hosts.deny dosyasına;

ALL: ALL
ALL EXCEPT in.ftpd: 192.168.1.35


/etc/hosts.allow dosyası boş kalacak şekilde deneyin.



yaşar tunçez wrote:
Merhaba,

Sadece belli ip'lere ftp izni vermek için hosts.allow ve hosts.deny dosyalarını kullanmak istedim. Bunun için vsftpd kurulu sistemimi standalone moddan xinetd'nin kontrolüne verdim. Daha sonra ;

/etc/hosts.deny dosyasına ALL:ALL

/etc/hosts.allow dosyasına da  in.ftpd:192.168.1.35 satırını eklediğim halde ftp ile bu ip'ye de izin vermiyor, ALL:192.168.1.35 şeklinde de girdim ama olmadı. Ftp ile bağlanmaya çalıştığımda;

421 Service not available, remote server has closed connection

mesajı veriyor.

_______________________________________________ Linux-guvenlik mailing list [email protected] http://liste.linux.org.tr/mailman/listinfo/linux-guvenlik


_______________________________________________
Linux-guvenlik mailing list
[email protected]
http://liste.linux.org.tr/mailman/listinfo/linux-guvenlik

Cevap