diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2023-09-12 00:03:06 +0100 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2023-09-12 00:06:07 +0100 |
commit | 29aa7852386072af1c00cc68913daacac8f261e5 (patch) | |
tree | 4a35f5927cc9d778d37df1ae10007e89fb10b101 | |
parent | eclass/linux-build: install .config with USE=sources (diff) | |
download | portage-29aa7852386072af1c00cc68913daacac8f261e5.tar.xz |
factory-default/net-misc/ntp: restrict limited
-rw-r--r-- | factory-default/net-misc/ntp/etc/ntp.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/factory-default/net-misc/ntp/etc/ntp.conf b/factory-default/net-misc/ntp/etc/ntp.conf index 98e99538..dd4ff0b4 100644 --- a/factory-default/net-misc/ntp/etc/ntp.conf +++ b/factory-default/net-misc/ntp/etc/ntp.conf @@ -15,6 +15,7 @@ server 127.127.1.0 fudge 127.127.1.0 stratum 10 # kod: Send a kiss-of-death packet if request is denied +# limited: Deny time service if the packet violates the rate limits # nomodify: Ignore all NTP packets which attempt to modify runtime # reconfiguration # notrap: Decline requests for remote event logging @@ -22,8 +23,8 @@ fudge 127.127.1.0 stratum 10 # and configuration requests). Time service is not affected. # nopeer: Deny packets which would result in mobilizing a new # association -restrict -4 default kod nomodify notrap noquery nopeer -restrict -6 default kod nomodify notrap noquery nopeer +restrict -4 default kod limited nomodify notrap noquery nopeer +restrict -6 default kod limited nomodify notrap noquery nopeer # Allow unrestricted access from localhost restrict 127.0.0.1 |