Lines 2639-2644
Link Here
|
2639 |
.Xr ntpd 1ntpdmdoc |
2639 |
.Xr ntpd 1ntpdmdoc |
2640 |
on multiple hosts, with (mostly) common options (e.g., a |
2640 |
on multiple hosts, with (mostly) common options (e.g., a |
2641 |
restriction list). |
2641 |
restriction list). |
|
|
2642 |
.It Xo Ic interface |
2643 |
.Oo |
2644 |
.Cm listen | |
2645 |
.Cm ignore | |
2646 |
.Cm drop |
2647 |
.Oc |
2648 |
.Oo |
2649 |
.Cm all | |
2650 |
.Cm ipv4 | |
2651 |
.Cm ipv6 | |
2652 |
.Cm wildcard | |
2653 |
.Cm name | |
2654 |
.Cm address \&/prefixlen |
2655 |
.Oc |
2656 |
.Xc |
2657 |
This command controls which network addresses ntpd opens, and whether input is |
2658 |
dropped without processing. The first parameter determines the action for |
2659 |
addresses which match the second parameter. That parameter specifies a class |
2660 |
of addresses, or a specific interface name, or an address. In the address |
2661 |
case, prefixlen determines how many bits must match for this rule to apply. |
2662 |
ignore prevents opening matching addresses, drop causes ntpd to open the |
2663 |
address and drop all received packets without examination. Multiple interface |
2664 |
commands can be used. The last rule which matches a particular address |
2665 |
determines the action for it. interface commands are disabled if any |
2666 |
.Cm -I , |
2667 |
.Cm --interface , |
2668 |
.Cm -L , |
2669 |
or |
2670 |
.Cm --novirtualips |
2671 |
command-line options are used. If none of those options are used and no |
2672 |
interface actions are specified in the configuration file, all available |
2673 |
network addresses are opened. The nic command is an alias for interface. |
2642 |
.It Ic leapsmearinterval Ar seconds |
2674 |
.It Ic leapsmearinterval Ar seconds |
2643 |
This EXPERIMENTAL option is only available if |
2675 |
This EXPERIMENTAL option is only available if |
2644 |
.Xr ntpd 1ntpdmdoc |
2676 |
.Xr ntpd 1ntpdmdoc |