Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
augeas /
lenses /
dist /
Delete
Unzip
Name
Size
Permission
Date
Action
tests
[ DIR ]
drwxr-xr-x
2026-01-30 23:36
access.aug
3.58
KB
-rw-r--r--
2024-03-31 17:41
activemq_conf.aug
1.47
KB
-rw-r--r--
2024-03-31 17:41
activemq_xml.aug
864
B
-rw-r--r--
2024-03-31 17:41
afs_cellalias.aug
1.56
KB
-rw-r--r--
2024-03-31 17:41
aliases.aug
2.18
KB
-rw-r--r--
2024-03-31 17:41
anaconda.aug
775
B
-rw-r--r--
2024-03-31 17:41
anacron.aug
2.49
KB
-rw-r--r--
2024-03-31 17:41
approx.aug
1.26
KB
-rw-r--r--
2024-03-31 17:41
apt_update_manager.aug
1.11
KB
-rw-r--r--
2024-03-31 17:41
aptcacherngsecurity.aug
726
B
-rw-r--r--
2024-03-31 17:41
aptconf.aug
3.9
KB
-rw-r--r--
2024-03-31 17:41
aptpreferences.aug
1.79
KB
-rw-r--r--
2024-03-31 17:41
aptsources.aug
1.98
KB
-rw-r--r--
2024-03-31 17:41
authinfo2.aug
1.44
KB
-rw-r--r--
2024-03-31 17:41
authorized_keys.aug
1.84
KB
-rw-r--r--
2024-03-31 17:41
authselectpam.aug
3.7
KB
-rw-r--r--
2024-03-31 17:41
automaster.aug
3.31
KB
-rw-r--r--
2024-03-31 17:41
automounter.aug
4.05
KB
-rw-r--r--
2024-03-31 17:41
avahi.aug
1.38
KB
-rw-r--r--
2024-03-31 17:41
backuppchosts.aug
1014
B
-rw-r--r--
2024-03-31 17:41
bbhosts.aug
4.24
KB
-rw-r--r--
2024-03-31 17:41
bootconf.aug
3.65
KB
-rw-r--r--
2024-03-31 17:41
build.aug
16.65
KB
-rw-r--r--
2024-03-31 17:41
cachefilesd.aug
2
KB
-rw-r--r--
2024-03-31 17:41
carbon.aug
1.54
KB
-rw-r--r--
2024-03-31 17:41
ceph.aug
719
B
-rw-r--r--
2024-03-31 17:41
cgconfig.aug
3.37
KB
-rw-r--r--
2024-03-31 17:41
cgrules.aug
2.38
KB
-rw-r--r--
2024-03-31 17:41
channels.aug
3.84
KB
-rw-r--r--
2024-03-31 17:41
chrony.aug
13.79
KB
-rw-r--r--
2024-03-31 17:41
clamav.aug
1.72
KB
-rw-r--r--
2024-03-31 17:41
cmdline.aug
506
B
-rw-r--r--
2024-03-31 17:41
cobblermodules.aug
398
B
-rw-r--r--
2024-03-31 17:41
cobblersettings.aug
2.24
KB
-rw-r--r--
2024-03-31 17:41
cockpit.aug
1.96
KB
-rw-r--r--
2024-03-31 17:41
collectd.aug
869
B
-rw-r--r--
2024-03-31 17:41
cpanel.aug
824
B
-rw-r--r--
2024-03-31 17:41
cron.aug
4.05
KB
-rw-r--r--
2024-03-31 17:41
cron_user.aug
1.26
KB
-rw-r--r--
2024-03-31 17:41
crypttab.aug
3.08
KB
-rw-r--r--
2024-03-31 17:41
csv.aug
1.18
KB
-rw-r--r--
2024-03-31 17:41
cups.aug
459
B
-rw-r--r--
2024-03-31 17:41
cyrus_imapd.aug
1.51
KB
-rw-r--r--
2024-03-31 17:41
darkice.aug
773
B
-rw-r--r--
2024-03-31 17:41
debctrl.aug
3.61
KB
-rw-r--r--
2024-03-31 17:41
desktop.aug
1.39
KB
-rw-r--r--
2024-03-31 17:41
devfsrules.aug
619
B
-rw-r--r--
2024-03-31 17:41
device_map.aug
620
B
-rw-r--r--
2024-03-31 17:41
dhclient.aug
6.69
KB
-rw-r--r--
2024-03-31 17:41
dhcpd.aug
20.88
KB
-rw-r--r--
2024-03-31 17:41
dns_zone.aug
2.89
KB
-rw-r--r--
2024-03-31 17:41
dnsmasq.aug
2.16
KB
-rw-r--r--
2024-03-31 17:41
dovecot.aug
3.98
KB
-rw-r--r--
2024-03-31 17:41
dpkg.aug
2.78
KB
-rw-r--r--
2024-03-31 17:41
dput.aug
2.16
KB
-rw-r--r--
2024-03-31 17:41
erlang.aug
4.33
KB
-rw-r--r--
2024-03-31 17:41
ethers.aug
663
B
-rw-r--r--
2024-03-31 17:41
exports.aug
2.37
KB
-rw-r--r--
2024-03-31 17:41
fai_diskconfig.aug
9.28
KB
-rw-r--r--
2024-03-31 17:41
fail2ban.aug
1.79
KB
-rw-r--r--
2024-03-31 17:41
fonts.aug
819
B
-rw-r--r--
2024-03-31 17:41
fstab.aug
1.23
KB
-rw-r--r--
2024-03-31 17:41
fuse.aug
871
B
-rw-r--r--
2024-03-31 17:41
gdm.aug
1.8
KB
-rw-r--r--
2024-03-31 17:41
getcap.aug
1.57
KB
-rw-r--r--
2024-03-31 17:41
group.aug
1.66
KB
-rw-r--r--
2024-03-31 17:41
grub.aug
11.05
KB
-rw-r--r--
2024-03-31 17:41
grubenv.aug
508
B
-rw-r--r--
2024-03-31 17:41
gshadow.aug
2.19
KB
-rw-r--r--
2024-03-31 17:41
gtkbookmarks.aug
855
B
-rw-r--r--
2024-03-31 17:41
host_conf.aug
1.9
KB
-rw-r--r--
2024-03-31 17:41
hostname.aug
435
B
-rw-r--r--
2024-03-31 17:41
hosts.aug
485
B
-rw-r--r--
2024-03-31 17:41
hosts_access.aug
4.32
KB
-rw-r--r--
2024-03-31 17:41
htpasswd.aug
1.02
KB
-rw-r--r--
2024-03-31 17:41
httpd.aug
7.35
KB
-rw-r--r--
2024-03-31 17:41
inetd.aug
6.22
KB
-rw-r--r--
2024-03-31 17:41
inifile.aug
15.49
KB
-rw-r--r--
2024-03-31 17:41
inittab.aug
780
B
-rw-r--r--
2024-03-31 17:41
inputrc.aug
1.62
KB
-rw-r--r--
2024-03-31 17:41
interfaces.aug
4.62
KB
-rw-r--r--
2024-03-31 17:41
iproute2.aug
323
B
-rw-r--r--
2024-03-31 17:41
iptables.aug
2.64
KB
-rw-r--r--
2024-03-31 17:41
iscsid.aug
684
B
-rw-r--r--
2024-03-31 17:41
jaas.aug
1.57
KB
-rw-r--r--
2024-03-31 17:41
jettyrealm.aug
1.52
KB
-rw-r--r--
2024-03-31 17:41
jmxaccess.aug
1.35
KB
-rw-r--r--
2024-03-31 17:41
jmxpassword.aug
1.34
KB
-rw-r--r--
2024-03-31 17:41
json.aug
2.15
KB
-rw-r--r--
2024-03-31 17:41
kdump.aug
3.06
KB
-rw-r--r--
2024-03-31 17:41
keepalived.aug
10.73
KB
-rw-r--r--
2024-03-31 17:41
known_hosts.aug
1.93
KB
-rw-r--r--
2024-03-31 17:41
koji.aug
898
B
-rw-r--r--
2024-03-31 17:41
krb5.aug
6.98
KB
-rw-r--r--
2024-03-31 17:41
ldif.aug
7.65
KB
-rw-r--r--
2024-03-31 17:41
ldso.aug
1.06
KB
-rw-r--r--
2024-03-31 17:41
lightdm.aug
1.75
KB
-rw-r--r--
2024-03-31 17:41
limits.aug
2.02
KB
-rw-r--r--
2024-03-31 17:41
login_defs.aug
615
B
-rw-r--r--
2024-03-31 17:41
logrotate.aug
4.23
KB
-rw-r--r--
2024-03-31 17:41
logwatch.aug
1.44
KB
-rw-r--r--
2024-03-31 17:41
lokkit.aug
2.16
KB
-rw-r--r--
2024-03-31 17:41
lvm.aug
2.03
KB
-rw-r--r--
2024-03-31 17:41
mailscanner.aug
1.66
KB
-rw-r--r--
2024-03-31 17:41
mailscanner_rules.aug
2.84
KB
-rw-r--r--
2024-03-31 17:41
masterpasswd.aug
4.36
KB
-rw-r--r--
2024-03-31 17:41
mcollective.aug
1.09
KB
-rw-r--r--
2024-03-31 17:41
mdadm_conf.aug
10.05
KB
-rw-r--r--
2024-03-31 17:41
memcached.aug
1.24
KB
-rw-r--r--
2024-03-31 17:41
mke2fs.aug
6.29
KB
-rw-r--r--
2024-03-31 17:41
modprobe.aug
3.34
KB
-rw-r--r--
2024-03-31 17:41
modules.aug
741
B
-rw-r--r--
2024-03-31 17:41
modules_conf.aug
1.04
KB
-rw-r--r--
2024-03-31 17:41
mongodbserver.aug
1.17
KB
-rw-r--r--
2024-03-31 17:41
monit.aug
2.13
KB
-rw-r--r--
2024-03-31 17:41
multipath.aug
4.21
KB
-rw-r--r--
2024-03-31 17:41
mysql.aug
1.95
KB
-rw-r--r--
2024-03-31 17:41
nagioscfg.aug
2.09
KB
-rw-r--r--
2024-03-31 17:41
nagiosobjects.aug
1.57
KB
-rw-r--r--
2024-03-31 17:41
netmasks.aug
1.69
KB
-rw-r--r--
2024-03-31 17:41
networkmanager.aug
2.18
KB
-rw-r--r--
2024-03-31 17:41
networks.aug
1.09
KB
-rw-r--r--
2024-03-31 17:41
nginx.aug
3.65
KB
-rw-r--r--
2024-03-31 17:41
nrpe.aug
1.78
KB
-rw-r--r--
2024-03-31 17:41
nslcd.aug
9.87
KB
-rw-r--r--
2024-03-31 17:41
nsswitch.aug
2.33
KB
-rw-r--r--
2024-03-31 17:41
ntp.aug
5.29
KB
-rw-r--r--
2024-03-31 17:41
ntpd.aug
4.75
KB
-rw-r--r--
2024-03-31 17:41
odbc.aug
1.42
KB
-rw-r--r--
2024-03-31 17:41
opendkim.aug
3.1
KB
-rw-r--r--
2024-03-31 17:41
openshift_config.aug
2.46
KB
-rw-r--r--
2024-03-31 17:41
openshift_http.aug
1.03
KB
-rw-r--r--
2024-03-31 17:41
openshift_quickstarts.aug
1.02
KB
-rw-r--r--
2024-03-31 17:41
openvpn.aug
22.28
KB
-rw-r--r--
2024-03-31 17:41
oz.aug
1.35
KB
-rw-r--r--
2024-03-31 17:41
pagekite.aug
2.6
KB
-rw-r--r--
2024-03-31 17:41
pam.aug
2.58
KB
-rw-r--r--
2024-03-31 17:41
pamconf.aug
1.23
KB
-rw-r--r--
2024-03-31 17:41
passwd.aug
3.52
KB
-rw-r--r--
2024-03-31 17:41
pbuilder.aug
638
B
-rw-r--r--
2024-03-31 17:41
pg_hba.aug
2.97
KB
-rw-r--r--
2024-03-31 17:41
pgbouncer.aug
1.43
KB
-rw-r--r--
2024-03-31 17:41
php.aug
2.34
KB
-rw-r--r--
2024-03-31 17:41
phpvars.aug
3.85
KB
-rw-r--r--
2024-03-31 17:41
postfix_access.aug
771
B
-rw-r--r--
2024-03-31 17:41
postfix_main.aug
1.52
KB
-rw-r--r--
2024-03-31 17:41
postfix_master.aug
1.9
KB
-rw-r--r--
2024-03-31 17:41
postfix_passwordmap.aug
1.28
KB
-rw-r--r--
2024-03-31 17:41
postfix_sasl_smtpd.aug
697
B
-rw-r--r--
2024-03-31 17:41
postfix_transport.aug
1.48
KB
-rw-r--r--
2024-03-31 17:41
postfix_virtual.aug
1.32
KB
-rw-r--r--
2024-03-31 17:41
postgresql.aug
2.1
KB
-rw-r--r--
2024-03-31 17:41
properties.aug
2.3
KB
-rw-r--r--
2024-03-31 17:41
protocols.aug
1.05
KB
-rw-r--r--
2024-03-31 17:41
puppet.aug
1.52
KB
-rw-r--r--
2024-03-31 17:41
puppet_auth.aug
1.95
KB
-rw-r--r--
2024-03-31 17:41
puppetfile.aug
2.27
KB
-rw-r--r--
2024-03-31 17:41
puppetfileserver.aug
3.12
KB
-rw-r--r--
2024-03-31 17:41
pylonspaste.aug
2.3
KB
-rw-r--r--
2024-03-31 17:41
pythonpaste.aug
1.99
KB
-rw-r--r--
2024-03-31 17:41
qpid.aug
670
B
-rw-r--r--
2024-03-31 17:41
quote.aug
6.71
KB
-rw-r--r--
2024-03-31 17:41
rabbitmq.aug
4.69
KB
-rw-r--r--
2024-03-31 17:41
radicale.aug
1.48
KB
-rw-r--r--
2024-03-31 17:41
rancid.aug
927
B
-rw-r--r--
2024-03-31 17:41
redis.aug
6.5
KB
-rw-r--r--
2024-03-31 17:41
reprepro_uploaders.aug
5.47
KB
-rw-r--r--
2024-03-31 17:41
resolv.aug
4.03
KB
-rw-r--r--
2024-03-31 17:41
rhsm.aug
1.1
KB
-rw-r--r--
2024-03-31 17:41
rmt.aug
788
B
-rw-r--r--
2024-03-31 17:41
rsyncd.aug
1.97
KB
-rw-r--r--
2024-03-31 17:41
rsyslog.aug
3.27
KB
-rw-r--r--
2024-03-31 17:41
rtadvd.aug
854
B
-rw-r--r--
2024-03-31 17:41
rx.aug
4.2
KB
-rw-r--r--
2024-03-31 17:41
samba.aug
1.71
KB
-rw-r--r--
2024-03-31 17:41
schroot.aug
1.79
KB
-rw-r--r--
2024-03-31 17:41
securetty.aug
450
B
-rw-r--r--
2024-03-31 17:41
semanage.aug
1.02
KB
-rw-r--r--
2024-03-31 17:41
sep.aug
1.28
KB
-rw-r--r--
2024-03-31 17:41
services.aug
2.82
KB
-rw-r--r--
2024-03-31 17:41
shadow.aug
2.35
KB
-rw-r--r--
2024-03-31 17:41
shells.aug
745
B
-rw-r--r--
2024-03-31 17:41
shellvars.aug
12.02
KB
-rw-r--r--
2024-03-31 17:41
shellvars_list.aug
1.74
KB
-rw-r--r--
2024-03-31 17:41
simplelines.aug
1.13
KB
-rw-r--r--
2024-03-31 17:41
simplevars.aug
1.4
KB
-rw-r--r--
2024-03-31 17:41
sip_conf.aug
1.61
KB
-rw-r--r--
2024-03-31 17:41
slapd.aug
5.2
KB
-rw-r--r--
2024-03-31 17:41
smbusers.aug
781
B
-rw-r--r--
2024-03-31 17:41
solaris_system.aug
3.15
KB
-rw-r--r--
2024-03-31 17:41
soma.aug
1.14
KB
-rw-r--r--
2024-03-31 17:41
sos.aug
807
B
-rw-r--r--
2024-03-31 17:41
spacevars.aug
1.42
KB
-rw-r--r--
2024-03-31 17:41
splunk.aug
1.64
KB
-rw-r--r--
2024-03-31 17:41
squid.aug
15.95
KB
-rw-r--r--
2024-03-31 17:41
ssh.aug
4.39
KB
-rw-r--r--
2024-03-31 17:41
sshd.aug
4.74
KB
-rw-r--r--
2024-03-31 17:41
sssd.aug
861
B
-rw-r--r--
2024-03-31 17:41
star.aug
941
B
-rw-r--r--
2024-03-31 17:41
strongswan.aug
1.63
KB
-rw-r--r--
2024-03-31 17:41
stunnel.aug
2.21
KB
-rw-r--r--
2024-03-31 17:41
subversion.aug
2.75
KB
-rw-r--r--
2024-03-31 17:41
sudoers.aug
20.08
KB
-rw-r--r--
2024-03-31 17:41
sysconfig.aug
2.49
KB
-rw-r--r--
2024-03-31 17:41
sysconfig_route.aug
2.55
KB
-rw-r--r--
2024-03-31 17:41
sysctl.aug
1.36
KB
-rw-r--r--
2024-03-31 17:41
syslog.aug
7.33
KB
-rw-r--r--
2024-03-31 17:41
systemd.aug
6
KB
-rw-r--r--
2024-03-31 17:41
termcap.aug
1.03
KB
-rw-r--r--
2024-03-31 17:41
thttpd.aug
1.31
KB
-rw-r--r--
2024-03-31 17:41
tinc.aug
1.08
KB
-rw-r--r--
2024-03-31 17:41
tmpfiles.aug
3.16
KB
-rw-r--r--
2024-03-31 17:41
toml.aug
4.24
KB
-rw-r--r--
2024-03-31 17:41
trapperkeeper.aug
4.01
KB
-rw-r--r--
2024-03-31 17:41
tuned.aug
387
B
-rw-r--r--
2024-03-31 17:41
up2date.aug
2.21
KB
-rw-r--r--
2024-03-31 17:41
updatedb.aug
1.13
KB
-rw-r--r--
2024-03-31 17:41
util.aug
4.85
KB
-rw-r--r--
2024-03-31 17:41
vfstab.aug
1.71
KB
-rw-r--r--
2024-03-31 17:41
vmware_config.aug
702
B
-rw-r--r--
2024-03-31 17:41
vsftpd.aug
2.72
KB
-rw-r--r--
2024-03-31 17:41
webmin.aug
1.23
KB
-rw-r--r--
2024-03-31 17:41
wine.aug
1.92
KB
-rw-r--r--
2024-03-31 17:41
xendconfsxp.aug
1.07
KB
-rw-r--r--
2024-03-31 17:41
xinetd.aug
4.02
KB
-rw-r--r--
2024-03-31 17:41
xml.aug
6.33
KB
-rw-r--r--
2024-03-31 17:41
xorg.aug
10.43
KB
-rw-r--r--
2024-03-31 17:41
xymon.aug
2.26
KB
-rw-r--r--
2024-03-31 17:41
xymon_alerting.aug
6.11
KB
-rw-r--r--
2024-03-31 17:41
yaml.aug
1.54
KB
-rw-r--r--
2024-03-31 17:41
yum.aug
2.19
KB
-rw-r--r--
2024-03-31 17:41
Save
Rename
(* Module: Chrony Parses the chrony config file Author: Pat Riehecky <riehecky@fnal.gov> About: Reference This lens tries to keep as close as possible to chrony config syntax See http://chrony.tuxfamily.org/manual.html#Configuration-file About: License This file is licenced under the LGPL v2+, like the rest of Augeas. About: Lens Usage To be documented About: Configuration files This lens applies to /etc/chrony.conf See <filter>. *) module Chrony = autoload xfm (************************************************************************ * Group: Import provided expressions ************************************************************************) (* View: empty *) let empty = Util.empty (* View: eol *) let eol = Util.eol (* View: space *) let space = Sep.space (* Variable: email_addr *) let email_addr = Rx.email_addr (* Variable: word *) let word = Rx.word (* Variable: integer *) let integer = Rx.relinteger (* Variable: decimal *) let decimal = Rx.reldecimal (* Variable: ip *) let ip = Rx.ip (* Variable: path *) let path = Rx.fspath (************************************************************************ * Group: Create required expressions ************************************************************************) (* Variable: hex *) let hex = /[0-9a-fA-F]+/ (* Variable: number *) let number = integer | decimal | decimal . /[eE]/ . integer | hex (* Variable: address_re *) let address_re = Rx.ip | Rx.hostname (* View: comment from 4.2.1 of the upstream doc Chrony comments start with: ! ; # or % and must be on their own line *) let comment = Util.comment_generic /[ \t]*[!;#%][ \t]*/ "# " (* Variable: no_space No spaces or comment characters *) let no_space = /[^ \t\r\n!;#%]+/ (* Variable: cmd_options Server/Peer/Pool options with values *) let cmd_options = "asymmetry" | "certset" | "extfield" | "filter" | "key" | /maxdelay((dev)?ratio)?/ | /(min|max)poll/ | /(min|max)samples/ | "maxsources" | "mindelay" | "offset" | "polltarget" | "port" | "presend" | "version" (* Variable: cmd_flags Server/Peer/Pool options without values *) let cmd_flags = "auto_offline"|"iburst"|"noselect"|"offline"|"prefer" |"copy"|"require"|"trust"|"xleave"|"burst"|"nts" (* Variable: ntp_source Server/Peer/Pool key names *) let ntp_source = "server"|"peer"|"pool" (* Variable: allowdeny_types Key names for access configuration *) let allowdeny_types = "allow"|"deny"|"cmdallow"|"cmddeny" (* Variable: hwtimestamp_options HW timestamping options with values *) let hwtimestamp_options = "minpoll"|"precision"|"rxcomp"|"txcomp" |"minsamples"|"maxsamples"|"rxfilter" (* Variable: hwtimestamp_flags HW timestamping options without values *) let hwtimestamp_flags = "nocrossts" (* Variable: local_options local options with values *) let local_options = "stratum"|"distance" (* Variable: local_flags local options without values *) let local_flags = "orphan" (* Variable: ratelimit_options Rate limiting options with values *) let ratelimit_options = "interval"|"burst"|"leak" (* Variable: refclock_options refclock options with values *) let refclock_options = "refid"|"lock"|"poll"|"dpoll"|"filter"|"rate" |"minsamples"|"maxsamples"|"offset"|"delay" |"precision"|"maxdispersion"|"stratum"|"width" (* Variable: refclock_flags refclock options without values *) let refclock_flags = "noselect"|"pps"|"prefer"|"require"|"tai"|"trust" (* Variable: flags Options without values *) let flags = "dumponexit" | "generatecommandkey" | "lock_all" | "manual" | "noclientlog" | "nosystemcert" | "rtconutc" | "rtcsync" (* Variable: log_flags log has a specific options list *) let log_flags = "measurements"|"rawmeasurements"|"refclocks"|"rtc" |"statistics"|"tempcomp"|"tracking" (* Variable: simple_keys Options with single values *) let simple_keys = "acquisitionport" | "authselectmode" | "bindacqaddress" | "bindaddress" | "bindcmdaddress" | "bindacqdevice" | "bindcmddevice" | "binddevice" | "clientloglimit" | "clockprecision" | "combinelimit" | "commandkey" | "cmdport" | "corrtimeratio" | "driftfile" | "dscp" | "dumpdir" | "hwclockfile" | "include" | "keyfile" | "leapsecmode" | "leapsectz" | "linux_freq_scale" | "linux_hz" | "logbanner" | "logchange" | "logdir" | "maxclockerror" | "maxdistance" | "maxdrift" | "maxjitter" | "maxsamples" | "maxslewrate" | "maxntsconnections" | "maxupdateskew" | "minsamples" | "minsources" | "nocerttimecheck" | "ntsdumpdir" | "ntsntpserver" | "ntsport" | "ntsprocesses" | "ntsrefresh" | "ntsrotate" | "ntsservercert" | "ntsserverkey" | "ntstrustedcerts" | "ntpsigndsocket" | "pidfile" | "ptpport" | "port" | "reselectdist" | "rtcautotrim" | "rtcdevice" | "rtcfile" | "sched_priority" | "stratumweight" | "user" (************************************************************************ * Group: Make some sub-lenses for use in later lenses ************************************************************************) (* View: host_flags *) let host_flags = [ space . key cmd_flags ] (* View: host_options *) let host_options = [ space . key cmd_options . space . store number ] (* View: log_flag_list *) let log_flag_list = [ space . key log_flags ] (* View: store_address *) let store_address = [ label "address" . store address_re ] (************************************************************************ * Group: Lenses for parsing out sections ************************************************************************) (* View: all_flags options without any arguments *) let all_flags = [ Util.indent . key flags . eol ] (* View: kv options with only one arg can be directly mapped to key = value *) let kv = [ Util.indent . key simple_keys . space . (store no_space) . eol ] (* Property: Options with multiple values Each of these gets their own parsing block - server|peer|pool <address> <options> - allow|deny|cmdallow|cmddeny [all] [<address[/subnet]>] - log <options> - broadcast <interval> <address> <optional port> - fallbackdrift <min> <max> - hwtimestamp <interface> <options> - initstepslew <threshold> <addr> <optional extra addrs> - local <options> - mailonchange <emailaddress> <threshold> - makestep <threshold> <limit> - maxchange <threshold> <delay> <limit> - ratelimit|cmdratelimit|ntsratelimit <options> - refclock <driver> <parameter> <options> - smoothtime <maxfreq> <maxwander> <options> - tempcomp <sensorfile> <interval> (<t0> <k0> <k1> <k2> | <pointfile> ) - confdir|sourcedir <directories> *) (* View: host_list Find all NTP sources and their flags/options *) let host_list = [ Util.indent . key ntp_source . space . store address_re . ( host_flags | host_options )* . eol ] (* View: allowdeny allow/deny/cmdallow/cmddeny has a specific syntax *) let allowdeny = [ Util.indent . key allowdeny_types . [ space . key "all" ]? . ( space . store ( no_space - "all" ) )? . eol ] (* View: log_list log has a specific options list *) let log_list = [ Util.indent . key "log" . log_flag_list+ . eol ] (* View: bcast broadcast has specific syntax *) let bcast = [ Util.indent . key "broadcast" . space . [ label "interval" . store integer ] . space . store_address . ( space . [ label "port" . store integer ] )? . eol ] (* View: bcast confdir and sourcedir have specific syntax *) let dir_list = [ Util.indent . key /(conf|source)dir/ . [ label "directory" . space . store no_space ]+ . eol ] (* View: fdrift fallbackdrift has specific syntax *) let fdrift = [ Util.indent . key "fallbackdrift" . space . [ label "min" . store integer ] . space . [ label "max" . store integer ] . eol ] (* View: hwtimestamp hwtimestamp has specific syntax *) let hwtimestamp = [ Util.indent . key "hwtimestamp" . space . [ label "interface" . store no_space ] . ( space . ( [ key hwtimestamp_flags ] | [ key hwtimestamp_options . space . store no_space ] ) )* . eol ] (* View: istepslew initstepslew has specific syntax *) let istepslew = [ Util.indent . key "initstepslew" . space . [ label "threshold" . store number ] . ( space . store_address )+ . eol ] (* View: local local has specific syntax *) let local = [ Util.indent . key "local" . ( space . ( [ key local_flags ] | [ key local_options . space . store no_space ] ) )* . eol ] (* View: email mailonchange has specific syntax *) let email = [ Util.indent . key "mailonchange" . space . [ label "emailaddress" . store email_addr ] . space . [ label "threshold" . store number ] . eol ] (* View: makestep makestep has specific syntax *) let makestep = [ Util.indent . key "makestep" . space . [ label "threshold" . store number ] . space . [ label "limit" . store integer ] . eol ] (* View: maxchange maxchange has specific syntax *) let maxchange = [ Util.indent . key "maxchange" . space . [ label "threshold" . store number ] . space . [ label "delay" . store integer ] . space . [ label "limit" . store integer ] . eol ] (* View: ratelimit ratelimit/cmdratelimit has specific syntax *) let ratelimit = [ Util.indent . key /(cmd|nts)?ratelimit/ . [ space . key ratelimit_options . space . store no_space ]* . eol ] (* View: refclock refclock has specific syntax *) let refclock = [ Util.indent . key "refclock" . space . [ label "driver" . store word ] . space . [ label "parameter" . store no_space ] . ( space . ( [ key refclock_flags ] | [ key refclock_options . space . store no_space ] ) )* . eol ] (* View: smoothtime smoothtime has specific syntax *) let smoothtime = [ Util.indent . key "smoothtime" . space . [ label "maxfreq" . store number ] . space . [ label "maxwander" . store number ] . ( space . [ key "leaponly" ] )? . eol ] (* View: tempcomp tempcomp has specific syntax *) let tempcomp = [ Util.indent . key "tempcomp" . space . [ label "sensorfile" . store path ] . space . [ label "interval" . store number ] . space . ( [ label "t0" . store number ] . space . [ label "k0" . store number ] . space . [ label "k1" . store number ] . space . [ label "k2" . store number ] | [ label "pointfile" . store path ] ) . eol ] (************************************************************************ * Group: Final lense summary ************************************************************************) (* View: settings * All supported chrony settings *) let settings = host_list | allowdeny | log_list | bcast | fdrift | istepslew | local | email | makestep | maxchange | refclock | smoothtime | dir_list | hwtimestamp | ratelimit | tempcomp | kv | all_flags (* * View: lns * The crony lens *) let lns = ( empty | comment | settings )* (* View: filter * The files parsed by default *) let filter = incl "/etc/chrony.conf" let xfm = transform lns filter