New feature: restrict address/cidr

Gary E. Miller gem at rellim.com
Sat Jun 10 02:59:32 UTC 2017


Yo Hal!

On Fri, 09 Jun 2017 19:40:23 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> Nice.  Thanks.
> 
> > restrict 10.169.0.0 mask 255.0.0.0
> > restrict 10.169.0.0/8  
> 
> Slightly strange example.  I'd expect 10.0.0.0 mask 255.0.0.0 ==
> 10.0.0.0/8 or 10.169.0.0 mask 255.255.0.0 == 10.169.0.0/16

Your expectations are not mine.  Got a citation that says your
examples are not only correct, but to be insisted on?

> Should that generate an error message?

Why?  ntpd never complained about the mask before.  I've never seen
any program complain about such usage.  It is very convenient as
the user can simply cut/paste rfom his 'ifconfig' or 'ip addr' output.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170609/28396628/attachment.bin>


More information about the devel mailing list