/etc/hosts.allow and /etc/hosts.deny

nilesh vaghela nileshj.vaghela at gmail.com
Fri Dec 15 10:03:11 UTC 2006


thru DNS or /etc/hosts??

On 12/14/06, tamer amr <tamer_linux at yahoo.com> wrote:
>
> i can ping the hosts with the hostname
>
> nilesh vaghela <nileshj.vaghela at gmail.com> wrote: first try that the
> domain or hostname are resolve properly.
>
> Then it will work.
>
> On 12/14/06, tamer amr  wrote:
> >
> >
> >
> > hi
> >
> >   i can't  use the /etc/hosts.allow and /etc/hosts.deny with the domain
> > name  and  the hostname but i can use it with the ip
> >
> >
> > for example
> >
> > in /etc/hosts.deny
> >
> > sshd: .win2linux.com  EXCEPT abeer.win2linux.com
> >
> > after that i reloaded the sshd service but it not working correctly
> >
> > and i tried with ip
> >
> > sshd: 192.168.1.  EXCEPT 192.168.1.159  and its work fine
> >
> > where is the problem ?
> >
> > thank you
> >
> >
> >
> >
> >
> >
> >
> > ---------------------------------
> > Everyone is raving about the all-new Yahoo! Mail beta.
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> Nilesh Vaghela
> ElectroMech
> Redhat Channel Partner and Training Partner
> 74, Nalanda Complex, Satellite Rd, Ahmedabad
> 25, The Emperor, Fatehgunj, Baroda.
> www.electromech.info
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info



More information about the redhat-list mailing list