]> git.ipfire.org Git - thirdparty/chrony.git/commit
cmdmon: listen on Unix domain socket
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 28 Jul 2015 13:29:30 +0000 (15:29 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 28 Jul 2015 13:29:30 +0000 (15:29 +0200)
commit0bcd10560a87d61ae60e74d85a0604511c868bdd
treeb9adaf27567a21c7a313e5f0c2e0adb2adc04b1c
parent46b7148f3bb862070fab7ff05dd41adbe338de84
cmdmon: listen on Unix domain socket

In addition to the IPv4/IPv6 command sockets, create also a Unix domain
socket to process cmdmon requests. For now, there is no difference for
authorized commands, packets from all sockets need to be authenticated.

The default path of the socket is /var/run/chrony/chronyd.sock. It can
be configured with the bindcmdaddress directive with an address starting
with /.
cmdmon.c
conf.c
conf.h