[Git][NTPsec/ntpsec][master] restrict: oddly restrict is documented two places.

Gary E. Miller gitlab at mg.gitlab.com
Sat Jun 10 01:55:19 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
41c05025 by Gary E. Miller at 2017-06-09T18:54:44-07:00
restrict: oddly restrict is documented two places.

Slightly differently, of course.

- - - - -


1 changed file:

- docs/includes/access-commands.txt


Changes:

=====================================
docs/includes/access-commands.txt
=====================================
--- a/docs/includes/access-commands.txt
+++ b/docs/includes/access-commands.txt
@@ -23,23 +23,25 @@
     1000 packets per second or more.
 
 [[restrict]]
-+restrict+ _address_ [+mask+ _mask_] [+flag+ +...+]::
-  The _address_ argument expressed in dotted-quad form is the address of
-  a host or network. Alternatively, the _address_ argument can be a
-  valid host DNS name. The _mask_ argument expressed in dotted-quad form
-  defaults to +255.255.255.255+, meaning that the _address_ is treated
-  as the address of an individual host. A default entry (address
-  +0.0.0.0+, mask +0.0.0.0+) is always included and is always the first
-  entry in the list. Note that text string _default_, with no mask
-  option, may be used to indicate the default entry. In the current
-  implementation, _flag_ always restricts access, i.e., an entry with no
-  flags indicates that free access to the server is to be given. The
-  flags are not orthogonal, in that more restrictive flags will often
-  make less restrictive ones redundant. The flags can generally be
-  classed into two categories, those which restrict time service and
-  those which restrict informational queries and attempts to do run-time
-  reconfiguration of the server. One or more of the following flags may
-  be specified:
++restrict+ _address_[/_cidr_] [+mask+ _mask_] [+flag+ +...+]::
+  The _address_ argument expressed in dotted-quad (for IPv4) or
+  :-delimited (for IPv6) form is the address of a
+  host or network. Alternatively, the _address_ argument can be a valid
+  host DNS name. The _mask_ argument expressed in IPv4 or IPv6 numeric
+  address form defaults to all mask bits on, meaning that the _address_ is
+  treated as the address of an individual host.  Instead of an explicit
+  _mask_ the _address/cidr_ may be specified in CIDR notation.  A
+  default entry (address +0.0.0.0+, mask +0.0.0.0+) is always included
+  and is always the first entry in the list. Note that text string
+  _default_, with no mask option, may be used to indicate the default
+  entry. In the current implementation, _flag_ always restricts access,
+  i.e., an entry with no flags indicates that free access to the server
+  is to be given. The flags are not orthogonal, in that more restrictive
+  flags will often make less restrictive ones redundant. The flags can
+  generally be classed into two categories, those which restrict time
+  service and those which restrict informational queries and attempts
+  to do run-time reconfiguration of the server. One or more of the
+  following flags may be specified:
 +
 --
   +flake+;;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/41c050250d7c8be9a958f1481b39ec39752b36c7

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/41c050250d7c8be9a958f1481b39ec39752b36c7
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170610/1cf2135a/attachment.html>


More information about the vc mailing list