1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 19:01:01 +00:00
serenity/Userland/Services/LookupServer
Max Wipfli 4efccbd030 LookupServer: Watch /etc/hosts for changes during runtime
This adds a FileWatcher to the LookupServer which watches '/etc/hosts'
for changes during runtime and reloads its contents. If the file is
deleted, m_etc_hosts will be cleared.

Since we now need to access '/etc/hosts' later during runtime, it needs
to be unveiled with read permissions.
2021-06-09 17:43:32 +04:30
..
ClientConnection.cpp LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
ClientConnection.h Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
CMakeLists.txt LookupServer: Implement basic mDNS support :^) 2021-05-05 21:16:17 +02:00
DNSAnswer.cpp LookupServer: Track the receive timestamp for DNS answers 2021-05-10 17:26:17 +02:00
DNSAnswer.h LookupServer: Track the receive timestamp for DNS answers 2021-05-10 17:26:17 +02:00
DNSName.cpp LookupServer: Make DNSName::operator== ignore case 2021-06-09 17:43:32 +04:30
DNSName.h LookupServer: Make DNSName::operator== ignore case 2021-06-09 17:43:32 +04:30
DNSPacket.cpp LookupServer: Correct some flags for DNS packets 2021-05-10 17:26:17 +02:00
DNSPacket.h LookupServer: Correct some flags for DNS packets 2021-05-10 17:26:17 +02:00
DNSPacketHeader.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DNSQuestion.h LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
DNSServer.cpp LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00
DNSServer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LookupClient.ipc Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
LookupServer.cpp LookupServer: Watch /etc/hosts for changes during runtime 2021-06-09 17:43:32 +04:30
LookupServer.h LookupServer: Watch /etc/hosts for changes during runtime 2021-06-09 17:43:32 +04:30
LookupServer.ipc Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
main.cpp LookupServer: Watch /etc/hosts for changes during runtime 2021-06-09 17:43:32 +04:30
MulticastDNS.cpp LookupServer: Fix missing POSIX includes 2021-05-23 18:10:29 +02:00
MulticastDNS.h LookupServer: Turn #defines into enum classes and add formatter 2021-05-10 17:26:17 +02:00