IP addresses of queries over local DoH are now logged

This commit is contained in:
Frank Denis 2021-01-22 16:13:56 +01:00
parent a9cf16b33e
commit d8ff82cf45
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ t || grep -Eq 'telemetry.example.*REJECT' query.log || fail
t || grep -Eq 'dns.google.*REJECT' query.log || fail
t || grep -Eq 'tracker.xdebian.org.*REJECT' query.log || fail
t || grep -Eq 'tracker.debian.org.*PASS' query.log || fail
t || cut -f2 query.log | grep -Eq -- '-' || fail
t || grep -Eq '[.].*NS.*PASS' || fail
section
t || grep -Fq 'tracker.debian.org' allowed-names.log || fail
@ -145,4 +145,4 @@ t || dig -p${DNS_PORT} A microsoft.com @127.0.0.1 | grep -Fq "NOERROR" || fail
t || dig -p${DNS_PORT} A MICROSOFT.COM @127.0.0.1 | grep -Fq "NOERROR" || fail
kill $(cat /tmp/dnscrypt-proxy.pidfile)
sleep 5
sleep 5