> 0 192.168.1.22/32 > ntpport interface ignore (and friends)
> I'm having trouble mapping that to my mental model of how restriction blocks > work, which maked me nervous about modifying mearby code. There is code that adds rules like that to keep ntpd from getting time from itself. from create_interface in ntpd/ntp_io.c * Blacklist our own addresses, no use talking to ourself */ SET_HOSTMASK(&resmask, AF(&iface->sin)); hack_restrict(RESTRICT_FLAGS, &iface->sin, &resmask, RESM_NTPONLY | RESM_INTERFACE, RES_IGNORE, 0); -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel