If you want to allow everyone but, for example, 192.168?

Then the hosts.deny file line should read:

in.ftpd: 192.168.0.0/255.255.255.0

As I recall, you always need the network address/netmask in there.

On Fri, 9 Mar 2001 [EMAIL PROTECTED] wrote:

> i want to deny some hosts and ip addresses to access my ftp services,how should i do
>
> #more /etc/hosts.allow
> in.ftpd:all
> #more/etc/hosts.deny
> in.ftpd:`192.168.?
>
> is that correct?
>
> i want to deny some ip addresses match my patterns,i man hosts.allow,the manual say 
>`192.168.? matches 192.168.*.*,i try,but it does not work
>
> ----------------------------------------------
> »¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
> Thank you for using 21cn.com Email system
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to