Merge ~axino/ntp-charm/+git/ntp-charm:axino into ntp-charm:master

Proposed by Junien F
Status: Merged
Approved by: Benjamin Allot
Approved revision: 29e7c57fa461b8af20563598df068a839851a632
Merged at revision: 7e28462be0a3c2dece3cbac743264e83d339a7c5
Proposed branch: ~axino/ntp-charm/+git/ntp-charm:axino
Merge into: ntp-charm:master
Diff against target: 81 lines (+22/-7)
1 file modified
README.md (+22/-7)
Reviewer Review Type Date Requested Status
Benjamin Allot Approve
Canonical IS Reviewers Pending
Review via email: mp+389059@code.launchpad.net

Commit message

README : add paragraph about unlimited_clients

To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

This merge proposal is being monitored by mergebot. Change the status to Approved to merge.

Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Unable to determine commit message from repository - please click "Set commit message" and enter the commit message manually.

Revision history for this message
Benjamin Allot (ballot) wrote :

LGTM

review: Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote :

Change successfully merged at revision 7e28462be0a3c2dece3cbac743264e83d339a7c5

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/README.md b/README.md
2index 15d5628..972ff85 100644
3--- a/README.md
4+++ b/README.md
5@@ -1,5 +1,5 @@
6 Overview
7---------
8+========
9
10 Network Time Protocol (NTP) is a network-based time service to ensure
11 synchronization of time across a network of computers. It is defined in
12@@ -7,7 +7,7 @@ RFC5905.
13
14
15 Usage
16------
17+=====
18
19 The ntp charm is a subordinate charm which is designed for use with other
20 principal charms. In its basic mode, the ntp charm is used to configure NTP
21@@ -23,7 +23,7 @@ several options.
22
23
24 Manual
25-======
26+------
27
28 If you already have a set of reliable, non-juju NTP servers in your network,
29 simply configure them as sources or peers and disable the default list of pool
30@@ -37,7 +37,7 @@ Sources, peers, and pools should be space-separated.
31
32
33 Multiple strata
34-===============
35+---------------
36
37 In network environments where general outbound network access to the Internet
38 is not avaliable or you don't have a good internal time source such as an
39@@ -60,7 +60,7 @@ On other juju units which do not have outbound NTP access:
40
41
42 Auto peers
43-==========
44+----------
45
46 Auto peers implements multiple strata automatically, by testing upstream NTP
47 connectivity, selecting the units with the best connectivity to comprise
48@@ -73,8 +73,23 @@ those units.
49 juju set ntp auto_peers=true
50
51
52+Rate-limited clients
53+--------------------
54+
55+By default, ntpd puts a per-IP rate-limit on client requests. This can be
56+problematic if, for example, you have a lot of hosts NATed behind a single IP.
57+You can configure ntpd to not rate-limit requests coming from specific IPs or
58+networks by using the `unlimited_clients` config option. It is a space-separated
59+list of IPs and networks. Networks must be specified in the `<network_address>
60+mask <network_mask>` form. For example :
61+
62+ juju config ntp unlimited_clients="1.2.3.4,192.168.0.0 mask 255.255.0.0"
63+
64+Note that this option is ignored when the NTP implementation is chrony.
65+
66+
67 NTP Implementations
68--------------------
69+===================
70
71 Under Ubuntu 17.10 (Artful Aardvark) and earlier, the default implementation
72 of NTP is ntpd, from the Network Time Foundation. Ubuntu 18.04 (Bionic
73@@ -83,7 +98,7 @@ are also reflected in this charm.
74
75
76 Monitoring
77-----------
78+==========
79
80 This charm may be related to the NRPE charm for monitoring by Nagios.
81 The telegraf charm also includes support for gathering NTP metrics.

Subscribers

People subscribed via source and target branches

to all changes: