Further black -> deny renaming

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2024-06-22 20:48:07 +02:00
parent 424e825bd9
commit b835fa06a6
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD
1 changed files with 4 additions and 4 deletions

8
pihole
View File

@ -401,12 +401,12 @@ tailFunc() {
readonly LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
# Strip date from each line
# Color blocklist/blacklist/wildcard entries as red
# Color blocklist/denylist/wildcard entries as red
# Color A/AAAA/DHCP strings as white
# Color everything else as gray
tail -f $LOGFILE | grep --line-buffered "${1}" | sed -E \
-e "s,($(date +'%b %d ')| dnsmasq\[[0-9]*\]),,g" \
-e "s,(.*(blacklisted |gravity blocked ).*),${COL_RED}&${COL_NC}," \
-e "s,(.*(denied |gravity blocked ).*),${COL_RED}&${COL_NC}," \
-e "s,.*(query\\[A|DHCP).*,${COL_NC}&${COL_NC}," \
-e "s,.*,${COL_GRAY}&${COL_NC},"
exit 0
@ -478,9 +478,9 @@ Add '-h' after specific commands for more information on usage
Domain Options:
-a, allowlist Allowlist domain(s)
-b, denylist Denylist domain(s)
--regex, regex Regex blacklist domains(s)
--regex, regex Regex denylist domains(s)
--allow-regex Regex allowlist domains(s)
--wild, wildcard Wildcard blacklist domain(s)
--wild, wildcard Wildcard denylist domain(s)
--allow-wild Wildcard allowlist domain(s)
Add '-h' for more info on allowlist/denylist usage