<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/chrony/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-03-15T18:40:39Z</updated>
<entry>
<title>chrony: make chrony-hotplug more reliable</title>
<updated>2026-03-15T18:40:39Z</updated>
<author>
<name>Florian Wagner</name>
</author>
<published>2026-02-17T15:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=ce52e2ec21385f01503891ca9303cce5f3d54ceb'/>
<id>urn:sha1:ce52e2ec21385f01503891ca9303cce5f3d54ceb</id>
<content type='text'>
At startup there's a race situation where "chronyc waitsync" (and thus
chrony-hotplug) will exit right away because it can't bind to loopback.

This change tries quite hard to make chrony-hotplug wait for loopback to
come up before running chronyc.

Fixes #28434.

Signed-off-by: Florian Wagner &lt;florian@wagner-flo.de&gt;
</content>
</entry>
<entry>
<title>chrony: add configuration parameters</title>
<updated>2025-05-01T08:00:14Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2025-04-29T10:56:29Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1f9afbf80d9d470a3fb73d90b37eb5c45bd782f8'/>
<id>urn:sha1:1f9afbf80d9d470a3fb73d90b37eb5c45bd782f8</id>
<content type='text'>
The existing config sections were anonymous, implying multiple can
coexist. Those are now named so that only one shall exist.

Added:
- smoothtime (in case of large frequency offsets)
- systemclock parameters
- logchange (increase awareness of clock drift in syslog)
- maxsources (for peers; internal default: 4)
- prefer (one server over others)
- interleave (xleave - more accurate transmit timestamps - good to have)

Refactored handle_allow() to handle 'list interface' instead of option.
Then only a single section is required.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: add ntp hotplug provider script</title>
<updated>2023-12-18T17:01:44Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2023-12-18T11:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=9b6bf4695797f582ccf89d45d026161d566c6169'/>
<id>urn:sha1:9b6bf4695797f582ccf89d45d026161d566c6169</id>
<content type='text'>
When the service is started, wait for the clock to be synchronized for
up to 5 minutes and provide the stratum action once for ntp hotplug
scripts.

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: fix uci NTP access configuration</title>
<updated>2021-06-19T11:30:09Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2021-06-19T11:14:05Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=6562287c498b29be6146514d97c83c255e96aeb1'/>
<id>urn:sha1:6562287c498b29be6146514d97c83c255e96aeb1</id>
<content type='text'>
The chrony interface hotplug script reuses the handle_allow function
from the init script to allow NTP access on interfaces specified in uci.
The function requires /lib/functions/network.sh. Include the file in the
hotplug script to make the function work as expected.

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: improve configuration</title>
<updated>2020-10-30T19:57:35Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2020-10-30T19:57:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=21c0f580f1c3701a96cf0621f3ec431fa57e034d'/>
<id>urn:sha1:21c0f580f1c3701a96cf0621f3ec431fa57e034d</id>
<content type='text'>
Extend configuration of NTP sources in UCI:
- Add nts option to enable NTS
- Add disabled option to allow inactive sources

Add nts section to UCI with:
- rtccheck option to disable certificate time checks on systems that
  don't have an RTC to avoid the chicken-and-egg problem (it is less
  secure, but still should be better than no NTS at all)
- systemcerts option to disable system certificates
- trustedcerts option to specify path to trusted certificates

Save NTS keys and cookies by default to avoid unnecessary NTS-KE
sessions when restarted or switching back to an already used NTS source.
Also, save the drift to stabilize the clock after chronyd restart.

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: improve hotplug script</title>
<updated>2020-10-30T19:02:48Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2020-10-30T19:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=b9d6d6cdd0c4353a141c4a4c27337b7734a8d352'/>
<id>urn:sha1:b9d6d6cdd0c4353a141c4a4c27337b7734a8d352</id>
<content type='text'>
- Use the chronyc onoffline command to update state of all sources
  per current routing configuration
- Don't ignore the "ifupdate" action
- Add NTP servers from DHCP for the interface that went up instead of
  the wan4+wan6 interfaces
- Save the servers to files loaded by the sourcedir directive to not
  lose them when chronyd is restarted, and remove them when the
  interface goes down

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: rework loading of configuration</title>
<updated>2020-10-30T19:02:11Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2020-10-30T16:02:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=1dc8c501a66ac05bea4700809ae22da9231bb951'/>
<id>urn:sha1:1dc8c501a66ac05bea4700809ae22da9231bb951</id>
<content type='text'>
Instead of loading /etc/chrony/chrony.conf from the file generated from
the chrony UCI configuration, use the confdir directive in the main
config to load the generated file. This should make it obvious that
chrony is configured in UCI and it can also be easily disabled.

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: fix configuration of IPv6 client access</title>
<updated>2018-09-17T15:14:30Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2018-09-17T09:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=c9164a4d8ad892f3e270d8dc61344392d1a113ae'/>
<id>urn:sha1:c9164a4d8ad892f3e270d8dc61344392d1a113ae</id>
<content type='text'>
Fix the init script to allow access from IPv6 subnets of the interface
specified in allow section in /etc/config/chrony.

Fixes issue #7039.

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
<entry>
<title>chrony: set rtcsync config option</title>
<updated>2017-02-10T17:13:31Z</updated>
<author>
<name>Metafly</name>
</author>
<published>2017-02-10T16:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=fd4449e1de3f0a580e7ac3ecfc0e6313ea555430'/>
<id>urn:sha1:fd4449e1de3f0a580e7ac3ecfc0e6313ea555430</id>
<content type='text'>
Else the system will always stay in UNSYNC state.
Even if there is no real RTC.
See chrony minimal config:
http://chrony.tuxfamily.org/faq.html#_what_is_the_minimum_recommended_configuration_for_an_ntp_client

Signed-off-by: Stefan Sydow &lt;st@metafly.info&gt;
</content>
</entry>
<entry>
<title>chrony: improve hotplug and init scripts</title>
<updated>2015-11-14T12:36:52Z</updated>
<author>
<name>Miroslav Lichvar</name>
</author>
<published>2015-11-14T07:59:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=9b9c34e47d30f085c700f9d3504b9ffa3e36e40b'/>
<id>urn:sha1:9b9c34e47d30f085c700f9d3504b9ffa3e36e40b</id>
<content type='text'>
- fix the init script to read the right config
- rework the init script to allow reusing its code in the hotplug script
- find wan interfaces in the hotplug script instead of using hardcoded
  name and set the online/offline status separately for IPv4/IPv6
- allow NTP access on interfaces that are configured after chronyd start
- add NTP servers obtained from DHCP, options are specified in a new
  dhcp_ntp_server config section
- start chronyd before the network service, include a patch to always
  have IP_FREEBIND defined, which seems to be missing with uclibc

Signed-off-by: Miroslav Lichvar &lt;mlichvar0@gmail.com&gt;
</content>
</entry>
</feed>
