Hi,
  To be frank, the ubuntu man pages is the only page where I found
that pattern using integers. So I may have to agree with what Syam
chettan says. If you must replace the integer with a dotted decimal
subnet mask, remember that 24 corresponds to 255.255.255.0 (the
masklength format may still work)

  But that is not all the problem there is with the hosts.allow/deny
files. The second problem is with the second address pattern
"10.165.2.1/24". Since the full address of 32 bits is given, it
apparently points to a single host. Why do you still use a subnet
mask?

  But then, there is a much more serious problem- most of the lines in
the file don't match the format given by [man hosts.allow]. The
default format is:
daemon_list : client_list [ : shell_command ]

  but nowhere in the file is the daemon list given. Probably, this is
the reason why ':' character is listed as missing. Besides, the lines
after the ip list, that starts with ~ character- doesn't match any
access control rule (refer: ACCESS CONTROL RULES, hosts.allow man
pages).

  I am not really an IT engineer, so I can't really give you a final
answer. You will need to have it examined by an experienced person.
You may also find these pages helpful:
http://closedsrc.org/_static/dn-articles/hosts_allow.html
http://linux.about.com/od/commands/l/blcmdl5_hostsal.htm

Regards,
Gokul Das

On May 16, 9:42 am, Arun v vempan <[email protected]> wrote:
> I am using centos 5.0.So what should i do should i change that /24.please
> advice
--~--~---------~--~----~------------~-------~--~----~
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

For details visit the website: www.ilug-tvm.org or the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to