Gergely Tamás wrote:
> Sziasztok!
> 
> 
> Azt szeretném hogy az FTP szerverre csak .hu végződésű hostok tudjanak 
> kapcsolódni.
> 
> Valahogy így gondoltam:
> 
>     <Class friends>
>            From *.hu
>     </Class>
> 
> 
>   <Limit LOGIN>
>         Allow From friends
>         Deny All
>   </Limit>
> 
> 
> De a *. hu-t nem fogadja el. Próbáltam a regex .*\.hu -val is de sehogy 
> sem jó.
> Tehát hogyan tudom a .hu végződést megetetni vele?

apt-cache show proftpd-basic | grep Depend
Depends: netbase (>= 4.13), libacl1 (>= 2.2.11-1), libattr1 (>= 
2.4.41-1), libc6 (>= 2.7-1), libcap1, libncurses5 (>= 5.6+20071006-3), 
libpam0g (>= 0.99.7.1), libssl0.9.8 (>= 0.9.8f-5), libwrap0 (>= 7.6-4~),
debconf (>= 0.5.00), adduser, ucf (>= 0.30), debianutils (>= 1.21.0), 
libpam-runtime (>= 0.76-13.1), update-inetd, sed (>= 4.1.5)

Szoval:

hosts.allow-ban ftpd: .hu LOCAL
hosts.deny-ben: ftpd: ALL

-- 
Gabor HALASZ <halas...@freemail.hu>

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

válasz