hosts.allow syntax for Solaris 10

From: Christopher L. Barnard (cbar44@tsg.cbot.com)
Date: Fri Feb 23 2007 - 16:28:01 EST


I have a quick syntax question. In Solaris 10, in my hosts.allow files,
I have the same rule written two different ways on two different servers.
Both work fine.

<service>: <allowed-ip-range>: severity LOCAL3.info
<service>: <allowed-ip-range> severity LOCAL3.info

The second form does not have the second colon. Both versions work just
fine. I am writing a how-to doc for our environment, and I want to use
the correct syntax. I did not find anything from docs.sun.com or googling
it. Does anyone know what the "official" correct syntax is?

+-----------------------------------------------------------------------+
| Christopher L. Barnard O When I was a boy I was told that |
| cbarnard@tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:41 EDT