mirror of
https://github.com/pi-hole/FTL.git
synced 2026-08-20 11:27:24 +01:00
fix/hide_connection_error
misc.hide_dnsmasq_warn and misc.hide_connection_error in FTL.log
Both settings promise to hide the respective warnings from the FTL log file, but they were only ever wired into the API side: the messages were filtered out of `/api/info/messages` and excluded from `count_messages()` while `log_connection_error()` and `logg_warn_dnsmasq_message()` still wrote them to FTL.log unconditionally. We now skip the `log_warn()` (and the message formatting that only feeds it) when the corresponding setting is enabled. The database entry is still added, so the messages reappear in the dashboard as soon as the setting is turned off again. Fixes #3003 Signed-off-by: DL6ER <dl6er@dl6er.de>
…
…
…
…
…
…
…
…
Network-wide ad blocking via your own Linux hardware
FTLDNS (pihole-FTL) provides an interactive API and also generates statistics for Pi-hole®'s Web interface.
- Fast: stats are read directly from memory by coupling our codebase closely with
dnsmasq - Versatile: upstream changes to
dnsmasqcan quickly be merged in without much conflict - Lightweight: runs smoothly with minimal hardware and software requirements such as Raspberry Pi Zero
- Interactive: our API can be used to interface with your projects
- Insightful: stats normally reserved inside of
dnsmasqare made available so you can see what's really happening on your network
Official documentation
The official FTLDNS documentation can be found here.
Installation
FTLDNS (pihole-FTL) is automatically installed when installing Pi-hole.
IMPORTANT
FTLDNS will disable any existing installations of
dnsmasq. This is because FTLDNS isdnsmasq+ Pi-hole's code, so both cannot run simultaneously.
Languages
C
96.8%
C++
1.1%
Python
1%
Shell
0.7%
CMake
0.3%