Further black -> deny renaming
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
424e825bd9
commit
b835fa06a6
8
pihole
8
pihole
|
@ -401,12 +401,12 @@ tailFunc() {
|
||||||
readonly LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
|
readonly LOGFILE=$(getFTLConfigValue files.log.dnsmasq)
|
||||||
|
|
||||||
# Strip date from each line
|
# 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 A/AAAA/DHCP strings as white
|
||||||
# Color everything else as gray
|
# Color everything else as gray
|
||||||
tail -f $LOGFILE | grep --line-buffered "${1}" | sed -E \
|
tail -f $LOGFILE | grep --line-buffered "${1}" | sed -E \
|
||||||
-e "s,($(date +'%b %d ')| dnsmasq\[[0-9]*\]),,g" \
|
-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,.*(query\\[A|DHCP).*,${COL_NC}&${COL_NC}," \
|
||||||
-e "s,.*,${COL_GRAY}&${COL_NC},"
|
-e "s,.*,${COL_GRAY}&${COL_NC},"
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -478,9 +478,9 @@ Add '-h' after specific commands for more information on usage
|
||||||
Domain Options:
|
Domain Options:
|
||||||
-a, allowlist Allowlist domain(s)
|
-a, allowlist Allowlist domain(s)
|
||||||
-b, denylist Denylist 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)
|
--allow-regex Regex allowlist domains(s)
|
||||||
--wild, wildcard Wildcard blacklist domain(s)
|
--wild, wildcard Wildcard denylist domain(s)
|
||||||
--allow-wild Wildcard allowlist domain(s)
|
--allow-wild Wildcard allowlist domain(s)
|
||||||
Add '-h' for more info on allowlist/denylist usage
|
Add '-h' for more info on allowlist/denylist usage
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue