summaryrefslogtreecommitdiff
path: root/scripts/system/vyatta_update_ntp.pl
AgeCommit message (Collapse)Author
2018-02-20Rename the "client" NTP option to "allow-clients" to make it more clear what ↵Daniil Baturin
it does (fixes T553).
2017-06-11Fix to generate correct NTP config when specifying ipv6 servers.sayo
2015-02-28vyatta-cfg-system: skip over invalid ntp servers rather than exitingAlex Harpin
Skip over either invalid ntp servers, or ntp server hostnames that have failed to resolve correctly, and continue to process the rest of the configuration. Bug #94 http://bugzilla.vyos.net/show_bug.cgi?id=94
2015-02-28vyatta-cfg-system: update new ntp updating routine to work with dhcpAlex Harpin
Update the new NTP updating routines so they operate outside of configuration mode (dhcp triggered updates). This also requires changes to the vyatta-dhcp3 package (see Bug #500) Bug #94 http://bugzilla.vyos.net/show_bug.cgi?id=94
2015-02-26vyatta-cfg-system: rename variable in ntp_format subroutineAlex Harpin
Bug #94 http://bugzilla.vyos.net/show_bug.cgi?id=94
2015-02-26vyatta-cfg-system: redesign the layout and updating of ntpAlex Harpin
When NTP is configured on the system, it not only acts as a client for the configured servers, but also as a server. Although the server is only available as a time source, it still represents a service that the user hasn't specifically enabled. This commit sets the default configuration of NTP to disallow all external access, so the system acts purely as a client by default, and also introduces the ability to configure which addresses / subnets are allowed to both query and use it as a time source. If the servers configured are specified as host names, these are resolved to IP addresses before being added to ntp.conf, with the same process carried out after name server changes. syntax 'set system ntp client address' Bug #94 http://bugzilla.vyos.net/show_bug.cgi?id=94
2012-02-21Fix server property optionStephen Hemminger
Bug 7623 Patch provided by Stig.
2011-11-22Fix perl deprecated warning with 5.14Stephen Hemminger
Code of the form: for $i qw(a b c) causes the warning: Use of qw(...) as parentheses is deprecated
2010-11-12Change mode on all executable scriptsStephen Hemminger
The executable bit should be set on scripts. This only impacts the repository, during build install fixes it.
2010-10-13Revise new ntp server configStephen Hemminger
Putting it in 'system { ntp { server...' makes more sense.
2010-10-13Migrate NTP server to services ntpStephen Hemminger
Allows starting NTP server once at boot speeding up boot time and allows specifying some NTP server options