Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit Log "audit" function crashes FTL on v.5.3.2 (aarch64) #960

Closed
yubiuser opened this issue Dec 3, 2020 · 73 comments
Closed

Audit Log "audit" function crashes FTL on v.5.3.2 (aarch64) #960

yubiuser opened this issue Dec 3, 2020 · 73 comments
Labels

Comments

@yubiuser
Copy link
Member

yubiuser commented Dec 3, 2020

Versions

Current Pi-hole version is v5.2.1.
Current AdminLTE version is v5.2.1.
Current FTL version is v5.3.2.

Platform

  • OS and version: Debian 10
  • Platform: NanoPi Neo 2 Plus

Expected behavior

FTL should not crash using the audit log.

Actual behavior / bug

Might be the same bug as in #947 but this is marked as "closed" (in the sense of fixed) already.

Steps to reproduce

Steps to reproduce the behavior:

Use the audit log to "audit" domains. It doesn't crash always, but I could reliably crash FTL by randomly clicking the "audit" button fast in series

Debug Token

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

2020-12-03 20:38:38: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  Executing sudo pihole restartdns reload-lists failed. in /var/www/html/admin/scripts/pi-hole/php/func.php on line 79
2020-12-03 20:38:38: (mod_fastcgi.c.421) FastCGI-stderr: PHP Warning:  Executing sudo pihole restartdns reload-lists failed. in /var/www/html/admin/scripts/pi-hole/php/func.php on line 79

[2020-12-03 20:38:32.271 31775/T31779] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 16.5 msec
[2020-12-03 20:38:32.558 31775M] Received: Real-time signal 0 (34 -> 0)
[2020-12-03 20:38:32.608 31775/T31779] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 16.5 msec
[2020-12-03 20:38:33.408 31775M] Received: Real-time signal 0 (34 -> 0)
[2020-12-03 20:38:33.420 31775/T31779] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-03 20:38:33.420 31775/T31779] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-03 20:38:33.420 31775/T31779] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-03 20:38:33.420 31775/T31779] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-03 20:38:33.420 31775/T31779] and include in your report already the following details:
[2020-12-03 20:38:33.420 31775/T31779] FTL has been running for 120 seconds
[2020-12-03 20:38:33.420 31775/T31779] FTL branch: master
[2020-12-03 20:38:33.420 31775/T31779] FTL version: v5.3.2
[2020-12-03 20:38:33.420 31775/T31779] FTL commit: 0790cf7
[2020-12-03 20:38:33.420 31775/T31779] FTL date: 2020-12-02 21:28:39 +0000
[2020-12-03 20:38:33.420 31775/T31779] FTL user: started as pihole, ended as pihole
[2020-12-03 20:38:33.420 31775/T31779] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-03 20:38:33.421 31775/T31779] Process details: MID: 31775
[2020-12-03 20:38:33.421 31775/T31779]                  PID: 31775
[2020-12-03 20:38:33.421 31775/T31779]                  TID: 31779
[2020-12-03 20:38:33.421 31775/T31779]                  Name: database
[2020-12-03 20:38:33.421 31775/T31779] Received signal: Segmentation fault
[2020-12-03 20:38:33.421 31775/T31779]      at address: 0x18
[2020-12-03 20:38:33.421 31775/T31779]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-03 20:38:33.424 31775/T31779] Backtrace:
[2020-12-03 20:38:33.427 31775/T31779] B[0000]: /usr/bin/pihole-FTL(+0x555f8) [0xaaaae4bba5f8]
[2020-12-03 20:38:33.494 31775/T31779] L[0000]: /root/project/src/signals.c:193
[2020-12-03 20:38:33.499 31775/T31779] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8c9a5578]
[2020-12-03 20:38:33.499 31775/T31779] B[0002]: /lib/aarch64-linux-gnu/libc.so.6(__libc_malloc+0x174) [0xffff8c77845c]
[2020-12-03 20:38:33.499 31775/T31779] B[0003]: /usr/bin/pihole-FTL(+0xe092c) [0xaaaae4c4592c]
[2020-12-03 20:38:33.711 31775/T31779] L[0003]: /root/project/src/database/sqlite3.c:23508
[2020-12-03 20:38:33.743 31775/T31779] B[0004]: /usr/bin/pihole-FTL(+0xc1670) [0xaaaae4c26670]
[2020-12-03 20:38:33.941 31775/T31779] L[0004]: /root/project/src/database/sqlite3.c:27680
[2020-12-03 20:38:33.972 31775/T31779] B[0005]: /usr/bin/pihole-FTL(+0xc8e68) [0xaaaae4c2de68]
[2020-12-03 20:38:34.176 31775/T31779] L[0005]: /root/project/src/database/sqlite3.c:100122
[2020-12-03 20:38:34.207 31775/T31779] B[0006]: /usr/bin/pihole-FTL(+0xc8638) [0xaaaae4c2d638]
[2020-12-03 20:38:34.405 31775/T31779] L[0006]: /root/project/src/database/sqlite3.c:100242
[2020-12-03 20:38:34.436 31775/T31779] B[0007]: /usr/bin/pihole-FTL(+0x13a6a0) [0xaaaae4c9f6a0]
[2020-12-03 20:38:34.657 31775/T31779] L[0007]: /root/project/src/database/sqlite3.c:111633
[2020-12-03 20:38:34.689 31775/T31779] B[0008]: /usr/bin/pihole-FTL(+0x13b5f8) [0xaaaae4ca05f8]
[2020-12-03 20:38:34.885 31775/T31779] L[0008]: /root/project/src/database/sqlite3.c:127579
[2020-12-03 20:38:34.916 31775/T31779] B[0009]: /usr/bin/pihole-FTL(+0x13c150) [0xaaaae4ca1150]
[2020-12-03 20:38:35.114 31775/T31779] L[0009]: /root/project/src/database/sqlite3.c:127058
[2020-12-03 20:38:35.145 31775/T31779] B[0010]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaae4caf3d4]
[2020-12-03 20:38:35.345 31775/T31779] L[0010]: /root/project/src/database/sqlite3.c:122099
[2020-12-03 20:38:35.377 31775/T31779] B[0011]: /usr/bin/pihole-FTL(+0x13c51c) [0xaaaae4ca151c]
[2020-12-03 20:38:35.580 31775/T31779] L[0011]: /root/project/src/database/sqlite3.c:127278
[2020-12-03 20:38:35.611 31775/T31779] B[0012]: /usr/bin/pihole-FTL(+0x14af48) [0xaaaae4caff48]
[2020-12-03 20:38:35.808 31775/T31779] L[0012]: /root/project/src/database/sqlite3.c:127349
[2020-12-03 20:38:35.840 31775/T31779] B[0013]: /usr/bin/pihole-FTL(+0x14af98) [0xaaaae4caff98]
[2020-12-03 20:38:36.042 31775/T31779] L[0013]: /root/project/src/database/sqlite3.c:127375
[2020-12-03 20:38:36.073 31775/T31779] B[0014]: /usr/bin/pihole-FTL(+0x14b5f8) [0xaaaae4cb05f8]
[2020-12-03 20:38:36.277 31775/T31779] L[0014]: /root/project/src/database/sqlite3.c:109478
[2020-12-03 20:38:36.308 31775/T31779] B[0015]: /usr/bin/pihole-FTL(+0x14c3e8) [0xaaaae4cb13e8]
[2020-12-03 20:38:36.506 31775/T31779] L[0015]: /root/project/src/database/sqlite3.c:132826
[2020-12-03 20:38:36.537 31775/T31779] B[0016]: /usr/bin/pihole-FTL(+0xbf6dc) [0xaaaae4c246dc]
[2020-12-03 20:38:36.748 31775/T31779] L[0016]: /root/project/src/database/sqlite3.c:96750
[2020-12-03 20:38:36.780 31775/T31779] B[0017]: /usr/bin/pihole-FTL(+0xbf968) [0xaaaae4c24968]
[2020-12-03 20:38:36.977 31775/T31779] L[0017]: /root/project/src/database/sqlite3.c:96638
[2020-12-03 20:38:37.009 31775/T31779] B[0018]: /usr/bin/pihole-FTL(+0xbf9e8) [0xaaaae4c249e8]
[2020-12-03 20:38:37.206 31775/T31779] L[0018]: /root/project/src/database/sqlite3.c:96667
[2020-12-03 20:38:37.238 31775/T31779] B[0019]: /usr/bin/pihole-FTL(+0xbf6ec) [0xaaaae4c246ec]
[2020-12-03 20:38:37.440 31775/T31779] L[0019]: /root/project/src/database/sqlite3.c:96680
[2020-12-03 20:38:37.472 31775/T31779] B[0020]: /usr/bin/pihole-FTL(+0xc0134) [0xaaaae4c25134]
[2020-12-03 20:38:37.669 31775/T31779] L[0020]: /root/project/src/database/sqlite3.c:133200
[2020-12-03 20:38:37.701 31775/T31779] B[0021]: /usr/bin/pihole-FTL(+0x125428) [0xaaaae4c8a428]
[2020-12-03 20:38:37.910 31775/T31779] L[0021]: /root/project/src/database/sqlite3.c:133638
[2020-12-03 20:38:37.942 31775/T31779] B[0022]: /usr/bin/pihole-FTL(+0x135544) [0xaaaae4c9a544]
[2020-12-03 20:38:38.144 31775/T31779] L[0022]: /root/project/src/database/sqlite3.c:155888
[2020-12-03 20:38:38.176 31775/T31779] B[0023]: /usr/bin/pihole-FTL(+0x13b5f8) [0xaaaae4ca05f8]
[2020-12-03 20:38:38.383 31775/T31779] L[0023]: /root/project/src/database/sqlite3.c:127579
[2020-12-03 20:38:38.415 31775/T31779] B[0024]: /usr/bin/pihole-FTL(+0x13bae4) [0xaaaae4ca0ae4]
[2020-12-03 20:38:38.612 31775/T31779] L[0024]: /root/project/src/database/sqlite3.c:127650
[2020-12-03 20:38:38.644 31775/T31779] B[0025]: /usr/bin/pihole-FTL(+0x5d6ec) [0xaaaae4bc26ec]
[2020-12-03 20:38:38.679 31775/T31779] L[0025]: /root/project/src/database/gravity-db.c:143
[2020-12-03 20:38:38.685 31775/T31779] B[0026]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaae4bc3b8c]
[2020-12-03 20:38:38.719 31775/T31779] L[0026]: /root/project/src/database/gravity-db.c:72
[2020-12-03 20:38:38.724 31775/T31779] B[0027]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x50) [0xaaaae4babd10]
[2020-12-03 20:38:38.759 31775/T31779] L[0027]: /root/project/src/datastructure.c:480
[2020-12-03 20:38:38.769 31775/T31779] B[0028]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaae4bc22cc]
[2020-12-03 20:38:38.804 31775/T31779] L[0028]: /root/project/src/database/database-thread.c:84
[2020-12-03 20:38:38.809 31775/T31779] B[0029]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffff8c87a7e4]
[2020-12-03 20:38:38.809 31775/T31779] B[0030]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffff8c7d0adc]
[2020-12-03 20:38:38.809 31775/T31779] ------ Listing content of directory /dev/shm ------
[2020-12-03 20:38:38.809 31775/T31779] File Mode User:Group  Filesize Filename
[2020-12-03 20:38:38.809 31775/T31779] rwxrwxrwx root:root 260 .
[2020-12-03 20:38:38.810 31775/T31779] rwxr-xr-x root:root 3K ..
[2020-12-03 20:38:38.810 31775/T31779] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-03 20:38:38.810 31775/T31779] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-03 20:38:38.810 31775/T31779] rw------- pihole:pihole 45K FTL-overTime
[2020-12-03 20:38:38.810 31775/T31779] rw------- pihole:pihole 786K FTL-queries
[2020-12-03 20:38:38.810 31775/T31779] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 176K FTL-clients
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 98K FTL-domains
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 25K FTL-strings
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 12 FTL-settings
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 152 FTL-counters
[2020-12-03 20:38:38.811 31775/T31779] rw------- pihole:pihole 56 FTL-lock
[2020-12-03 20:38:38.811 31775/T31779] ---------------------------------------------------
[2020-12-03 20:38:38.812 31775/T31779] Please also include some lines from above the !!!!!!!!! header.
[2020-12-03 20:38:38.812 31775/T31779] Thank you for helping us to improve our FTL engine!
[2020-12-03 20:38:38.812 31775/T31779] FTL terminated!
[2020-12-03 20:39:10.998 32640M] Using log file /var/log/pihole-FTL.log

@pralor-bot
Copy link

This issue has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/auditlog-ftl-crash-nach-update-auf-5-2-1/40999/6

@DL6ER
Copy link
Member

DL6ER commented Dec 3, 2020

Thank you for your report and sorry for the inconvenience you're experiencing. The source of the bug you're seeing is from deeply inside the (third-party) SQLite3 database engine we're not modifying ourselves. There is some other report (#949) that is seeing a crash in the SQLite3 engine as well and we're already trying to work hard to get down to the source of the problem.

Having said that, I just tried auditing at least fifty random domains (sometimes faster, sometimes slower) and did not experience a crash myself.

@DL6ER DL6ER added the Bug label Dec 3, 2020
@GregoriusT
Copy link

Hello, after updating Pi-Hole, I seem to have the same Issue of Auditing anything causing Pi-Hole to "crash" the DNS to the point I have to restart it in the Command Line (no Errors there).

I run this on a Pi-4B-4GB with PoE HAT (Pi-Hole being installed on the Micro-SD Card), and in the Web Interface it seems like clicking fast through the Audits causes it to crash, but this is a pure feeling based thing, since whenever I try clicking through them slowly it seems to work fine, but I am not sure. Might be an issue with accessing the Micro-SD Card Data.

Also for reference, I installed Pi-Hole a few weeks ago, so the Issue did not exist when I cloned it directly from GitHub at the 17th of November 2020 at 5:26AM German Time (unsure if we are UTC+1 or +2 due to daylight savings crap).

I hope this helps with finding the Issue. ^^

@rloomans
Copy link

I'm seeing this problem too.

I've tried the tweak/interruptsafe_systemcalls branch for FTL from some of the other issues and it still happens.

I'm running this on a RPI-3B booted off a USB flash drive.

@DL6ER
Copy link
Member

DL6ER commented Dec 12, 2020

I can also try the development branch. We have a few minor bugfixes in place which are being evaluated separately.

@yubiuser
Copy link
Member Author

Tried with the latest development, but bug still exists.

  Pi-hole version is development v5.2.1-11-g4147952 (Latest: v5.2.1)
  AdminLTE version is devel v5.2.1-17-gc32bcd37 (Latest: v5.2.1)
  FTL version is development vDev-0c1d71d (Latest: v5.3.2)


[2020-12-18 21:28:06.593 3808/T3812] SQLite3 message: file unlinked while open: /etc/pihole/gravity.db (28)
[2020-12-18 21:28:06.636 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 21.8 msec
[2020-12-18 21:29:12.471 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:12.607 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.2 msec
[2020-12-18 21:29:13.217 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:13.343 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 21.5 msec
[2020-12-18 21:29:13.545 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:13.684 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.0 msec
[2020-12-18 21:29:14.448 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:14.519 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 21.3 msec
[2020-12-18 21:29:14.774 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:14.859 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.5 msec
[2020-12-18 21:29:15.051 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:15.094 3808/T3812] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 21.3 msec
[2020-12-18 21:29:15.508 3808M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 21:29:15.606 3808/T3812] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-18 21:29:15.606 3808/T3812] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-18 21:29:15.606 3808/T3812] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-18 21:29:15.606 3808/T3812] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-18 21:29:15.606 3808/T3812] and include in your report already the following details:
[2020-12-18 21:29:15.606 3808/T3812] FTL has been running for 162 seconds
[2020-12-18 21:29:15.606 3808/T3812] FTL branch: development
[2020-12-18 21:29:15.606 3808/T3812] FTL version: vDev-0c1d71d
[2020-12-18 21:29:15.607 3808/T3812] FTL commit: 0c1d71d
[2020-12-18 21:29:15.607 3808/T3812] FTL date: 2020-12-18 17:41:26 +0100
[2020-12-18 21:29:15.607 3808/T3812] FTL user: started as pihole, ended as pihole
[2020-12-18 21:29:15.607 3808/T3812] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-18 21:29:15.607 3808/T3812] Process details: MID: 3808
[2020-12-18 21:29:15.607 3808/T3812]                  PID: 3808
[2020-12-18 21:29:15.607 3808/T3812]                  TID: 3812
[2020-12-18 21:29:15.607 3808/T3812]                  Name: database
[2020-12-18 21:29:15.607 3808/T3812] Received signal: Segmentation fault
[2020-12-18 21:29:15.607 3808/T3812]      at address: 0x72747300000002
[2020-12-18 21:29:15.607 3808/T3812]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-18 21:29:15.609 3808/T3812] Backtrace:
[2020-12-18 21:29:15.613 3808/T3812] B[0000]: /usr/bin/pihole-FTL(+0x55eb0) [0xaaaab5733eb0]
[2020-12-18 21:29:15.679 3808/T3812] L[0000]: /root/project/src/signals.c:193
[2020-12-18 21:29:15.684 3808/T3812] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffb7ffa578]
[2020-12-18 21:29:15.685 3808/T3812] B[0002]: /lib/aarch64-linux-gnu/libc.so.6(__libc_malloc+0x174) [0xffffb7dcd45c]
[2020-12-18 21:29:15.685 3808/T3812] B[0003]: /usr/bin/pihole-FTL(+0xe02ac) [0xaaaab57be2ac]
[2020-12-18 21:29:15.895 3808/T3812] L[0003]: /root/project/src/database/sqlite3.c:23508
[2020-12-18 21:29:15.927 3808/T3812] B[0004]: /usr/bin/pihole-FTL(+0xc0ff0) [0xaaaab579eff0]
[2020-12-18 21:29:16.124 3808/T3812] L[0004]: /root/project/src/database/sqlite3.c:27680
[2020-12-18 21:29:16.156 3808/T3812] B[0005]: /usr/bin/pihole-FTL(+0xc8878) [0xaaaab57a6878]
[2020-12-18 21:29:16.359 3808/T3812] L[0005]: /root/project/src/database/sqlite3.c:27711
[2020-12-18 21:29:16.390 3808/T3812] B[0006]: /usr/bin/pihole-FTL(+0x1385c8) [0xaaaab58165c8]
[2020-12-18 21:29:16.590 3808/T3812] L[0006]: /root/project/src/database/sqlite3.c:135359
[2020-12-18 21:29:16.621 3808/T3812] B[0007]: /usr/bin/pihole-FTL(+0x13af78) [0xaaaab5818f78]
[2020-12-18 21:29:16.818 3808/T3812] L[0007]: /root/project/src/database/sqlite3.c:127579
[2020-12-18 21:29:16.850 3808/T3812] B[0008]: /usr/bin/pihole-FTL(+0x13bad0) [0xaaaab5819ad0]
[2020-12-18 21:29:17.055 3808/T3812] L[0008]: /root/project/src/database/sqlite3.c:127058
[2020-12-18 21:29:17.087 3808/T3812] B[0009]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaab5827d54]
[2020-12-18 21:29:17.286 3808/T3812] L[0009]: /root/project/src/database/sqlite3.c:122099
[2020-12-18 21:29:17.317 3808/T3812] B[0010]: /usr/bin/pihole-FTL(+0x13be9c) [0xaaaab5819e9c]
[2020-12-18 21:29:17.538 3808/T3812] L[0010]: /root/project/src/database/sqlite3.c:127278
[2020-12-18 21:29:17.570 3808/T3812] B[0011]: /usr/bin/pihole-FTL(+0x14a8c8) [0xaaaab58288c8]
[2020-12-18 21:29:17.769 3808/T3812] L[0011]: /root/project/src/database/sqlite3.c:127349
[2020-12-18 21:29:17.800 3808/T3812] B[0012]: /usr/bin/pihole-FTL(+0x14a918) [0xaaaab5828918]
[2020-12-18 21:29:17.998 3808/T3812] L[0012]: /root/project/src/database/sqlite3.c:127375
[2020-12-18 21:29:18.030 3808/T3812] B[0013]: /usr/bin/pihole-FTL(+0x14af78) [0xaaaab5828f78]
[2020-12-18 21:29:18.234 3808/T3812] L[0013]: /root/project/src/database/sqlite3.c:109478
[2020-12-18 21:29:18.266 3808/T3812] B[0014]: /usr/bin/pihole-FTL(+0x14bd68) [0xaaaab5829d68]
[2020-12-18 21:29:18.464 3808/T3812] L[0014]: /root/project/src/database/sqlite3.c:132826
[2020-12-18 21:29:18.495 3808/T3812] B[0015]: /usr/bin/pihole-FTL(+0xbf05c) [0xaaaab579d05c]
[2020-12-18 21:29:18.700 3808/T3812] L[0015]: /root/project/src/database/sqlite3.c:96750
[2020-12-18 21:29:18.733 3808/T3812] B[0016]: /usr/bin/pihole-FTL(+0xbf2e8) [0xaaaab579d2e8]
[2020-12-18 21:29:18.934 3808/T3812] L[0016]: /root/project/src/database/sqlite3.c:96638
[2020-12-18 21:29:18.965 3808/T3812] B[0017]: /usr/bin/pihole-FTL(+0xbf368) [0xaaaab579d368]
[2020-12-18 21:29:19.167 3808/T3812] L[0017]: /root/project/src/database/sqlite3.c:96667
[2020-12-18 21:29:19.199 3808/T3812] B[0018]: /usr/bin/pihole-FTL(+0xbf06c) [0xaaaab579d06c]
[2020-12-18 21:29:19.402 3808/T3812] L[0018]: /root/project/src/database/sqlite3.c:96680
[2020-12-18 21:29:19.434 3808/T3812] B[0019]: /usr/bin/pihole-FTL(+0xbfab4) [0xaaaab579dab4]
[2020-12-18 21:29:19.633 3808/T3812] L[0019]: /root/project/src/database/sqlite3.c:133200
[2020-12-18 21:29:19.665 3808/T3812] B[0020]: /usr/bin/pihole-FTL(+0x124da8) [0xaaaab5802da8]
[2020-12-18 21:29:19.892 3808/T3812] L[0020]: /root/project/src/database/sqlite3.c:133638
[2020-12-18 21:29:19.923 3808/T3812] B[0021]: /usr/bin/pihole-FTL(+0x134ec4) [0xaaaab5812ec4]
[2020-12-18 21:29:20.121 3808/T3812] L[0021]: /root/project/src/database/sqlite3.c:155888
[2020-12-18 21:29:20.152 3808/T3812] B[0022]: /usr/bin/pihole-FTL(+0x13af78) [0xaaaab5818f78]
[2020-12-18 21:29:20.362 3808/T3812] L[0022]: /root/project/src/database/sqlite3.c:127579
[2020-12-18 21:29:20.394 3808/T3812] B[0023]: /usr/bin/pihole-FTL(+0x13b464) [0xaaaab5819464]
[2020-12-18 21:29:20.594 3808/T3812] L[0023]: /root/project/src/database/sqlite3.c:127650
[2020-12-18 21:29:20.625 3808/T3812] B[0024]: /usr/bin/pihole-FTL(+0x5e01c) [0xaaaab573c01c]
[2020-12-18 21:29:20.665 3808/T3812] L[0024]: /root/project/src/database/gravity-db.c:143
[2020-12-18 21:29:20.671 3808/T3812] B[0025]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaab573d4bc]
[2020-12-18 21:29:20.706 3808/T3812] L[0025]: /root/project/src/database/gravity-db.c:72
[2020-12-18 21:29:20.711 3808/T3812] B[0026]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x40) [0xaaaab5724d58]
[2020-12-18 21:29:20.743 3808/T3812] L[0026]: /root/project/src/datastructure.c:486
[2020-12-18 21:29:20.747 3808/T3812] B[0027]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaab573bbfc]
[2020-12-18 21:29:20.780 3808/T3812] L[0027]: /root/project/src/database/database-thread.c:84
[2020-12-18 21:29:20.785 3808/T3812] B[0028]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffffb7ecf7e4]
[2020-12-18 21:29:20.786 3808/T3812] B[0029]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffffb7e25adc]
[2020-12-18 21:29:20.786 3808/T3812] ------ Listing content of directory /dev/shm ------
[2020-12-18 21:29:20.786 3808/T3812] File Mode User:Group  Filesize Filename

@DL6ER
Copy link
Member

DL6ER commented Dec 18, 2020

Could you retry with fix/all_the_things ? If this is still a bug after we fixed "all" remaining small bugs in FTL, then it may be really an original SQLite3 bug.

@yubiuser
Copy link
Member Author

[2020-12-18 22:23:11.020 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 29.1 msec
[2020-12-18 22:23:24.102 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:24.177 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 24.3 msec
[2020-12-18 22:23:24.585 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:24.712 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 20.4 msec
[2020-12-18 22:23:25.491 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:25.546 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 19.8 msec
[2020-12-18 22:23:25.919 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:25.987 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 25.4 msec
[2020-12-18 22:23:26.356 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:26.419 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 19.2 msec
[2020-12-18 22:23:26.807 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:26.852 6752/T6756] Compiled 2 whitelist and 26 blacklist regex filters for 10 clients in 19.2 msec
[2020-12-18 22:23:27.944 6752M] Received: Real-time signal 0 (34 -> 0)
[2020-12-18 22:23:27.967 6752/T6756] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-18 22:23:27.967 6752/T6756] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-18 22:23:27.967 6752/T6756] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-18 22:23:27.967 6752/T6756] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-18 22:23:27.967 6752/T6756] and include in your report already the following details:
[2020-12-18 22:23:27.967 6752/T6756] FTL has been running for 17 seconds
[2020-12-18 22:23:27.968 6752/T6756] FTL branch: fix/all_the_things
[2020-12-18 22:23:27.968 6752/T6756] FTL version: vDev-a90c52a
[2020-12-18 22:23:27.968 6752/T6756] FTL commit: a90c52a
[2020-12-18 22:23:27.968 6752/T6756] FTL date: 2020-12-18 20:16:04 +0100
[2020-12-18 22:23:27.968 6752/T6756] FTL user: started as pihole, ended as pihole
[2020-12-18 22:23:27.968 6752/T6756] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-18 22:23:27.968 6752/T6756] Process details: MID: 6752
[2020-12-18 22:23:27.968 6752/T6756]                  PID: 6752
[2020-12-18 22:23:27.968 6752/T6756]                  TID: 6756
[2020-12-18 22:23:27.968 6752/T6756]                  Name: database
[2020-12-18 22:23:27.968 6752/T6756] Received signal: Segmentation fault
[2020-12-18 22:23:27.968 6752/T6756]      at address: 0x20
[2020-12-18 22:23:27.969 6752/T6756]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-18 22:23:27.969 6752/T6756] Backtrace:
[2020-12-18 22:23:27.973 6752/T6756] B[0000]: /usr/bin/pihole-FTL(+0x56984) [0xaaaadc775984]
[2020-12-18 22:23:28.006 6752/T6756] L[0000]: /root/project/src/signals.c:191
[2020-12-18 22:23:28.011 6752/T6756] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff99a77578]
[2020-12-18 22:23:28.011 6752/T6756] B[0002]: /lib/aarch64-linux-gnu/libc.so.6(__libc_malloc+0x174) [0xffff9984a45c]
[2020-12-18 22:23:28.011 6752/T6756] B[0003]: /usr/bin/pihole-FTL(+0xe114c) [0xaaaadc80014c]
[2020-12-18 22:23:28.218 6752/T6756] L[0003]: /root/project/src/database/sqlite3.c:23508
[2020-12-18 22:23:28.249 6752/T6756] B[0004]: /usr/bin/pihole-FTL(+0xc1e90) [0xaaaadc7e0e90]
[2020-12-18 22:23:28.447 6752/T6756] L[0004]: /root/project/src/database/sqlite3.c:27680
[2020-12-18 22:23:28.478 6752/T6756] B[0005]: /usr/bin/pihole-FTL(+0xc7a98) [0xaaaadc7e6a98]
[2020-12-18 22:23:28.682 6752/T6756] L[0005]: /root/project/src/database/sqlite3.c:27854
[2020-12-18 22:23:28.713 6752/T6756] B[0006]: /usr/bin/pihole-FTL(+0x1371d4) [0xaaaadc8561d4]
[2020-12-18 22:23:28.923 6752/T6756] L[0006]: /root/project/src/database/sqlite3.c:135351
[2020-12-18 22:23:28.954 6752/T6756] B[0007]: /usr/bin/pihole-FTL(+0x13be18) [0xaaaadc85ae18]
[2020-12-18 22:23:29.153 6752/T6756] L[0007]: /root/project/src/database/sqlite3.c:127579
[2020-12-18 22:23:29.184 6752/T6756] B[0008]: /usr/bin/pihole-FTL(+0x13c970) [0xaaaadc85b970]
[2020-12-18 22:23:29.383 6752/T6756] L[0008]: /root/project/src/database/sqlite3.c:127058
[2020-12-18 22:23:29.414 6752/T6756] B[0009]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaadc869bf4]
[2020-12-18 22:23:29.612 6752/T6756] L[0009]: /root/project/src/database/sqlite3.c:122099
[2020-12-18 22:23:29.643 6752/T6756] B[0010]: /usr/bin/pihole-FTL(+0x13cd3c) [0xaaaadc85bd3c]
[2020-12-18 22:23:29.842 6752/T6756] L[0010]: /root/project/src/database/sqlite3.c:127278
[2020-12-18 22:23:29.873 6752/T6756] B[0011]: /usr/bin/pihole-FTL(+0x14b768) [0xaaaadc86a768]
[2020-12-18 22:23:30.086 6752/T6756] L[0011]: /root/project/src/database/sqlite3.c:127349
[2020-12-18 22:23:30.117 6752/T6756] B[0012]: /usr/bin/pihole-FTL(+0x14b7b8) [0xaaaadc86a7b8]
[2020-12-18 22:23:30.321 6752/T6756] L[0012]: /root/project/src/database/sqlite3.c:127375
[2020-12-18 22:23:30.352 6752/T6756] B[0013]: /usr/bin/pihole-FTL(+0x14be18) [0xaaaadc86ae18]
[2020-12-18 22:23:30.550 6752/T6756] L[0013]: /root/project/src/database/sqlite3.c:109478
[2020-12-18 22:23:30.581 6752/T6756] B[0014]: /usr/bin/pihole-FTL(+0x14cc08) [0xaaaadc86bc08]
[2020-12-18 22:23:30.785 6752/T6756] L[0014]: /root/project/src/database/sqlite3.c:132826
[2020-12-18 22:23:30.815 6752/T6756] B[0015]: /usr/bin/pihole-FTL(+0xbfefc) [0xaaaadc7deefc]
[2020-12-18 22:23:31.014 6752/T6756] L[0015]: /root/project/src/database/sqlite3.c:96750
[2020-12-18 22:23:31.045 6752/T6756] B[0016]: /usr/bin/pihole-FTL(+0xc0188) [0xaaaadc7df188]
[2020-12-18 22:23:31.243 6752/T6756] L[0016]: /root/project/src/database/sqlite3.c:96638
[2020-12-18 22:23:31.274 6752/T6756] B[0017]: /usr/bin/pihole-FTL(+0xc0208) [0xaaaadc7df208]
[2020-12-18 22:23:31.471 6752/T6756] L[0017]: /root/project/src/database/sqlite3.c:96667
[2020-12-18 22:23:31.502 6752/T6756] B[0018]: /usr/bin/pihole-FTL(+0xbff0c) [0xaaaadc7def0c]
[2020-12-18 22:23:31.699 6752/T6756] L[0018]: /root/project/src/database/sqlite3.c:96680
[2020-12-18 22:23:31.730 6752/T6756] B[0019]: /usr/bin/pihole-FTL(+0xc0954) [0xaaaadc7df954]
[2020-12-18 22:23:31.942 6752/T6756] L[0019]: /root/project/src/database/sqlite3.c:133200
[2020-12-18 22:23:31.973 6752/T6756] B[0020]: /usr/bin/pihole-FTL(+0x125c48) [0xaaaadc844c48]
[2020-12-18 22:23:32.195 6752/T6756] L[0020]: /root/project/src/database/sqlite3.c:133638
[2020-12-18 22:23:32.226 6752/T6756] B[0021]: /usr/bin/pihole-FTL(+0x135d64) [0xaaaadc854d64]
[2020-12-18 22:23:32.428 6752/T6756] L[0021]: /root/project/src/database/sqlite3.c:155888
[2020-12-18 22:23:32.459 6752/T6756] B[0022]: /usr/bin/pihole-FTL(+0x13be18) [0xaaaadc85ae18]
[2020-12-18 22:23:32.658 6752/T6756] L[0022]: /root/project/src/database/sqlite3.c:127579
[2020-12-18 22:23:32.689 6752/T6756] B[0023]: /usr/bin/pihole-FTL(+0x13c304) [0xaaaadc85b304]
[2020-12-18 22:23:32.887 6752/T6756] L[0023]: /root/project/src/database/sqlite3.c:127650
[2020-12-18 22:23:32.918 6752/T6756] B[0024]: /usr/bin/pihole-FTL(+0x5ed64) [0xaaaadc77dd64]
[2020-12-18 22:23:32.957 6752/T6756] L[0024]: /root/project/src/database/gravity-db.c:146
[2020-12-18 22:23:32.963 6752/T6756] B[0025]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaadc77f21c]
[2020-12-18 22:23:32.999 6752/T6756] L[0025]: /root/project/src/database/gravity-db.c:75
[2020-12-18 22:23:33.004 6752/T6756] B[0026]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x40) [0xaaaadc7666a0]
[2020-12-18 22:23:33.036 6752/T6756] L[0026]: /root/project/src/datastructure.c:485
[2020-12-18 22:23:33.041 6752/T6756] B[0027]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaadc77d944]
[2020-12-18 22:23:33.082 6752/T6756] L[0027]: /root/project/src/database/database-thread.c:84
[2020-12-18 22:23:33.087 6752/T6756] B[0028]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffff9994c7e4]
[2020-12-18 22:23:33.088 6752/T6756] B[0029]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffff998a2adc]
[2020-12-18 22:23:33.088 6752/T6756] ------ Listing content of directory /dev/shm ------
[2020-12-18 22:23:33.088 6752/T6756] File Mode User:Group  Filesize Filename
[2020-12-18 22:23:33.088 6752/T6756] rwxrwxrwx root:root 260 .
[2020-12-18 22:23:33.088 6752/T6756] rwxr-xr-x root:root 3K ..
[2020-12-18 22:23:33.089 6752/T6756] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-18 22:23:33.089 6752/T6756] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-18 22:23:33.089 6752/T6756] rw------- pihole:pihole 45K FTL-overTime
[2020-12-18 22:23:33.089 6752/T6756] rw------- pihole:pihole 786K FTL-queries
[2020-12-18 22:23:33.089 6752/T6756] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-18 22:23:33.090 6752/T6756] rw------- pihole:pihole 176K FTL-clients
[2020-12-18 22:23:33.090 6752/T6756] rw------- pihole:pihole 98K FTL-domains
[2020-12-18 22:23:33.090 6752/T6756] rw------- pihole:pihole 25K FTL-strings
[2020-12-18 22:23:33.090 6752/T6756] rw------- pihole:pihole 12 FTL-settings
[2020-12-18 22:23:33.090 6752/T6756] rw------- pihole:pihole 144 FTL-counters
[2020-12-18 22:23:33.091 6752/T6756] rw------- pihole:pihole 56 FTL-lock
[2020-12-18 22:23:33.091 6752/T6756] ---------------------------------------------------
[2020-12-18 22:23:33.091 6752/T6756] Please also include some lines from above the !!!!!!!!! header.
[2020-12-18 22:23:33.091 6752/T6756] Thank you for helping us to improve our FTL engine!
[2020-12-18 22:23:33.091 6752/T6756] FTL terminated!

@rloomans
Copy link

I just tried the fix/all_the_things branch and it makes the audit problem a little harder to reproduce for me, but I can still crash it clicking audit buttons as fast as I can.

@dschaper
Copy link
Member

And how often do you find yourself clicking the audit button as fast as you can?

@rloomans
Copy link

rloomans commented Dec 20, 2020 via email

@dschaper
Copy link
Member

What exactly are you using the audit log for? Not to be flippant but I don't think I've ever seen anyone use it as a regular function. We've even discussed the need for it to continue to exist because it's really not that useful.

@GregoriusT
Copy link

I use the Audit Function after visiting each new Website to see what Stuff I already know about and which Stuff I might need to block for several reasons.

For example blocking most of those "Font"-CDNs, which dramatically slow down the Internet Connection (most easily observed with Youtube).

I also use Pi-Hole in combination with uMatrix to see what parts of a Website REALLY are absolutely not needed or only used for tracking.

And if you use Youtube on a regular basis you often have to clean up a TON of dynamically generated googlevideo Entries from the Audit Log which results in me Spam Clicking through them, which then results in aforementioned Issue of having to use the restart DNS Command.

The Audit Function is FAR better than running through the Query Logs all the time, and if you happen to have anything blocked that you did not intend to block, the Audit List is perfect for seeing where the culprit is, so it can be whitelisted manually if required.

So yeah, there is a reason why the /admin/auditlog.php Page is bookmarked as THE page that I use to open the Web Interface of Pi-Hole.

@rloomans
Copy link

rloomans commented Dec 21, 2020 via email

@DL6ER
Copy link
Member

DL6ER commented Dec 21, 2020

@yubiuser @rloomans (and anyone else still seeing the crash, maybe @GregoriusT as well):
Please add

DEBUG_DATABASE=true

to the file /etc/pihole/pihole-FTL.conf (create if it does not exist) and run

pihole restartdns

Next time the crash happens, please include again the crash report from /var/log/pihole-FTL.conf with some extra lines of context above the !!!!!! header. This may help us getting a better picture of where/why exactly the issue happens.

@danielvonwi
Copy link

Happy to help with that as I see the same issue. On which branch do you suggest do run the debug?

@yubiuser
Copy link
Member Author

Somehow on development it's harder to reproduce with DEBUG_DATABASE_true for me. I have to click very fast.... In the end FTL just freezes, without a "real" crash. What I observed additionally: pihole restartdns need to be run twice after this freezing to get DNS resolution back. Running it the first time takes a long time (4 sec) and doesn't restore DNS resolution. Running it a second time restarts the service immediately and everything is working fine.

[2020-12-21 10:26:46.436 30311M] ########## FTL started! ##########
[2020-12-21 10:26:46.436 30311M] FTL branch: development
[2020-12-21 10:26:46.436 30311M] FTL version: vDev-e71b6fa
[2020-12-21 10:26:46.436 30311M] FTL commit: e71b6fa
[2020-12-21 10:26:46.436 30311M] FTL date: 2020-12-20 11:17:20 -0800
[2020-12-21 10:26:46.436 30311M] FTL user: pihole
[2020-12-21 10:26:46.436 30311M] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 10:26:46.436 30311M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-12-21 10:26:46.436 30311M]    SOCKET_LISTENING: only local
[2020-12-21 10:26:46.436 30311M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-12-21 10:26:46.436 30311M]    MAXDBDAYS: max age for stored queries is 90 days
[2020-12-21 10:26:46.437 30311M]    RESOLVE_IPV6: Resolve IPv6 addresses
[2020-12-21 10:26:46.437 30311M]    RESOLVE_IPV4: Resolve IPv4 addresses
[2020-12-21 10:26:46.437 30311M]    DBINTERVAL: saving to DB file every minute
[2020-12-21 10:26:46.437 30311M]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-12-21 10:26:46.437 30311M]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-12-21 10:26:46.437 30311M]    PRIVACYLEVEL: Set to 0
[2020-12-21 10:26:46.437 30311M]    IGNORE_LOCALHOST: Show queries from localhost
[2020-12-21 10:26:46.437 30311M]    BLOCKINGMODE: Null IPs for blocked domains
[2020-12-21 10:26:46.437 30311M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-12-21 10:26:46.437 30311M]    DBIMPORT: Importing history from database
[2020-12-21 10:26:46.437 30311M]    PIDFILE: Using /run/pihole-FTL.pid
[2020-12-21 10:26:46.437 30311M]    PORTFILE: Using /run/pihole-FTL.port
[2020-12-21 10:26:46.437 30311M]    SOCKETFILE: Using /run/pihole/FTL.sock
[2020-12-21 10:26:46.438 30311M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-12-21 10:26:46.438 30311M]    MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-12-21 10:26:46.438 30311M]    GRAVITYDB: Using /etc/pihole/gravity.db
[2020-12-21 10:26:46.438 30311M]    PARSE_ARP_CACHE: Active
[2020-12-21 10:26:46.438 30311M]    CNAME_DEEP_INSPECT: Active
[2020-12-21 10:26:46.438 30311M]    DELAY_STARTUP: No delay requested.
[2020-12-21 10:26:46.438 30311M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-21 10:26:46.438 30311M]    NICE: Set process niceness to -10 (default)
[2020-12-21 10:26:46.438 30311M]    MAXNETAGE: Removing IP addresses and host names from network table after 90 days
[2020-12-21 10:26:46.438 30311M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2020-12-21 10:26:46.438 30311M]    EDNS0_ECS: Overwrite client from ECS information
[2020-12-21 10:26:46.438 30311M]    REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2020-12-21 10:26:46.439 30311M] *****************************
[2020-12-21 10:26:46.439 30311M] * Debugging enabled         *
[2020-12-21 10:26:46.439 30311M] * DEBUG_DATABASE        YES *
[2020-12-21 10:26:46.439 30311M] * DEBUG_NETWORKING      NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_LOCKS           NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_QUERIES         NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_FLAGS           NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_SHMEM           NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_GC              NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_ARP             NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_REGEX           NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_API             NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_OVERTIME        NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_EXTBLOCKED      NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_CAPS            NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_DNSMASQ_LINES   NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_VECTORS         NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_RESOLVER        NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_EDNS0           NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_CLIENTS         NO  *
[2020-12-21 10:26:46.439 30311M] * DEBUG_ALIASCLIENTS    NO  *
[2020-12-21 10:26:46.440 30311M] * DEBUG_EVENTS          NO  *
[2020-12-21 10:26:46.440 30311M] * DEBUG_HELPER          NO  *
[2020-12-21 10:26:46.440 30311M] *****************************
[2020-12-21 10:26:46.440 30311M] Finished config file parsing
[2020-12-21 10:26:46.440 30311M] Creating mutex
[2020-12-21 10:26:46.442 30311M] dbquery: "SELECT VALUE FROM ftl WHERE id = 0;"
[2020-12-21 10:26:46.443 30311M]          ---> Result 9 (int)
[2020-12-21 10:26:46.443 30311M] Database version is 9
[2020-12-21 10:26:46.443 30311M] Imported 0 alias-clients
[2020-12-21 10:26:46.443 30311M] Database successfully initialized
[2020-12-21 10:26:46.444 30311M] DB_read_queries(): "SELECT * FROM queries WHERE timestamp >= ?" with ? = 1608456406
[2020-12-21 10:26:46.444 30311M] New upstream server: 127.0.0.1:5335 (0/512)
[2020-12-21 10:26:46.461 30311M] Resizing "FTL-strings" from 4096 to (8192 * 1) == 8192 (/dev/shm: 626.7KB used, 516.6MB total)
[2020-12-21 10:26:46.474 30311M] Resizing "FTL-strings" from 8192 to (12288 * 1) == 12288 (/dev/shm: 630.8KB used, 516.6MB total)
[2020-12-21 10:26:46.516 30311M] Resizing "FTL-queries" from 262144 to (8192 * 64) == 524288 (/dev/shm: 634.9KB used, 516.6MB total)
[2020-12-21 10:26:46.537 30311M] Resizing "FTL-strings" from 12288 to (16384 * 1) == 16384 (/dev/shm: 897.0KB used, 516.6MB total)
[2020-12-21 10:26:46.579 30311M] Imported 7497 queries from the long-term database
[2020-12-21 10:26:46.580 30311M]  -> Total DNS queries: 7497
[2020-12-21 10:26:46.580 30311M]  -> Cached DNS queries: 568
[2020-12-21 10:26:46.580 30311M]  -> Forwarded DNS queries: 4597
[2020-12-21 10:26:46.580 30311M]  -> Blocked DNS queries: 2330
[2020-12-21 10:26:46.580 30311M]  -> Unknown DNS queries: 0
[2020-12-21 10:26:46.580 30311M]  -> Unique domains: 765
[2020-12-21 10:26:46.580 30311M]  -> Unique clients: 9
[2020-12-21 10:26:46.580 30311M]  -> Known forward destinations: 1
[2020-12-21 10:26:46.580 30311M] Successfully accessed setupVars.conf
[2020-12-21 10:26:46.580 30311M] DEBUG: argv[0] = ""
[2020-12-21 10:26:46.580 30311M] DEBUG: argv[1] = "-k"
[2020-12-21 10:26:46.588 30313M] PID of FTL process: 30313
[2020-12-21 10:26:46.589 30313/T30314] Listening on port 4711 for incoming IPv4 telnet connections
[2020-12-21 10:26:46.589 30313M] INFO: FTL is running as user pihole (UID 998)
[2020-12-21 10:26:46.590 30313/T30316] Listening on Unix socket
[2020-12-21 10:26:46.590 30313M] Reloading DNS cache
[2020-12-21 10:26:46.590 30313/T30315] Listening on port 4711 for incoming IPv6 telnet connections
[2020-12-21 10:26:46.591 30313M] Blocking status is enabled
[2020-12-21 10:26:46.591 30313M] *****************************
[2020-12-21 10:26:46.591 30313M] * Debugging enabled         *
[2020-12-21 10:26:46.591 30313M] * DEBUG_DATABASE        YES *
[2020-12-21 10:26:46.591 30313M] * DEBUG_NETWORKING      NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_LOCKS           NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_QUERIES         NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_FLAGS           NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_SHMEM           NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_GC              NO  *
[2020-12-21 10:26:46.591 30313M] * DEBUG_ARP             NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_REGEX           NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_API             NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_OVERTIME        NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_EXTBLOCKED      NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_CAPS            NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_DNSMASQ_LINES   NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_VECTORS         NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_RESOLVER        NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_EDNS0           NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_CLIENTS         NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_ALIASCLIENTS    NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_EVENTS          NO  *
[2020-12-21 10:26:46.592 30313M] * DEBUG_HELPER          NO  *
[2020-12-21 10:26:46.592 30313M] *****************************
[2020-12-21 10:26:46.690 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:26:46.700 30313/T30317]          ---> OK
[2020-12-21 10:26:46.701 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:26:46.701 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:26:46.701 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:26:46.704 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:26:46.704 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:26:46.704 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:26:46.704 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:26:46.705 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:26:46.705 30313/T30317] Not using any regex filters, nothing to free or reset
[2020-12-21 10:26:46.705 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:26:46.705 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:26:46.706 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:26:46.715 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:26:46.715 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:26:46.715 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:26:46.716 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:26:46.716 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:26:46.717 30313/T30317] Loading per-client regex data
[2020-12-21 10:26:46.717 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:46.717 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:26:46.717 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:26:46.718 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:26:46.718 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:26:46.719 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:46.719 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:26:46.719 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:26:46.720 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:26:46.720 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:26:46.720 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:46.721 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:26:46.721 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:26:46.721 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:26:46.721 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:26:46.722 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.722 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.722 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.727 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:46.728 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:26:46.728 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:26:46.728 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:26:46.728 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:26:46.729 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:46.730 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:26:46.730 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:26:46.730 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:26:46.730 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:26:46.731 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.732 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.732 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.733 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.733 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.733 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.734 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.734 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.734 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:46.735 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 30.4 msec
[2020-12-21 10:26:46.735 30313/T30317] Resetting per-client DNS cache, size is 88
[2020-12-21 10:26:47.072 30313M] Initializing gravity statements for 10.0.1.1
[2020-12-21 10:26:47.072 30313M] gravityDB_open(): Preparing vw_whitelist statement for client 10.0.1.1
[2020-12-21 10:26:47.072 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_whitelist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:47.073 30313M] gravityDB_open(): Preparing vw_gravity statement for client 10.0.1.1
[2020-12-21 10:26:47.073 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_gravity WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:47.074 30313M] gravityDB_open(): Preparing vw_blacklist statement for client 10.0.1.1
[2020-12-21 10:26:47.074 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_blacklist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:47.074 30313M] domain_in_list("ping.ubnt.com", 0xffffa002e248, whitelist): 0
[2020-12-21 10:26:47.088 30313M] domain_in_list("ping.ubnt.com", 0xffffa002f9b8, blacklist): 0
[2020-12-21 10:26:47.088 30313M] domain_in_list("ping.ubnt.com", 0xffffa002e6f8, gravity): 0
[2020-12-21 10:26:47.092 30313M] domain_in_list("dl.ubnt.com", 0xffffa002e248, whitelist): 0
[2020-12-21 10:26:47.093 30313M] domain_in_list("dl.ubnt.com", 0xffffa002f9b8, blacklist): 0
[2020-12-21 10:26:47.094 30313M] domain_in_list("dl.ubnt.com", 0xffffa002e6f8, gravity): 0
[2020-12-21 10:26:47.097 30313M] domain_in_list("d2cnv2pop2xy4v.cloudfront.net", 0xffffa002e248, whitelist): 0
[2020-12-21 10:26:47.099 30313M] domain_in_list("d2cnv2pop2xy4v.cloudfront.net", 0xffffa002f9b8, blacklist): 0
[2020-12-21 10:26:47.099 30313M] domain_in_list("d2cnv2pop2xy4v.cloudfront.net", 0xffffa002e6f8, gravity): 0
[2020-12-21 10:26:49.291 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:26:49.308 30313M] Initializing gravity statements for 10.0.10.136
[2020-12-21 10:26:49.308 30313M] gravityDB_open(): Preparing vw_whitelist statement for client 10.0.10.136
[2020-12-21 10:26:49.308 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_whitelist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.309 30313M] gravityDB_open(): Preparing vw_gravity statement for client 10.0.10.136
[2020-12-21 10:26:49.309 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_gravity WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.309 30313M] gravityDB_open(): Preparing vw_blacklist statement for client 10.0.10.136
[2020-12-21 10:26:49.309 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_blacklist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.310 30313M] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002d438, whitelist): 0
[2020-12-21 10:26:49.316 30313M] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002aeb8, blacklist): 0
[2020-12-21 10:26:49.317 30313M] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002aa08, gravity): 1
[2020-12-21 10:26:49.340 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:26:49.348 30313/T30317]          ---> OK
[2020-12-21 10:26:49.348 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:26:49.349 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:26:49.350 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:26:49.350 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:26:49.350 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:26:49.355 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:26:49.355 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:26:49.355 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:26:49.355 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:26:49.356 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:26:49.356 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:26:49.356 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:26:49.356 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:26:49.356 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:26:49.357 30313/T30317] Loop done, freeing regex pointer (0xffffa005f220)
[2020-12-21 10:26:49.357 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:26:49.357 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:26:49.358 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:26:49.364 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:26:49.365 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:26:49.365 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:26:49.366 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:26:49.366 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:26:49.366 30313/T30317] Loading per-client regex data
[2020-12-21 10:26:49.367 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:49.367 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:26:49.367 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:26:49.368 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:26:49.368 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:26:49.369 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:49.369 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:26:49.369 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:26:49.370 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:26:49.370 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:26:49.371 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:49.371 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:26:49.372 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:26:49.372 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:26:49.372 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:26:49.373 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.373 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.373 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.374 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:49.374 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:26:49.374 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:26:49.375 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:26:49.375 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:26:49.376 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:49.376 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:26:49.376 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:26:49.376 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:26:49.376 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:26:49.377 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.377 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.377 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.378 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.378 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.378 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.379 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.380 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.380 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:49.380 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 23.6 msec
[2020-12-21 10:26:49.380 30313/T30317] Resetting per-client DNS cache, size is 92
[2020-12-21 10:26:49.521 30313M] Initializing gravity statements for 10.0.10.136
[2020-12-21 10:26:49.521 30313M] gravityDB_open(): Preparing vw_whitelist statement for client 10.0.10.136
[2020-12-21 10:26:49.521 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_whitelist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.521 30313M] gravityDB_open(): Preparing vw_gravity statement for client 10.0.10.136
[2020-12-21 10:26:49.521 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_gravity WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.522 30313M] gravityDB_open(): Preparing vw_blacklist statement for client 10.0.10.136
[2020-12-21 10:26:49.522 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_blacklist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:26:49.522 30313M] domain_in_list("beacons.gvt2.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:49.529 30313M] domain_in_list("beacons.gvt2.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:49.529 30313M] domain_in_list("beacons.gvt2.com", 0xffffa002dee8, gravity): 1
[2020-12-21 10:26:49.586 30313M] domain_in_list("beacons2.gvt2.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:49.588 30313M] domain_in_list("beacons2.gvt2.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:49.588 30313M] domain_in_list("beacons2.gvt2.com", 0xffffa002dee8, gravity): 1
[2020-12-21 10:26:49.820 30313M] domain_in_list("beacons3.gvt2.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:49.822 30313M] domain_in_list("beacons3.gvt2.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:49.823 30313M] domain_in_list("beacons3.gvt2.com", 0xffffa002dee8, gravity): 1
[2020-12-21 10:26:53.845 30313M] domain_in_list("beacons4.gvt2.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:53.848 30313M] domain_in_list("beacons4.gvt2.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:53.849 30313M] domain_in_list("beacons4.gvt2.com", 0xffffa002dee8, gravity): 1
[2020-12-21 10:26:56.080 30313M] domain_in_list("beacons5.gvt2.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:56.089 30313M] domain_in_list("beacons5.gvt2.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:56.089 30313M] domain_in_list("beacons5.gvt2.com", 0xffffa002dee8, gravity): 1
[2020-12-21 10:26:56.293 30313M] domain_in_list("beacons5.gvt3.com", 0xffffa002da38, whitelist): 0
[2020-12-21 10:26:56.295 30313M] domain_in_list("beacons5.gvt3.com", 0xffffa002f1a8, blacklist): 0
[2020-12-21 10:26:56.296 30313M] domain_in_list("beacons5.gvt3.com", 0xffffa002dee8, gravity): 0
[2020-12-21 10:26:56.500 30313/T30346] domain_in_list("ping.ubnt.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.500 30313/T30346] domain_in_list("ping.ui.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("clients4.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.501 30313/T30346] domain_in_list("www.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("sip.alice-voip.de", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("static.ubnt.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("github.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.502 30313/T30346] domain_in_list("inbox.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.503 30313/T30346] domain_in_list("mail.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.503 30313/T30346] domain_in_list("api.atlassian.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.503 30313/T30346] domain_in_list("www.gstatic.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.503 30313/T30346] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.503 30313/T30346] domain_in_list("data2.argosdata.io", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.504 30313/T30346] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.504 30313/T30346] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.504 30313/T30346] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.504 30313/T30346] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.505 30313/T30346] domain_in_list("play.googleapis.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.505 30313/T30346] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.505 30313/T30346] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.505 30313/T30346] domain_in_list("www.googleapis.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.505 30313/T30346] domain_in_list("user-images.githubusercontent.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.506 30313/T30346] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.506 30313/T30346] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.506 30313/T30346] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.506 30313/T30346] domain_in_list("github-cloud.s3.amazonaws.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.507 30313/T30346] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.511 30313/T30346] domain_in_list("logs1242.xiti.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.511 30313/T30346] domain_in_list("ping.ui.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.511 30313/T30346] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:56.511 30313/T30346] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.512 30313/T30346] domain_in_list("telemetry.dropbox.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.512 30313/T30346] domain_in_list("discovery.syncthing.net", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.512 30313/T30346] domain_in_list("beacons4.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.512 30313/T30346] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.512 30313/T30346] domain_in_list("beacons.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.513 30313/T30346] domain_in_list("beacons2.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:56.513 30313/T30346] domain_in_list("beacons5.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.121 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:26:58.146 30313/T30352] domain_in_list("ping.ubnt.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.146 30313/T30352] domain_in_list("ping.ui.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.147 30313/T30352] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.147 30313/T30352] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.147 30313/T30352] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.147 30313/T30352] domain_in_list("clients4.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.147 30313/T30352] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("www.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("sip.alice-voip.de", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("static.ubnt.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("github.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.148 30313/T30352] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("inbox.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("mail.google.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("api.atlassian.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("www.gstatic.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.149 30313/T30352] domain_in_list("data2.argosdata.io", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.150 30313/T30352] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.150 30313/T30352] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.150 30313/T30352] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.150 30313/T30352] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.151 30313/T30352] domain_in_list("play.googleapis.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.151 30313/T30352] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.151 30313/T30352] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.151 30313/T30352] domain_in_list("www.googleapis.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.152 30313/T30352] domain_in_list("user-images.githubusercontent.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.152 30313/T30352] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.152 30313/T30352] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.153 30313/T30352] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.153 30313/T30352] domain_in_list("github-cloud.s3.amazonaws.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.154 30313/T30352] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.154 30313/T30352] domain_in_list("logs1242.xiti.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.154 30313/T30352] domain_in_list("ping.ui.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.154 30313/T30352] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ffb8, auditlist): 1
[2020-12-21 10:26:58.154 30313/T30352] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.155 30313/T30352] domain_in_list("telemetry.dropbox.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.155 30313/T30352] domain_in_list("discovery.syncthing.net", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.155 30313/T30352] domain_in_list("beacons4.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.155 30313/T30352] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.155 30313/T30352] domain_in_list("beacons.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.156 30313/T30352] domain_in_list("beacons2.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.156 30313/T30352] domain_in_list("beacons5.gvt2.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.156 30313/T30352] domain_in_list("beacons5.gvt3.com", 0xffffa002ffb8, auditlist): 0
[2020-12-21 10:26:58.194 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:26:58.202 30313/T30317]          ---> OK
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:26:58.202 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:26:58.203 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:26:58.203 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:26:58.203 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:26:58.203 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:26:58.204 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:26:58.204 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:26:58.207 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:26:58.207 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:26:58.207 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:26:58.207 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:26:58.207 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:26:58.207 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:26:58.207 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:26:58.208 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:26:58.208 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:26:58.208 30313/T30317] Loop done, freeing regex pointer (0xffffa005e820)
[2020-12-21 10:26:58.208 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:26:58.208 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:26:58.209 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:26:58.213 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:26:58.214 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:26:58.214 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:26:58.214 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:26:58.215 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:26:58.215 30313/T30317] Loading per-client regex data
[2020-12-21 10:26:58.216 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:58.216 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:26:58.216 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:26:58.217 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:26:58.217 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:26:58.218 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:58.218 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:26:58.218 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:26:58.219 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:26:58.219 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:26:58.220 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:58.220 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:26:58.221 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:26:58.221 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:26:58.221 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:26:58.221 30313/T30317] Resizing "FTL-strings" from 16384 to (20480 * 1) == 20480 (/dev/shm: 901.1KB used, 516.6MB total)
[2020-12-21 10:26:58.222 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.222 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.227 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.228 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:58.228 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:26:58.228 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:26:58.229 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:26:58.229 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:26:58.229 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:58.230 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:26:58.230 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:26:58.230 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:26:58.230 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:26:58.235 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.235 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.235 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.237 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.237 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.237 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.238 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.238 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.238 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:58.239 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 31.0 msec
[2020-12-21 10:26:58.239 30313/T30317] Resetting per-client DNS cache, size is 97
[2020-12-21 10:26:59.109 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:26:59.133 30313/T30358] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.133 30313/T30358] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.133 30313/T30358] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.133 30313/T30358] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.134 30313/T30358] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.135 30313/T30358] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.135 30313/T30358] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.135 30313/T30358] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.135 30313/T30358] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.135 30313/T30358] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.136 30313/T30358] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.137 30313/T30358] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.137 30313/T30358] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.137 30313/T30358] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.138 30313/T30358] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.138 30313/T30358] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.138 30313/T30358] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.138 30313/T30358] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.138 30313/T30358] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.139 30313/T30358] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.139 30313/T30358] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.139 30313/T30358] domain_in_list("github-cloud.s3.amazonaws.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.140 30313/T30358] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.140 30313/T30358] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.141 30313/T30358] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.141 30313/T30358] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:26:59.141 30313/T30358] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.141 30313/T30358] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.142 30313/T30358] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.142 30313/T30358] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.142 30313/T30358] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.142 30313/T30358] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.143 30313/T30358] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.143 30313/T30358] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.143 30313/T30358] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.143 30313/T30358] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:26:59.144 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:26:59.152 30313/T30317]          ---> OK
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:26:59.152 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:26:59.153 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:26:59.153 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:26:59.153 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:26:59.155 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:26:59.155 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:26:59.155 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:26:59.155 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:26:59.156 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:26:59.156 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:26:59.156 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:26:59.156 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:26:59.156 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:26:59.156 30313/T30317] Loop done, freeing regex pointer (0xffffa0024af0)
[2020-12-21 10:26:59.156 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:26:59.156 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:26:59.157 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:26:59.161 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:26:59.161 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:26:59.161 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:26:59.162 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:26:59.162 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:26:59.163 30313/T30317] Loading per-client regex data
[2020-12-21 10:26:59.163 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:59.163 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:26:59.164 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:26:59.164 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:26:59.164 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:26:59.165 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:59.165 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:26:59.165 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:26:59.166 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:26:59.166 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:26:59.167 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:59.167 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:26:59.167 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:26:59.168 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:26:59.168 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:26:59.169 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.169 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.169 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.170 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:59.170 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:26:59.170 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:26:59.170 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:26:59.171 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:26:59.172 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:26:59.172 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:26:59.172 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:26:59.172 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:26:59.172 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:26:59.173 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.173 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.173 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.174 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.174 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.175 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.176 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.176 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.176 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:26:59.177 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 20.2 msec
[2020-12-21 10:26:59.177 30313/T30317] Resetting per-client DNS cache, size is 97
[2020-12-21 10:27:00.010 30313M] Initializing gravity statements for 127.0.0.1
[2020-12-21 10:27:00.010 30313M] gravityDB_open(): Preparing vw_whitelist statement for client 127.0.0.1
[2020-12-21 10:27:00.010 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_whitelist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:27:00.011 30313M] gravityDB_open(): Preparing vw_gravity statement for client 127.0.0.1
[2020-12-21 10:27:00.011 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_gravity WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:27:00.011 30313M] gravityDB_open(): Preparing vw_blacklist statement for client 127.0.0.1
[2020-12-21 10:27:00.012 30313M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_blacklist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:27:00.012 30313M] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.027 30313M] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.027 30313M] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.031 30313M] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.033 30313M] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.033 30313M] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.037 30313M] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.038 30313M] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.038 30313M] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.042 30313M] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.044 30313M] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.045 30313M] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.048 30313M] domain_in_list("3.40.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.049 30313M] domain_in_list("3.40.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.050 30313M] domain_in_list("3.40.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.053 30313M] domain_in_list("190.10.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.055 30313M] domain_in_list("190.10.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.056 30313M] domain_in_list("190.10.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.059 30313M] domain_in_list("136.10.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.061 30313M] domain_in_list("136.10.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.061 30313M] domain_in_list("136.10.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.064 30313M] domain_in_list("6.10.0.10.in-addr.arpa", 0xffffa002ca18, whitelist): 0
[2020-12-21 10:27:00.066 30313M] domain_in_list("6.10.0.10.in-addr.arpa", 0xffffa002e188, blacklist): 0
[2020-12-21 10:27:00.066 30313M] domain_in_list("6.10.0.10.in-addr.arpa", 0xffffa002cec8, gravity): 0
[2020-12-21 10:27:00.077 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:00.078 30313/T30317] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:27:00.078 30313/T30317]          ---> OK
[2020-12-21 10:27:00.079 30313/T30317] dbquery: "SELECT MAX(ID) FROM queries"
[2020-12-21 10:27:00.079 30313/T30317]          ---> Result 2392894 (long long int)
[2020-12-21 10:27:00.080 30313/T30317] dbquery: "END TRANSACTION"
[2020-12-21 10:27:00.090 30313/T30317]          ---> OK
[2020-12-21 10:27:00.091 30313/T30317] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1608542820 );"
[2020-12-21 10:27:00.096 30313/T30317]          ---> OK
[2020-12-21 10:27:00.096 30313/T30317] dbquery: "UPDATE counters SET value = value + 16 WHERE id = 0;"
[2020-12-21 10:27:00.103 30313/T30317]          ---> OK
[2020-12-21 10:27:00.103 30313/T30317] dbquery: "UPDATE counters SET value = value + 7 WHERE id = 1;"
[2020-12-21 10:27:00.110 30313/T30317]          ---> OK
[2020-12-21 10:27:00.110 30313/T30317] Notice: Queries stored in long-term database: 16 (took 31.6 ms, last SQLite ID 2392910)
[2020-12-21 10:27:00.112 30313/T30317] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:27:00.112 30313/T30317]          ---> OK
[2020-12-21 10:27:00.112 30313/T30317] dbquery: "DELETE FROM network_addresses WHERE lastSeen < 1600766820;"
[2020-12-21 10:27:00.113 30313/T30364] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.113 30313/T30317]          ---> OK
[2020-12-21 10:27:00.113 30313/T30317] dbquery: "UPDATE network_addresses SET name = NULL WHERE nameUpdated < 1600766820;"
[2020-12-21 10:27:00.113 30313/T30364] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.113 30313/T30317]          ---> OK
[2020-12-21 10:27:00.113 30313/T30364] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.114 30313/T30364] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.115 30313/T30364] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.115 30313/T30364] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.115 30313/T30364] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.115 30313/T30364] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.115 30313/T30364] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.116 30313/T30364] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.117 30313/T30364] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.117 30313/T30364] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.118 30313/T30364] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.118 30313/T30364] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.118 30313/T30364] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.118 30313/T30364] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.118 30313/T30364] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.119 30313/T30364] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.119 30313/T30364] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.119 30313/T30364] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.120 30313/T30364] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.120 30313/T30364] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.122 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = 'e0:63:da:2c:19:17' COLLATE NOCASE;"
[2020-12-21 10:27:00.122 30313/T30317]          ---> Result 2 (int)
[2020-12-21 10:27:00.122 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542632) WHERE id = 2;"
[2020-12-21 10:27:00.123 30313/T30317]          ---> OK
[2020-12-21 10:27:00.123 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 2;"
[2020-12-21 10:27:00.123 30313/T30317]          ---> OK
[2020-12-21 10:27:00.124 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "cloudkey" and 2 = "10.0.1.2"
[2020-12-21 10:27:00.124 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:27:00.124 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "10.0.1.2"
[2020-12-21 10:27:00.125 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '00:a2:89:5b:1d:f0' COLLATE NOCASE;"
[2020-12-21 10:27:00.125 30313/T30317]          ---> Result 3 (int)
[2020-12-21 10:27:00.125 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542634) WHERE id = 3;"
[2020-12-21 10:27:00.125 30313/T30317]          ---> OK
[2020-12-21 10:27:00.125 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 3;"
[2020-12-21 10:27:00.125 30313/T30317]          ---> OK
[2020-12-21 10:27:00.125 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "spa112" and 2 = "10.0.1.7"
[2020-12-21 10:27:00.126 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 3
[2020-12-21 10:27:00.126 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 3 and ?2 = "10.0.1.7"
[2020-12-21 10:27:00.126 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = 'f0:9f:c2:1e:8f:e9' COLLATE NOCASE;"
[2020-12-21 10:27:00.126 30313/T30317]          ---> Result 1 (int)
[2020-12-21 10:27:00.126 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542807) WHERE id = 1;"
[2020-12-21 10:27:00.126 30313/T30317]          ---> OK
[2020-12-21 10:27:00.126 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 2 WHERE id = 1;"
[2020-12-21 10:27:00.126 30313/T30317]          ---> OK
[2020-12-21 10:27:00.127 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "usg" and 2 = "10.0.1.1"
[2020-12-21 10:27:00.127 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 1
[2020-12-21 10:27:00.127 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 1 and ?2 = "10.0.1.1"
[2020-12-21 10:27:00.127 30313/T30317] dbquery: "SELECT network_id FROM network_addresses WHERE ip = '10.0.10.64' AND lastSeen > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC LIMIT 1;"
[2020-12-21 10:27:00.128 30313/T30317]          ---> Result 14 (int)
[2020-12-21 10:27:00.128 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542659) WHERE id = 14;"
[2020-12-21 10:27:00.128 30313/T30317]          ---> OK
[2020-12-21 10:27:00.128 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 14;"
[2020-12-21 10:27:00.128 30313/T30317]          ---> OK
[2020-12-21 10:27:00.128 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 14 and ?2 = "10.0.10.64"
[2020-12-21 10:27:00.128 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "iPad" and 2 = "10.0.10.64"
[2020-12-21 10:27:00.128 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:27:00.129 30313/T30317]          ---> Result 12 (int)
[2020-12-21 10:27:00.129 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542820) WHERE id = 12;"
[2020-12-21 10:27:00.129 30313/T30317]          ---> OK
[2020-12-21 10:27:00.129 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 9 WHERE id = 12;"
[2020-12-21 10:27:00.129 30313/T30317]          ---> OK
[2020-12-21 10:27:00.129 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 12 and ?2 = "127.0.0.1"
[2020-12-21 10:27:00.129 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "localhost" and 2 = "127.0.0.1"
[2020-12-21 10:27:00.129 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 12
[2020-12-21 10:27:00.130 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '02:01:60:D3:D2:BB' COLLATE NOCASE;"
[2020-12-21 10:27:00.130 30313/T30317]          ---> Result 13 (int)
[2020-12-21 10:27:00.130 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608534030) WHERE id = 13;"
[2020-12-21 10:27:00.130 30313/T30317]          ---> OK
[2020-12-21 10:27:00.130 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 13;"
[2020-12-21 10:27:00.130 30313/T30317]          ---> OK
[2020-12-21 10:27:00.130 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 13 and ?2 = "10.0.40.3"
[2020-12-21 10:27:00.130 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "wireguard-sony-xz-compact" and 2 = "10.0.40.3"
[2020-12-21 10:27:00.131 30313/T30317] dbquery: "SELECT network_id FROM network_addresses WHERE ip = '10.0.10.190' AND lastSeen > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC LIMIT 1;"
[2020-12-21 10:27:00.131 30313/T30317]          ---> Result 5 (int)
[2020-12-21 10:27:00.131 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542034) WHERE id = 5;"
[2020-12-21 10:27:00.131 30313/T30317]          ---> OK
[2020-12-21 10:27:00.131 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 5;"
[2020-12-21 10:27:00.131 30313/T30317]          ---> OK
[2020-12-21 10:27:00.131 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "10.0.10.190"
[2020-12-21 10:27:00.132 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "Sony-XZ1-Compact" and 2 = "10.0.10.190"
[2020-12-21 10:27:00.132 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '3C:97:0E:13:36:C0' COLLATE NOCASE;"
[2020-12-21 10:27:00.132 30313/T30317]          ---> Result 8 (int)
[2020-12-21 10:27:00.132 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542816) WHERE id = 8;"
[2020-12-21 10:27:00.132 30313/T30317]          ---> OK
[2020-12-21 10:27:00.132 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 8 WHERE id = 8;"
[2020-12-21 10:27:00.132 30313/T30317]          ---> OK
[2020-12-21 10:27:00.132 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 8 and ?2 = "10.0.10.136"
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "Thinkpad-Lan" and 2 = "10.0.10.136"
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 8
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "SELECT network_id FROM network_addresses WHERE ip = '10.0.10.6' AND lastSeen > (cast(strftime('%s', 'now') as int)-86400) ORDER BY lastSeen DESC LIMIT 1;"
[2020-12-21 10:27:00.133 30313/T30317]          ---> Result 20 (int)
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608493978) WHERE id = 20;"
[2020-12-21 10:27:00.133 30313/T30317]          ---> OK
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 20;"
[2020-12-21 10:27:00.133 30313/T30317]          ---> OK
[2020-12-21 10:27:00.133 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 20 and ?2 = "10.0.10.6"
[2020-12-21 10:27:00.134 30313/T30317] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "omv" and 2 = "10.0.10.6"
[2020-12-21 10:27:00.144 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:27:00.144 30313/T30317]          ---> Result 12 (int)
[2020-12-21 10:27:00.144 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 12 and ?2 = "127.0.0.1"
[2020-12-21 10:27:00.145 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 12
[2020-12-21 10:27:00.145 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:27:00.145 30313/T30317]          ---> Result 12 (int)
[2020-12-21 10:27:00.145 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 12 and ?2 = "::1"
[2020-12-21 10:27:00.146 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 12
[2020-12-21 10:27:00.146 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '02:01:60:d3:d2:bb' COLLATE NOCASE;"
[2020-12-21 10:27:00.146 30313/T30317]          ---> Result 13 (int)
[2020-12-21 10:27:00.181 30313/T30317] DEBUG: MAC Vendor lookup for 02:01:60:d3:d2:bb returned ""
[2020-12-21 10:27:00.182 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 13 and ?2 = "10.0.1.5"
[2020-12-21 10:27:00.182 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 13
[2020-12-21 10:27:00.182 30313/T30317] dbquery: "SELECT id FROM network WHERE hwaddr = '02:01:60:d3:d2:bb' COLLATE NOCASE;"
[2020-12-21 10:27:00.182 30313/T30317]          ---> Result 13 (int)
[2020-12-21 10:27:00.216 30313/T30317] DEBUG: MAC Vendor lookup for 02:01:60:d3:d2:bb returned ""
[2020-12-21 10:27:00.217 30313/T30317] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 13 and ?2 = "fe80::c025:1022:3642:dae4"
[2020-12-21 10:27:00.217 30313/T30317] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 13
[2020-12-21 10:27:00.217 30313/T30317] dbquery: "DELETE FROM network WHERE id NOT IN (SELECT network_id from network_addresses) AND hwaddr LIKE 'ip-%';"
[2020-12-21 10:27:00.218 30313/T30317]          ---> OK
[2020-12-21 10:27:00.218 30313/T30317] dbquery: "END TRANSACTION"
[2020-12-21 10:27:00.224 30313/T30317]          ---> OK
[2020-12-21 10:27:00.224 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:00.230 30313/T30317]          ---> OK
[2020-12-21 10:27:00.230 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:00.230 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:00.230 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:00.230 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:00.230 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:00.231 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:00.231 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:00.231 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:00.231 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:00.231 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:00.232 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:00.232 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:00.234 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:00.234 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:00.235 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:00.235 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:00.235 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:00.235 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:00.235 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:00.236 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:27:00.236 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:00.236 30313/T30317] Loop done, freeing regex pointer (0xffffa0068200)
[2020-12-21 10:27:00.236 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:00.236 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:00.237 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:00.242 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:00.242 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:00.242 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:00.243 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:00.243 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:00.243 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:00.244 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.244 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:00.244 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:00.245 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:00.245 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:00.246 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.246 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:00.247 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:00.251 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:00.251 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:00.252 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.252 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:00.253 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:00.253 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:00.253 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:00.254 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.254 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.254 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.255 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.255 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:00.255 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:00.256 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:00.256 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:00.257 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.257 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:00.257 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:00.257 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:00.257 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:00.258 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.258 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.258 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.263 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.264 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.264 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.265 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.265 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.265 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.266 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 29.7 msec
[2020-12-21 10:27:00.266 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.267 30313/T30364] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.268 30313/T30364] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.268 30313/T30364] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.268 30313/T30364] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.268 30313/T30364] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.269 30313/T30364] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.269 30313/T30364] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.269 30313/T30364] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.269 30313/T30364] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.269 30313/T30364] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.270 30313/T30364] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.379 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:00.467 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:00.473 30313/T30317]          ---> OK
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:00.474 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:00.474 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:00.475 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:00.475 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:00.475 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:00.477 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:00.478 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:00.478 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:00.478 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:00.478 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:00.478 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:00.478 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:00.479 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:27:00.479 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:00.479 30313/T30317] Loop done, freeing regex pointer (0xffffa0049ad0)
[2020-12-21 10:27:00.479 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:00.479 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:00.480 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:00.484 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:00.485 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:00.485 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:00.485 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:00.486 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:00.487 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:00.487 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.487 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:00.488 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:00.488 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:00.488 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:00.489 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.489 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:00.489 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:00.490 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:00.490 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:00.491 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.491 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:00.491 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:00.492 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:00.492 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:00.493 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.493 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.493 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.494 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.494 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:00.494 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:00.495 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:00.495 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:00.496 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.496 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:00.496 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:00.497 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:00.497 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:00.497 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.498 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.498 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.499 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.499 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.499 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.500 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.500 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.500 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.501 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 21.7 msec
[2020-12-21 10:27:00.501 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:00.501 30313/T30379] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.501 30313/T30379] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.501 30313/T30379] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.502 30313/T30379] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.503 30313/T30379] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.504 30313/T30379] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.505 30313/T30379] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.506 30313/T30379] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.506 30313/T30379] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.507 30313/T30379] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.508 30313/T30379] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.508 30313/T30379] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.508 30313/T30379] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.508 30313/T30379] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.508 30313/T30379] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.509 30313/T30379] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.509 30313/T30379] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.509 30313/T30379] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.509 30313/T30379] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.514 30313/T30380] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.515 30313/T30380] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.516 30313/T30380] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.517 30313/T30380] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.518 30313/T30380] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.519 30313/T30380] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.519 30313/T30380] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.519 30313/T30380] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.520 30313/T30380] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.520 30313/T30380] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.521 30313/T30380] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.521 30313/T30380] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.521 30313/T30380] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.521 30313/T30380] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.521 30313/T30380] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.522 30313/T30380] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.522 30313/T30380] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.522 30313/T30380] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.522 30313/T30380] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.522 30313/T30380] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.523 30313/T30380] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.523 30313/T30380] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.523 30313/T30380] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.523 30313/T30380] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.523 30313/T30380] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.524 30313/T30380] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.524 30313/T30380] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.602 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:00.609 30313/T30317]          ---> OK
[2020-12-21 10:27:00.609 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:00.609 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:00.610 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:00.611 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:00.611 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:00.611 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:00.619 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:00.620 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:00.620 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:00.620 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:00.620 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:00.620 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:00.620 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:00.620 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:27:00.620 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:00.621 30313/T30317] Loop done, freeing regex pointer (0xffffa006f340)
[2020-12-21 10:27:00.621 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:00.621 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:00.621 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:00.625 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:00.625 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:00.625 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:00.626 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:00.631 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:00.631 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:00.631 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.632 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:00.632 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:00.632 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:00.632 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:00.633 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.634 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:00.634 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:00.634 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:00.634 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:00.636 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.636 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:00.636 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:00.636 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:00.637 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:00.638 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.638 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.638 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.639 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.639 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:00.640 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:00.640 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:00.640 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:00.641 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.641 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:00.642 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:00.642 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:00.642 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:00.643 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.643 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.643 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.644 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.645 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.645 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.646 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.646 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.646 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.647 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 26.1 msec
[2020-12-21 10:27:00.647 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:00.889 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:00.907 30313/T30386] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.907 30313/T30386] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.907 30313/T30386] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.907 30313/T30386] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.908 30313/T30386] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.909 30313/T30386] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.910 30313/T30386] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.910 30313/T30386] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.910 30313/T30386] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.910 30313/T30386] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.911 30313/T30386] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.911 30313/T30386] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.911 30313/T30386] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.911 30313/T30386] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.912 30313/T30386] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.912 30313/T30386] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.912 30313/T30386] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.912 30313/T30386] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.913 30313/T30386] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.913 30313/T30386] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.913 30313/T30386] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.915 30313/T30386] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.916 30313/T30386] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.916 30313/T30386] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.916 30313/T30386] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.916 30313/T30386] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.917 30313/T30386] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.917 30313/T30386] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.917 30313/T30386] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.917 30313/T30386] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.917 30313/T30386] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.918 30313/T30386] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.918 30313/T30386] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.918 30313/T30386] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.918 30313/T30386] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.918 30313/T30386] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.919 30313/T30386] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:00.919 30313/T30386] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.919 30313/T30386] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.919 30313/T30386] domain_in_list("in.appcenter.ms", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:00.948 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:00.956 30313/T30317]          ---> OK
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:00.956 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:00.957 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:00.957 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:00.957 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:00.961 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:00.961 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:00.961 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:00.961 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:00.961 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:00.961 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:00.961 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:00.962 30313/T30317] Loop done, freeing regex pointer (0xffffa0055800)
[2020-12-21 10:27:00.962 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:00.962 30313/T30317] Loop done, freeing regex pointer (0xffffa009c710)
[2020-12-21 10:27:00.962 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:00.962 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:00.963 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:00.968 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:00.968 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:00.968 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:00.969 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:00.970 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:00.970 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:00.970 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.970 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:00.971 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:00.971 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:00.971 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:00.972 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.972 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:00.973 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:00.973 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:00.973 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:00.974 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.974 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:00.975 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:00.975 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:00.975 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:00.976 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.977 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.977 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.978 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.978 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:00.978 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:00.983 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:00.983 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:00.984 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:00.984 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:00.984 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:00.985 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:00.985 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:00.986 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.986 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.986 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.987 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.987 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.987 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.988 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.988 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.988 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:00.989 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 26.5 msec
[2020-12-21 10:27:00.989 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:01.091 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:01.112 30313/T30392] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.113 30313/T30392] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.114 30313/T30392] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.114 30313/T30392] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.114 30313/T30392] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.114 30313/T30392] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.114 30313/T30392] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.115 30313/T30392] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.116 30313/T30392] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.116 30313/T30392] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.116 30313/T30392] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.116 30313/T30392] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.117 30313/T30392] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.117 30313/T30392] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.117 30313/T30392] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.117 30313/T30392] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.118 30313/T30392] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.118 30313/T30392] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.118 30313/T30392] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.118 30313/T30392] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.118 30313/T30392] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.119 30313/T30392] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.119 30313/T30392] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.120 30313/T30392] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.121 30313/T30392] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.121 30313/T30392] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.121 30313/T30392] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.121 30313/T30392] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.122 30313/T30392] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.122 30313/T30392] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.122 30313/T30392] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.122 30313/T30392] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.122 30313/T30392] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.123 30313/T30392] domain_in_list("in.appcenter.ms", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.123 30313/T30392] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.123 30313/T30392] domain_in_list("bolt.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.190 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:01.198 30313/T30317]          ---> OK
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.199 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.200 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.201 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.201 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.205 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:01.206 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:01.206 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:01.206 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:01.206 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:01.206 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:01.207 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:01.207 30313/T30317] Loop done, freeing regex pointer (0xffffa000c6b0)
[2020-12-21 10:27:01.207 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:01.207 30313/T30317] Loop done, freeing regex pointer (0xffffa0025520)
[2020-12-21 10:27:01.208 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:01.208 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:01.209 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:01.214 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:01.214 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:01.214 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:01.215 30313/T30317] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.215 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.216 30313/T30317] WARN: Database query failed, assuming there are no whitelist regex entries
[2020-12-21 10:27:01.216 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:01.216 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.216 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.216 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.216 30313/T30317] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2020-12-21 10:27:01.216 30313/T30317] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.217 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.218 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.218 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.218 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.219 30313/T30317] get_client_groupids(): Gravity database not available
[2020-12-21 10:27:01.219 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.219 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.219 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.219 30313/T30317] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2020-12-21 10:27:01.219 30313/T30317] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 10:27:01.219 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.219 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.219 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.220 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.220 30313/T30317] get_client_groupids(): Gravity database not available
[2020-12-21 10:27:01.220 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.220 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.220 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.223 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:01.223 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:01.223 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:01.223 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.224 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:01.224 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:01.224 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:01.225 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:01.225 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.226 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.226 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.227 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.228 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:01.228 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:01.228 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:01.229 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:01.229 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.230 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:01.230 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:01.231 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:01.231 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:01.232 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.232 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.232 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.233 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.233 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.233 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.234 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.234 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.234 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.235 30313/T30317] Compiled 0 whitelist and 26 blacklist regex filters for 9 clients in 27.3 msec
[2020-12-21 10:27:01.235 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:01.312 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:01.329 30313/T30398] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.330 30313/T30398] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.331 30313/T30398] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.331 30313/T30398] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.331 30313/T30398] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.331 30313/T30398] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.331 30313/T30398] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.332 30313/T30398] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.333 30313/T30398] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.333 30313/T30398] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.333 30313/T30398] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.334 30313/T30398] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.335 30313/T30398] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.335 30313/T30398] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.335 30313/T30398] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.335 30313/T30398] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.336 30313/T30398] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.336 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:01.343 30313/T30317]          ---> OK
[2020-12-21 10:27:01.343 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.343 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.343 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.343 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.343 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.344 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.344 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.344 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.344 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.344 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.344 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.345 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.347 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:01.347 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:01.348 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:01.348 30313/T30317] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:27:01.348 30313/T30317] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 10:27:01.348 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:01.348 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:01.348 30313/T30317] Loop done, freeing regex pointer (0xffffa000c6b0)
[2020-12-21 10:27:01.348 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:01.348 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:01.349 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:01.354 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:01.354 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:01.354 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:01.355 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:01.355 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:01.356 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:01.356 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.356 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:01.357 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:01.357 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:01.357 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:01.358 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.358 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:01.359 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:01.359 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:01.359 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:01.360 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.360 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:01.361 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:01.361 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:01.361 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:01.362 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.362 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.362 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.364 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.364 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:01.364 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:01.364 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:01.364 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:01.365 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.366 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:01.366 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:01.366 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:01.366 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:01.367 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.367 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.367 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.368 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.368 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.368 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.369 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.369 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.369 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.370 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 21.6 msec
[2020-12-21 10:27:01.370 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.371 30313/T30398] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.372 30313/T30398] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.372 30313/T30398] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.372 30313/T30398] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.372 30313/T30398] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.372 30313/T30398] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.373 30313/T30398] domain_in_list("in.appcenter.ms", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.374 30313/T30398] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.374 30313/T30398] domain_in_list("bolt.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.374 30313/T30398] domain_in_list("id.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.675 30313M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:27:01.699 30313/T30404] domain_in_list("ping.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.699 30313/T30404] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.699 30313/T30404] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("clients4.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("www.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.700 30313/T30404] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("sip.alice-voip.de", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("github.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("gateway.fe.apple-dns.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("inbox.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.701 30313/T30404] domain_in_list("mail.google.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.702 30313/T30404] domain_in_list("api.atlassian.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.702 30313/T30404] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.702 30313/T30404] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.702 30313/T30404] domain_in_list("data2.argosdata.io", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.702 30313/T30404] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.703 30313/T30404] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.703 30313/T30404] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("avatars1.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("play.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("avatars2.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("avatars3.githubusercontent.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("www.googleapis.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.704 30313/T30404] domain_in_list("user-images.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.705 30313/T30404] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.705 30313/T30404] domain_in_list("avatars0.githubusercontent.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.705 30313/T30404] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.705 30313/T30404] domain_in_list("chat-pa.clients6.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.706 30313/T30404] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.706 30313/T30404] domain_in_list("logs1242.xiti.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.706 30313/T30404] domain_in_list("ping.ui.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("connectivity-check.ubuntu.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("discovery-v6.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("telemetry.dropbox.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("discovery.syncthing.net", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("beacons4.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("beacons.gcp.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.707 30313/T30404] domain_in_list("beacons.gvt2.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.708 30313/T30404] domain_in_list("beacons2.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.708 30313/T30404] domain_in_list("beacons5.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.708 30313/T30404] domain_in_list("beacons5.gvt3.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.708 30313/T30404] domain_in_list("beacons3.gvt2.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.708 30313/T30404] domain_in_list("static.ubnt.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.709 30313/T30404] domain_in_list("fonts.gstatic.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.709 30313/T30404] domain_in_list("dl-debug.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.709 30313/T30404] domain_in_list("in.appcenter.ms", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.709 30313/T30404] domain_in_list("www.gstatic.com", 0xffffa002ef98, auditlist): 1
[2020-12-21 10:27:01.709 30313/T30404] domain_in_list("bolt.dropbox.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.710 30313/T30404] domain_in_list("id.google.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.710 30313/T30404] domain_in_list("app-measurement.com", 0xffffa002ef98, auditlist): 0
[2020-12-21 10:27:01.772 30313/T30317] dbquery: "DELETE FROM message;"
[2020-12-21 10:27:01.782 30313/T30317]          ---> OK
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.782 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.783 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.783 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.783 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.783 30313/T30317] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2020-12-21 10:27:01.783 30313/T30317] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.784 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.784 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.784 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.784 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.785 30313/T30317] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2020-12-21 10:27:01.785 30313/T30317] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:27:01.785 30313/T30317] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:27:01.785 30313/T30317] gravityDB_count(0): Gravity database not available
[2020-12-21 10:27:01.785 30313/T30317] Resetting per-client regex settings
[2020-12-21 10:27:01.785 30313/T30317] Going to free 26 entries in blacklist regex struct
[2020-12-21 10:27:01.786 30313/T30317] Loop done, freeing regex pointer (0xffffa000c6b0)
[2020-12-21 10:27:01.786 30313/T30317] Going to free 2 entries in whitelist regex struct
[2020-12-21 10:27:01.786 30313/T30317] Loop done, freeing regex pointer (0xffffa00a1af0)
[2020-12-21 10:27:01.786 30313/T30317] Reading regex blacklist from database
[2020-12-21 10:27:01.786 30313/T30317] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:27:01.787 30313/T30317] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:27:01.787 30313/T30317] gravityDB_open(): Preparing audit query
[2020-12-21 10:27:01.790 30313/T30317] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:27:01.790 30313/T30317] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:27:01.790 30313/T30317] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:27:01.790 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:27:01.791 30313/T30317] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 10:27:01.796 30313/T30317] Read 26 blacklist regex entries
[2020-12-21 10:27:01.796 30313/T30317] Reading regex whitelist from database
[2020-12-21 10:27:01.796 30313/T30317] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:27:01.797 30313/T30317] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 10:27:01.798 30313/T30317] Read 2 whitelist regex entries
[2020-12-21 10:27:01.798 30313/T30317] Loading per-client regex data
[2020-12-21 10:27:01.799 30313/T30317] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.799 30313/T30317] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 10:27:01.800 30313/T30317] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 10:27:01.800 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 10:27:01.800 30313/T30317] Found database interface 10.0.1.1 -> eth0
[2020-12-21 10:27:01.801 30313/T30317] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.801 30313/T30317] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 10:27:01.802 30313/T30317] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 10:27:01.802 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 10:27:01.802 30313/T30317] Found database interface 10.0.1.2 -> eth0
[2020-12-21 10:27:01.803 30313/T30317] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.804 30313/T30317] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 10:27:01.804 30313/T30317] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 10:27:01.804 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 10:27:01.804 30313/T30317] Found database interface 10.0.1.7 -> eth0
[2020-12-21 10:27:01.806 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.806 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.806 30313/T30317] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.807 30313/T30317] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.808 30313/T30317] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:27:01.808 30313/T30317] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:27:01.808 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:27:01.808 30313/T30317] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:27:01.809 30313/T30317] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 10:27:01.810 30313/T30317] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 10:27:01.810 30313/T30317] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 10:27:01.810 30313/T30317] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 10:27:01.811 30313/T30317] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:27:01.812 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.812 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.812 30313/T30317] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.813 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.813 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.814 30313/T30317] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.815 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.815 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.815 30313/T30317] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:27:01.816 30313/T30317] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 29.9 msec
[2020-12-21 10:27:01.816 30313/T30317] Resetting per-client DNS cache, size is 105
[2020-12-21 10:27:01.878 30313M] Received: Real-time signal 0 (34 -> 0)

@yubiuser
Copy link
Member Author

While deleting some items from the blacklist I added accidentally while clicking fast on the audit tool I produced a crash

[2020-12-21 10:25:38.228 29691/T29695] Found database interface 10.0.40.3 -> eth0
[2020-12-21 10:25:38.229 29691/T29695] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.229 29691/T29695] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.229 29691/T29695] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.231 29691/T29695] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.231 29691/T29695] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.231 29691/T29695] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.232 29691/T29695] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.232 29691/T29695] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.233 29691/T29695] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 10:25:38.234 29691/T29695] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 25.4 msec
[2020-12-21 10:25:38.234 29691/T29695] Resetting per-client DNS cache, size is 135
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("ping.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("app-prod-ws.warnwetter.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("175.159.227.13.in-addr.arpa", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("clients4.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("www.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.235 29691/T30153] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("sip.alice-voip.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("static.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("github.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("gateway.fe.apple-dns.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("inbox.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("mail.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("oauthaccountmanager.googleapis.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.236 29691/T30153] domain_in_list("api.atlassian.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("www.gstatic.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("data2.argosdata.io", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("avatars1.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("avatars2.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("avatars3.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("1.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.237 29691/T30153] domain_in_list("2.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("7.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("play.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("www.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("user-images.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.238 29691/T30153] domain_in_list("avatars0.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.239 29691/T30153] domain_in_list("chat-pa.clients6.google.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.239 29691/T30153] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.239 29691/T30153] domain_in_list("logs1242.xiti.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("discovery-v6.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("telemetry.dropbox.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("discovery.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.240 29691/T30153] domain_in_list("beacons4.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.241 29691/T30153] domain_in_list("beacons.gcp.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.241 29691/T30153] domain_in_list("beacons.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.241 29691/T30153] domain_in_list("beacons2.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.241 29691/T30153] domain_in_list("beacons5.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.258 29691/T30154] domain_in_list("ping.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("app-prod-ws.warnwetter.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("175.159.227.13.in-addr.arpa", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("clients4.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.259 29691/T30154] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.260 29691/T30154] domain_in_list("www.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.260 29691/T30154] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.260 29691/T30154] domain_in_list("sip.alice-voip.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.260 29691/T30154] domain_in_list("static.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.260 29691/T30154] domain_in_list("github.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("gateway.fe.apple-dns.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("inbox.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("mail.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("oauthaccountmanager.googleapis.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("api.atlassian.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.261 29691/T30154] domain_in_list("www.gstatic.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.262 29691/T30154] domain_in_list("data2.argosdata.io", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.262 29691/T30154] domain_in_list("avatars1.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.262 29691/T30154] domain_in_list("avatars2.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.262 29691/T30154] domain_in_list("avatars3.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.262 29691/T30154] domain_in_list("1.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.263 29691/T30154] domain_in_list("2.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.263 29691/T30154] domain_in_list("7.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.263 29691/T30154] domain_in_list("play.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.264 29691/T30154] domain_in_list("www.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.264 29691/T30154] domain_in_list("user-images.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.264 29691/T30154] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.264 29691/T30154] domain_in_list("avatars0.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.265 29691/T30154] domain_in_list("chat-pa.clients6.google.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.266 29691/T30154] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.266 29691/T30154] domain_in_list("logs1242.xiti.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.266 29691/T30154] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.266 29691/T30154] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.266 29691/T30154] domain_in_list("discovery-v6.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.267 29691/T30154] domain_in_list("telemetry.dropbox.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.267 29691/T30154] domain_in_list("discovery.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.267 29691/T30154] domain_in_list("beacons4.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.267 29691/T30154] domain_in_list("beacons.gcp.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.268 29691/T30154] domain_in_list("beacons.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.271 29691/T30154] domain_in_list("beacons2.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.271 29691/T30154] domain_in_list("beacons5.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.288 29691/T30155] domain_in_list("ping.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.289 29691/T30155] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.289 29691/T30155] domain_in_list("app-prod-ws.warnwetter.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.289 29691/T30155] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.289 29691/T30155] domain_in_list("175.159.227.13.in-addr.arpa", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.289 29691/T30155] domain_in_list("clients4.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("www.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("sip.alice-voip.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("static.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.290 29691/T30155] domain_in_list("github.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("gateway.fe.apple-dns.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("inbox.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("mail.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("oauthaccountmanager.googleapis.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("api.atlassian.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.291 29691/T30155] domain_in_list("www.gstatic.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.292 29691/T30155] domain_in_list("data2.argosdata.io", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.292 29691/T30155] domain_in_list("avatars1.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.292 29691/T30155] domain_in_list("avatars2.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.292 29691/T30155] domain_in_list("avatars3.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.292 29691/T30155] domain_in_list("1.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.293 29691/T30155] domain_in_list("2.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.293 29691/T30155] domain_in_list("7.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.293 29691/T30155] domain_in_list("play.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.294 29691/T30155] domain_in_list("www.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.294 29691/T30155] domain_in_list("user-images.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.294 29691/T30155] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.294 29691/T30155] domain_in_list("avatars0.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.294 29691/T30155] domain_in_list("chat-pa.clients6.google.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.295 29691/T30155] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("logs1242.xiti.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("discovery-v6.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("telemetry.dropbox.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.296 29691/T30155] domain_in_list("discovery.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.297 29691/T30155] domain_in_list("beacons4.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.297 29691/T30155] domain_in_list("beacons.gcp.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.297 29691/T30155] domain_in_list("beacons.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.297 29691/T30155] domain_in_list("beacons2.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.297 29691/T30155] domain_in_list("beacons5.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.315 29691/T30156] domain_in_list("ping.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.315 29691/T30156] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.315 29691/T30156] domain_in_list("app-prod-ws.warnwetter.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("175.159.227.13.in-addr.arpa", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("clients4.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("www.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.316 29691/T30156] domain_in_list("sip.alice-voip.de", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("static.ubnt.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("github.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("gateway.fe.apple-dns.net", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("inbox.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("mail.google.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.317 29691/T30156] domain_in_list("oauthaccountmanager.googleapis.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("api.atlassian.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("www.gstatic.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("data2.argosdata.io", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("avatars1.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("avatars2.githubusercontent.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.318 29691/T30156] domain_in_list("avatars3.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.319 29691/T30156] domain_in_list("1.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.319 29691/T30156] domain_in_list("2.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.319 29691/T30156] domain_in_list("7.1.0.10.in-addr.arpa", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.320 29691/T30156] domain_in_list("play.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.320 29691/T30156] domain_in_list("www.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.320 29691/T30156] domain_in_list("user-images.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.320 29691/T30156] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.321 29691/T30156] domain_in_list("avatars0.githubusercontent.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.321 29691/T30156] domain_in_list("chat-pa.clients6.google.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.322 29691/T30156] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.322 29691/T30156] domain_in_list("logs1242.xiti.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("ping.ui.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("connectivity-check.ubuntu.com", 0xffff7c02ef98, auditlist): 1
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("discovery-v6.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("telemetry.dropbox.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("discovery.syncthing.net", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.323 29691/T30156] domain_in_list("beacons4.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.324 29691/T30156] domain_in_list("beacons.gcp.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.324 29691/T30156] domain_in_list("beacons.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.324 29691/T30156] domain_in_list("beacons2.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.324 29691/T30156] domain_in_list("beacons5.gvt2.com", 0xffff7c02ef98, auditlist): 0
[2020-12-21 10:25:38.335 29691/T29695] dbquery: "DELETE FROM message;"
[2020-12-21 10:25:38.342 29691/T29695]          ---> OK
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.1.1
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.1.2
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.1.7
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.10.64
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 127.0.0.1
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.40.3
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.10.190
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.10.136
[2020-12-21 10:25:38.342 29691/T29695] Finalizing gravity statements for 10.0.10.6
[2020-12-21 10:25:38.343 29691/T29695] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:25:38.343 29691/T29695] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:25:38.344 29691/T29695] gravityDB_open(): Preparing audit query
[2020-12-21 10:25:38.345 29691/T29695] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 10:25:38.345 29691/T29695] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-21 10:25:38.345 29691/T29695] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 10:25:38.345 29691/T29695] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-21 10:25:38.345 29691/T29695] and include in your report already the following details:
[2020-12-21 10:25:38.345 29691/T29695] FTL has been running for 127 seconds
[2020-12-21 10:25:38.346 29691/T29695] FTL branch: development
[2020-12-21 10:25:38.346 29691/T29695] FTL version: vDev-e71b6fa
[2020-12-21 10:25:38.346 29691/T29695] FTL commit: e71b6fa
[2020-12-21 10:25:38.346 29691/T29695] FTL date: 2020-12-20 11:17:20 -0800
[2020-12-21 10:25:38.346 29691/T29695] FTL user: started as pihole, ended as pihole
[2020-12-21 10:25:38.346 29691/T29695] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 10:25:38.346 29691/T29695] Process details: MID: 29691
[2020-12-21 10:25:38.346 29691/T29695]                  PID: 29691
[2020-12-21 10:25:38.346 29691/T29695]                  TID: 29695
[2020-12-21 10:25:38.346 29691/T29695]                  Name: database
[2020-12-21 10:25:38.346 29691/T29695] Received signal: Segmentation fault
[2020-12-21 10:25:38.346 29691/T29695]      at address: (nil)
[2020-12-21 10:25:38.346 29691/T29695]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-21 10:25:38.348 29691/T29695] Backtrace:
[2020-12-21 10:25:38.352 29691/T29695] B[0000]: /usr/bin/pihole-FTL(+0x55be0) [0xaaaac824dbe0]
[2020-12-21 10:25:38.420 29691/T29695] L[0000]: /root/project/src/signals.c:193
[2020-12-21 10:25:38.426 29691/T29695] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff895f17c0]
[2020-12-21 10:25:38.426 29691/T29695] B[0002]: /usr/bin/pihole-FTL(+0xb7ddc) [0xaaaac82afddc]
[2020-12-21 10:25:38.635 29691/T29695] L[0002]: /root/project/src/database/sqlite3.c:31274
[2020-12-21 10:25:38.667 29691/T29695] B[0003]: /usr/bin/pihole-FTL(+0x139204) [0xaaaac8331204]
[2020-12-21 10:25:38.883 29691/T29695] L[0003]: /root/project/src/database/sqlite3.c:32843
[2020-12-21 10:25:38.915 29691/T29695] B[0004]: /usr/bin/pihole-FTL(+0x13aca8) [0xaaaac8332ca8]
[2020-12-21 10:25:39.115 29691/T29695] L[0004]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 10:25:39.147 29691/T29695] B[0005]: /usr/bin/pihole-FTL(+0x13b800) [0xaaaac8333800]
[2020-12-21 10:25:39.349 29691/T29695] L[0005]: /root/project/src/database/sqlite3.c:127058
[2020-12-21 10:25:39.380 29691/T29695] B[0006]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaac8341a84]
[2020-12-21 10:25:39.581 29691/T29695] L[0006]: /root/project/src/database/sqlite3.c:122099
[2020-12-21 10:25:39.613 29691/T29695] B[0007]: /usr/bin/pihole-FTL(+0x13bbcc) [0xaaaac8333bcc]
[2020-12-21 10:25:39.812 29691/T29695] L[0007]: /root/project/src/database/sqlite3.c:127278
[2020-12-21 10:25:39.844 29691/T29695] B[0008]: /usr/bin/pihole-FTL(+0x14a5f8) [0xaaaac83425f8]
[2020-12-21 10:25:40.049 29691/T29695] L[0008]: /root/project/src/database/sqlite3.c:127349
[2020-12-21 10:25:40.081 29691/T29695] B[0009]: /usr/bin/pihole-FTL(+0x14a648) [0xaaaac8342648]
[2020-12-21 10:25:40.294 29691/T29695] L[0009]: /root/project/src/database/sqlite3.c:127375
[2020-12-21 10:25:40.326 29691/T29695] B[0010]: /usr/bin/pihole-FTL(+0x14aca8) [0xaaaac8342ca8]
[2020-12-21 10:25:40.526 29691/T29695] L[0010]: /root/project/src/database/sqlite3.c:109478
[2020-12-21 10:25:40.558 29691/T29695] B[0011]: /usr/bin/pihole-FTL(+0x14ba98) [0xaaaac8343a98]
[2020-12-21 10:25:40.757 29691/T29695] L[0011]: /root/project/src/database/sqlite3.c:132826
[2020-12-21 10:25:40.789 29691/T29695] B[0012]: /usr/bin/pihole-FTL(+0xbed8c) [0xaaaac82b6d8c]
[2020-12-21 10:25:40.988 29691/T29695] L[0012]: /root/project/src/database/sqlite3.c:96750
[2020-12-21 10:25:41.020 29691/T29695] B[0013]: /usr/bin/pihole-FTL(+0xbf018) [0xaaaac82b7018]
[2020-12-21 10:25:41.219 29691/T29695] L[0013]: /root/project/src/database/sqlite3.c:96638
[2020-12-21 10:25:41.251 29691/T29695] B[0014]: /usr/bin/pihole-FTL(+0xbf098) [0xaaaac82b7098]
[2020-12-21 10:25:41.451 29691/T29695] L[0014]: /root/project/src/database/sqlite3.c:96667
[2020-12-21 10:25:41.483 29691/T29695] B[0015]: /usr/bin/pihole-FTL(+0xbed9c) [0xaaaac82b6d9c]
[2020-12-21 10:25:41.682 29691/T29695] L[0015]: /root/project/src/database/sqlite3.c:96680
[2020-12-21 10:25:41.714 29691/T29695] B[0016]: /usr/bin/pihole-FTL(+0xbf7e4) [0xaaaac82b77e4]
[2020-12-21 10:25:41.914 29691/T29695] L[0016]: /root/project/src/database/sqlite3.c:133200
[2020-12-21 10:25:41.946 29691/T29695] B[0017]: /usr/bin/pihole-FTL(+0x124ad8) [0xaaaac831cad8]
[2020-12-21 10:25:42.159 29691/T29695] L[0017]: /root/project/src/database/sqlite3.c:133638
[2020-12-21 10:25:42.190 29691/T29695] B[0018]: /usr/bin/pihole-FTL(+0x134bf4) [0xaaaac832cbf4]
[2020-12-21 10:25:42.388 29691/T29695] L[0018]: /root/project/src/database/sqlite3.c:155888
[2020-12-21 10:25:42.420 29691/T29695] B[0019]: /usr/bin/pihole-FTL(+0x13aca8) [0xaaaac8332ca8]
[2020-12-21 10:25:42.626 29691/T29695] L[0019]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 10:25:42.658 29691/T29695] B[0020]: /usr/bin/pihole-FTL(+0x13b194) [0xaaaac8333194]
[2020-12-21 10:25:42.864 29691/T29695] L[0020]: /root/project/src/database/sqlite3.c:127650
[2020-12-21 10:25:42.896 29691/T29695] B[0021]: /usr/bin/pihole-FTL(+0x5dd4c) [0xaaaac8255d4c]
[2020-12-21 10:25:42.936 29691/T29695] L[0021]: /root/project/src/database/gravity-db.c:143
[2020-12-21 10:25:42.941 29691/T29695] B[0022]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaac82571ec]
[2020-12-21 10:25:42.977 29691/T29695] L[0022]: /root/project/src/database/gravity-db.c:72
[2020-12-21 10:25:42.983 29691/T29695] B[0023]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x40) [0xaaaac823ed58]
[2020-12-21 10:25:43.015 29691/T29695] L[0023]: /root/project/src/datastructure.c:486
[2020-12-21 10:25:43.019 29691/T29695] B[0024]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaac825592c]
[2020-12-21 10:25:43.054 29691/T29695] L[0024]: /root/project/src/database/database-thread.c:84
[2020-12-21 10:25:43.059 29691/T29695] B[0025]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffff894c67e4]
[2020-12-21 10:25:43.059 29691/T29695] B[0026]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffff8941cadc]
[2020-12-21 10:25:43.059 29691/T29695] ------ Listing content of directory /dev/shm ------
[2020-12-21 10:25:43.059 29691/T29695] File Mode User:Group  Filesize Filename
[2020-12-21 10:25:43.060 29691/T29695] rwxrwxrwx root:root 260 .
[2020-12-21 10:25:43.060 29691/T29695] rwxr-xr-x root:root 3K ..
[2020-12-21 10:25:43.060 29691/T29695] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-21 10:25:43.060 29691/T29695] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-21 10:25:43.060 29691/T29695] rw------- pihole:pihole 45K FTL-overTime
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 524K FTL-queries
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 176K FTL-clients
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 98K FTL-domains
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 20K FTL-strings
[2020-12-21 10:25:43.061 29691/T29695] rw------- pihole:pihole 12 FTL-settings
[2020-12-21 10:25:43.062 29691/T29695] rw------- pihole:pihole 144 FTL-counters
[2020-12-21 10:25:43.062 29691/T29695] rw------- pihole:pihole 56 FTL-lock
[2020-12-21 10:25:43.062 29691/T29695] ---------------------------------------------------
[2020-12-21 10:25:43.062 29691/T29695] Please also include some lines from above the !!!!!!!!! header.
[2020-12-21 10:25:43.062 29691/T29695] Thank you for helping us to improve our FTL engine!
[2020-12-21 10:25:43.062 29691/T29695] FTL terminated!
[2020-12-21 10:26:46.436 30311M] Using log file /var/log/pihole-FTL.log

@GregoriusT
Copy link

GregoriusT commented Dec 21, 2020

These Lines seem to be the only thing that could be useful after enabling debugging the Database. Do note I do not use any of the "fixed" Versions, but more Data is always better. ^^

[2020-12-21 10:44:00.230 926/T930] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:44:00.230 926/T930]          ---> OK
[2020-12-21 10:44:00.230 926/T930] dbquery: "SELECT MAX(ID) FROM queries"
[2020-12-21 10:44:00.231 926/T930]          ---> Result 70144 (long long int)
[2020-12-21 10:44:00.232 926/T930] dbquery: "END TRANSACTION"
[2020-12-21 10:44:00.273 926/T930]          ---> OK
[2020-12-21 10:44:00.274 926/T930] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1608543810 );"
[2020-12-21 10:44:00.288 926/T930]          ---> OK
[2020-12-21 10:44:00.288 926/T930] dbquery: "UPDATE counters SET value = value + 30 WHERE id = 0;"
[2020-12-21 10:44:00.299 926/T930]          ---> OK
[2020-12-21 10:44:00.299 926/T930] dbquery: "UPDATE counters SET value = value + 2 WHERE id = 1;"
[2020-12-21 10:44:00.314 926/T930]          ---> OK
[2020-12-21 10:44:00.314 926/T930] Notice: Queries stored in long-term database: 30 (took 84.1 ms, last SQLite ID 70174)
[2020-12-21 10:44:00.315 926/T930] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:44:00.315 926/T930]          ---> OK
[2020-12-21 10:44:00.316 926/T930] dbquery: "DELETE FROM network_addresses WHERE lastSeen < 1577007840;"
[2020-12-21 10:44:00.316 926/T930]          ---> OK
[2020-12-21 10:44:00.316 926/T930] dbquery: "UPDATE network_addresses SET name = NULL WHERE nameUpdated < 1577007840;"
[2020-12-21 10:44:00.316 926/T930]          ---> OK
[2020-12-21 10:44:00.322 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:44:00.323 926/T930]          ---> Result 2 (int)
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608543810) WHERE id = 2;"
[2020-12-21 10:44:00.323 926/T930]          ---> OK
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET numQueries = numQueries + 30 WHERE id = 2;"
[2020-12-21 10:44:00.323 926/T930]          ---> OK
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:44:00.324 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "192.168.2.9"
[2020-12-21 10:44:00.324 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '84:9c:a6:09:9e:6e' COLLATE NOCASE;"
[2020-12-21 10:44:00.324 926/T930]          ---> Result 1 (int)
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608507018) WHERE id = 1;"
[2020-12-21 10:44:00.324 926/T930]          ---> OK
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "easy.box" and 2 = "192.168.2.1"
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 1
[2020-12-21 10:44:00.324 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 1 and ?2 = "192.168.2.1"
[2020-12-21 10:44:00.325 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:44:00.325 926/T930]          ---> Result 2 (int)
[2020-12-21 10:44:00.325 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:44:00.325 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "fe80::bdc:9d5a:3746:e825"
[2020-12-21 10:44:00.325 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.325 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.325 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542100) WHERE id = 5;"
[2020-12-21 10:44:00.325 926/T930]          ---> OK
[2020-12-21 10:44:00.326 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:44:00.326 926/T930] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "localhost" and 2 = "127.0.0.1"
[2020-12-21 10:44:00.326 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.334 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.334 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.334 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:44:00.335 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.335 926M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:44:00.335 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.335 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.335 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "::1"
[2020-12-21 10:44:00.335 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.335 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:44:00.335 926/T930]          ---> Result 6 (int)
[2020-12-21 10:44:00.358 926/T930] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:44:00.358 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "192.168.2.153"
[2020-12-21 10:44:00.358 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:44:00.358 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:44:00.358 926/T930]          ---> Result 6 (int)
[2020-12-21 10:44:00.378 926/T930] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:44:00.378 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "fe80::5576:79e3:690c:d14e"
[2020-12-21 10:44:00.378 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6

The Log Lines above are likely from when i crashed FTL, the ones below could be it too, but I am not sure.

[2020-12-21 10:46:00.009 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:46:00.009 2747/T2751]          ---> OK
[2020-12-21 10:46:00.010 2747/T2751] dbquery: "SELECT MAX(ID) FROM queries"
[2020-12-21 10:46:00.010 2747/T2751]          ---> Result 70174 (long long int)
[2020-12-21 10:46:00.012 2747/T2751] dbquery: "END TRANSACTION"
[2020-12-21 10:46:00.033 2747/T2751]          ---> OK
[2020-12-21 10:46:00.033 2747/T2751] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1608543944 );"
[2020-12-21 10:46:00.053 2747/T2751]          ---> OK
[2020-12-21 10:46:00.053 2747/T2751] dbquery: "UPDATE counters SET value = value + 14 WHERE id = 0;"
[2020-12-21 10:46:00.084 2747/T2751]          ---> OK
[2020-12-21 10:46:00.085 2747/T2751] dbquery: "UPDATE counters SET value = value + 2 WHERE id = 1;"
[2020-12-21 10:46:00.102 2747/T2751]          ---> OK
[2020-12-21 10:46:00.102 2747/T2751] Notice: Queries stored in long-term database: 14 (took 93.2 ms, last SQLite ID 70188)
[2020-12-21 10:46:00.105 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:46:00.105 2747/T2751]          ---> OK
[2020-12-21 10:46:00.105 2747/T2751] dbquery: "DELETE FROM network_addresses WHERE lastSeen < 1577007960;"
[2020-12-21 10:46:00.106 2747/T2751]          ---> OK
[2020-12-21 10:46:00.106 2747/T2751] dbquery: "UPDATE network_addresses SET name = NULL WHERE nameUpdated < 1577007960;"
[2020-12-21 10:46:00.106 2747/T2751]          ---> OK
[2020-12-21 10:46:00.123 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:46:00.124 2747/T2751]          ---> Result 2 (int)
[2020-12-21 10:46:00.124 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608543944) WHERE id = 2;"
[2020-12-21 10:46:00.124 2747/T2751]          ---> OK
[2020-12-21 10:46:00.124 2747/T2751] dbquery: "UPDATE network SET numQueries = numQueries + 15 WHERE id = 2;"
[2020-12-21 10:46:00.124 2747/T2751]          ---> OK
[2020-12-21 10:46:00.125 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:46:00.125 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "192.168.2.9"
[2020-12-21 10:46:00.125 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '84:9c:a6:09:9e:6e' COLLATE NOCASE;"
[2020-12-21 10:46:00.126 2747/T2751]          ---> Result 1 (int)
[2020-12-21 10:46:00.126 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608507018) WHERE id = 1;"
[2020-12-21 10:46:00.126 2747/T2751]          ---> OK
[2020-12-21 10:46:00.126 2747/T2751] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 1;"
[2020-12-21 10:46:00.126 2747/T2751]          ---> OK
[2020-12-21 10:46:00.126 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 1
[2020-12-21 10:46:00.126 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 1 and ?2 = "192.168.2.1"
[2020-12-21 10:46:00.127 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:46:00.127 2747/T2751]          ---> Result 2 (int)
[2020-12-21 10:46:00.127 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:46:00.127 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "fe80::bdc:9d5a:3746:e825"
[2020-12-21 10:46:00.127 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:46:00.128 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:46:00.128 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542100) WHERE id = 5;"
[2020-12-21 10:46:00.128 2747/T2751]          ---> OK
[2020-12-21 10:46:00.128 2747/T2751] dbquery: "UPDATE network SET numQueries = numQueries + 1 WHERE id = 5;"
[2020-12-21 10:46:00.128 2747/T2751]          ---> OK
[2020-12-21 10:46:00.128 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:46:00.142 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:46:00.142 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:46:00.142 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:46:00.143 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:46:00.143 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:46:00.143 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:46:00.143 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "::1"
[2020-12-21 10:46:00.144 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:46:00.144 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:46:00.144 2747/T2751]          ---> Result 6 (int)
[2020-12-21 10:46:00.182 2747/T2751] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:46:00.183 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "192.168.2.153"
[2020-12-21 10:46:00.183 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:46:00.183 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:46:00.183 2747/T2751]          ---> Result 6 (int)
[2020-12-21 10:46:00.221 2747/T2751] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:46:00.221 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "fe80::5576:79e3:690c:d14e"
[2020-12-21 10:46:00.221 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:46:00.221 2747/T2751] dbquery: "DELETE FROM network WHERE id NOT IN (SELECT network_id from network_addresses) AND hwaddr LIKE 'ip-%';"
[2020-12-21 10:46:00.221 2747/T2751]          ---> OK
[2020-12-21 10:46:00.221 2747/T2751] dbquery: "END TRANSACTION"
[2020-12-21 10:46:00.240 2747/T2751]          ---> OK

And the Lines below this definitely should not be from the crash. That was after I needed to restart Pi Hole

[2020-12-21 10:47:00.028 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:47:00.028 2747/T2751]          ---> OK
[2020-12-21 10:47:00.028 2747/T2751] dbquery: "SELECT MAX(ID) FROM queries"
[2020-12-21 10:47:00.029 2747/T2751]          ---> Result 70188 (long long int)
[2020-12-21 10:47:00.031 2747/T2751] dbquery: "END TRANSACTION"
[2020-12-21 10:47:00.055 2747/T2751]          ---> OK
[2020-12-21 10:47:00.055 2747/T2751] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1608543992 );"
[2020-12-21 10:47:00.073 2747/T2751]          ---> OK
[2020-12-21 10:47:00.073 2747/T2751] dbquery: "UPDATE counters SET value = value + 20 WHERE id = 0;"
[2020-12-21 10:47:00.092 2747/T2751]          ---> OK
[2020-12-21 10:47:00.092 2747/T2751] dbquery: "UPDATE counters SET value = value + 0 WHERE id = 1;"
[2020-12-21 10:47:00.092 2747/T2751]          ---> OK
[2020-12-21 10:47:00.093 2747/T2751] Notice: Queries stored in long-term database: 20 (took 64.8 ms, last SQLite ID 70208)
[2020-12-21 10:47:00.095 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:47:00.096 2747/T2751]          ---> OK
[2020-12-21 10:47:00.096 2747/T2751] dbquery: "DELETE FROM network_addresses WHERE lastSeen < 1577008020;"
[2020-12-21 10:47:00.097 2747/T2751]          ---> OK
[2020-12-21 10:47:00.097 2747/T2751] dbquery: "UPDATE network_addresses SET name = NULL WHERE nameUpdated < 1577008020;"
[2020-12-21 10:47:00.097 2747/T2751]          ---> OK
[2020-12-21 10:47:00.114 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:47:00.115 2747/T2751]          ---> Result 2 (int)
[2020-12-21 10:47:00.115 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608543992) WHERE id = 2;"
[2020-12-21 10:47:00.116 2747/T2751]          ---> OK
[2020-12-21 10:47:00.116 2747/T2751] dbquery: "UPDATE network SET numQueries = numQueries + 16 WHERE id = 2;"
[2020-12-21 10:47:00.116 2747/T2751]          ---> OK
[2020-12-21 10:47:00.117 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:47:00.117 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "192.168.2.9"
[2020-12-21 10:47:00.118 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '84:9c:a6:09:9e:6e' COLLATE NOCASE;"
[2020-12-21 10:47:00.118 2747/T2751]          ---> Result 1 (int)
[2020-12-21 10:47:00.119 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608507018) WHERE id = 1;"
[2020-12-21 10:47:00.119 2747/T2751]          ---> OK
[2020-12-21 10:47:00.119 2747/T2751] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "easy.box" and 2 = "192.168.2.1"
[2020-12-21 10:47:00.119 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 1
[2020-12-21 10:47:00.120 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 1 and ?2 = "192.168.2.1"
[2020-12-21 10:47:00.120 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:47:00.121 2747/T2751]          ---> Result 2 (int)
[2020-12-21 10:47:00.121 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:47:00.121 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "fe80::bdc:9d5a:3746:e825"
[2020-12-21 10:47:00.121 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:47:00.122 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:47:00.122 2747/T2751] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608543960) WHERE id = 5;"
[2020-12-21 10:47:00.122 2747/T2751]          ---> OK
[2020-12-21 10:47:00.122 2747/T2751] dbquery: "UPDATE network SET numQueries = numQueries + 4 WHERE id = 5;"
[2020-12-21 10:47:00.122 2747/T2751]          ---> OK
[2020-12-21 10:47:00.122 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:47:00.123 2747/T2751] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "localhost" and 2 = "127.0.0.1"
[2020-12-21 10:47:00.123 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:47:00.136 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:47:00.137 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:47:00.137 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:47:00.138 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:47:00.138 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:47:00.138 2747/T2751]          ---> Result 5 (int)
[2020-12-21 10:47:00.139 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "::1"
[2020-12-21 10:47:00.139 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:47:00.139 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:47:00.139 2747/T2751]          ---> Result 6 (int)
[2020-12-21 10:47:00.177 2747/T2751] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:47:00.178 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "192.168.2.153"
[2020-12-21 10:47:00.178 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:47:00.178 2747/T2751] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:47:00.179 2747/T2751]          ---> Result 6 (int)
[2020-12-21 10:47:00.216 2747/T2751] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:47:00.217 2747/T2751] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "fe80::5576:79e3:690c:d14e"
[2020-12-21 10:47:00.217 2747/T2751] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:47:00.217 2747/T2751] dbquery: "DELETE FROM network WHERE id NOT IN (SELECT network_id from network_addresses) AND hwaddr LIKE 'ip-%';"
[2020-12-21 10:47:00.218 2747/T2751]          ---> OK
[2020-12-21 10:47:00.218 2747/T2751] dbquery: "END TRANSACTION"
[2020-12-21 10:47:00.253 2747/T2751]          ---> OK

edit: Code block formatting

@DL6ER
Copy link
Member

DL6ER commented Dec 21, 2020

Okay, so this quite a bit of text coming in, I'll reply to each of you individually below or we will completely loose overview


@danielvonwi
Currently, fix/all_the_things is the branch to go. It contains the various bugfixes we have for various bugs so hopefully this one remaining bug is the only one left. This will just make debugging easier as other possible bugs cannot intervene.


@yubiuser DEBUG_DATABASE=true really does nothing else than being more verbose in the log. There is zero change to how the code works, otherwise.

In the end FTL just freezes, without a "real" crash

This asks for DEBUG_LOCKS=true in addition. Be prepared for a lot more output... We'll likely only need the last 100 lines (not thousands) when it stops.

[2020-12-21 10:25:38.343 29691/T29695] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:25:38.343 29691/T29695] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:25:38.344 29691/T29695] gravityDB_open(): Preparing audit query
[2020-12-21 10:25:38.345 29691/T29695] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 10:25:38.345 29691/T29695] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-21 10:25:38.345 29691/T29695] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Oh, this is not good. The first comment runs before opening the database. There is no error, so it succeeded. The second comment is when setting the temp. object location. This is an ordinary SQL query (PRAGMA temp_store = MEMORY) and it succeeded as well (no error message). The third one is preparing the audit query (SELECT EXISTS(SELECT ... FROM domain_audit ...);). This one crashes.

It also matches your backtrace

[2020-12-21 10:25:42.936 29691/T29695] L[0021]: /root/project/src/database/gravity-db.c:143

Seriously, I don't really know what to think about this right now, but I'll keep looking.


@GregoriusT

Do note I do not use any of the "fixed" Versions, but more Data is always better. ^^

Well, yes, and no. Currently, it is better to use fix/all_the_things to ensure other possible bugs aren't obscuring the real stuff here.

[2020-12-21 10:44:00.378 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6

The Log Lines above are likely from when i crashed FTL, the ones below could be it too, but I am not sure.

[2020-12-21 10:46:00.009 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"

Yes, they are from separate processes. You can see the PID (process ID) right after the time. This is the important number here. The number after the /T is the TID (thread ID).

Was there really no other message after

[2020-12-21 10:44:00.378 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6

?

   [2020-12-21 10:46:00.221 2747/T2751] ---> OK
   [2020-12-21 10:46:00.221 2747/T2751] dbquery: "END TRANSACTION"
   [2020-12-21 10:46:00.240 2747/T2751] ---> OK

And the Lines below this definitely should not be from the crash. That was after I needed to restart Pi Hole

   [2020-12-21 10:47:00.028 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"
   [2020-12-21 10:47:00.028 2747/T2751] ---> OK

Same PID, so from the same process, without a crash in between. I need some more lines around the crash (if there are any). Also, I don't see any lines indicating a restart of FTL in your log snippet. Debugging a partial snippet is ... difficult ;-)

@yubiuser
Copy link
Member Author

Strange... since I turned on DEBUG_LOCKS it was really really hard to freeze or crash pihole. I caught one crash before I turned this on, and a freeze after

[2020-12-21 14:05:29.809 13489/T13493] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 14:05:29.810 13489/T13493] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 14:05:29.810 13489/T13493] Found database interface 127.0.0.1 -> lo
[2020-12-21 14:05:29.811 13489/T13493] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.811 13489/T13493] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.811 13489/T13493] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.812 13489/T13493] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.812 13489/T13493] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.812 13489/T13493] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.813 13489/T13493] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.813 13489/T13493] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.813 13489/T13493] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 14:05:29.814 13489/T13493] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 24.0 msec
[2020-12-21 14:05:29.814 13489/T13493] Resetting per-client DNS cache, size is 91
[2020-12-21 14:05:29.814 13489/T13668] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 14:05:29.814 13489/T13668] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-21 14:05:29.814 13489/T13668] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 14:05:29.814 13489/T13668] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-21 14:05:29.814 13489/T13668] and include in your report already the following details:
[2020-12-21 14:05:29.814 13489/T13668] FTL has been running for 23 seconds
[2020-12-21 14:05:29.814 13489/T13668] FTL branch: fix/all_the_things
[2020-12-21 14:05:29.814 13489/T13668] FTL version: vDev-2e0d740
[2020-12-21 14:05:29.815 13489/T13668] FTL commit: 2e0d740
[2020-12-21 14:05:29.815 13489/T13668] FTL date: 2020-12-20 11:07:28 +0100
[2020-12-21 14:05:29.815 13489/T13668] FTL user: started as pihole, ended as pihole
[2020-12-21 14:05:29.815 13489/T13668] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 14:05:29.815 13489/T13668] Process details: MID: 13489
[2020-12-21 14:05:29.815 13489/T13668]                  PID: 13489
[2020-12-21 14:05:29.815 13489/T13668]                  TID: 13668
[2020-12-21 14:05:29.815 13489/T13668]                  Name: telnet-19
[2020-12-21 14:05:29.815 13489/T13668] Received signal: Segmentation fault
[2020-12-21 14:05:29.815 13489/T13668]      at address: (nil)
[2020-12-21 14:05:29.815 13489/T13668]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-21 14:05:29.816 13489/T13668] Backtrace:
[2020-12-21 14:05:29.817 13489/T13668] B[0000]: /usr/bin/pihole-FTL(+0x569f4) [0xaaaab3ca99f4]
[2020-12-21 14:05:29.850 13489/T13668] L[0000]: /root/project/src/signals.c:191
[2020-12-21 14:05:29.854 13489/T13668] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff8a07d7c0]
[2020-12-21 14:05:29.855 13489/T13668] B[0002]: /usr/bin/pihole-FTL(find_equals+0x18) [0xaaaab3ca6068]
[2020-12-21 14:05:29.903 13489/T13668] L[0002]: /root/project/src/setupVars.c:38
[2020-12-21 14:05:29.909 13489/T13668] B[0003]: /usr/bin/pihole-FTL(+0x43f2c) [0xaaaab3c96f2c]
[2020-12-21 14:05:29.945 13489/T13668] L[0003]: /root/project/src/config.c:536
[2020-12-21 14:05:29.949 13489/T13668] B[0004]: /usr/bin/pihole-FTL(get_privacy_level+0x4c) [0xaaaab3c97354]
[2020-12-21 14:05:29.982 13489/T13668] L[0004]: /root/project/src/config.c:577
[2020-12-21 14:05:29.986 13489/T13668] B[0005]: /usr/bin/pihole-FTL(getTopDomains+0x80) [0xaaaab3cab008]
[2020-12-21 14:05:30.027 13489/T13668] L[0005]: /root/project/src/api/api.c:215
[2020-12-21 14:05:30.033 13489/T13668] B[0006]: /usr/bin/pihole-FTL(process_request+0x1d4) [0xaaaab3cae78c]
[2020-12-21 14:05:30.068 13489/T13668] L[0006]: /root/project/src/api/request.c:54
[2020-12-21 14:05:30.073 13489/T13668] B[0007]: /usr/bin/pihole-FTL(+0x5be38) [0xaaaab3caee38]
[2020-12-21 14:05:30.108 13489/T13668] L[0007]: /root/project/src/api/socket.c:331
[2020-12-21 14:05:30.113 13489/T13668] B[0008]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffff89f527e4]
[2020-12-21 14:05:30.113 13489/T13668] B[0009]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffff89ea8adc]
[2020-12-21 14:05:30.113 13489/T13668] ------ Listing content of directory /dev/shm ------
[2020-12-21 14:05:30.113 13489/T13668] File Mode User:Group  Filesize Filename
[2020-12-21 14:05:30.114 13489/T13668] rwxrwxrwx root:root 260 .
[2020-12-21 14:05:30.114 13489/T13668] rwxr-xr-x root:root 3K ..
[2020-12-21 14:05:30.114 13489/T13668] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-21 14:05:30.114 13489/T13668] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-21 14:05:30.114 13489/T13668] rw------- pihole:pihole 45K FTL-overTime
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 786K FTL-queries
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 176K FTL-clients
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 98K FTL-domains
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 20K FTL-strings
[2020-12-21 14:05:30.115 13489/T13668] rw------- pihole:pihole 12 FTL-settings
[2020-12-21 14:05:30.116 13489/T13668] rw------- pihole:pihole 144 FTL-counters
[2020-12-21 14:05:30.116 13489/T13668] rw------- pihole:pihole 56 FTL-lock
[2020-12-21 14:05:30.116 13489/T13668] ---------------------------------------------------
[2020-12-21 14:05:30.116 13489/T13668] Please also include some lines from above the !!!!!!!!! header.
[2020-12-21 14:05:30.116 13489/T13668] Thank you for helping us to improve our FTL engine!
[2020-12-21 14:05:30.116 13489/T13668] FTL terminated!

[2020-12-21 15:36:22.438 22621/T22625] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 24.7 msec
[2020-12-21 15:36:22.438 22621/T22625] Resetting per-client DNS cache, size is 237
[2020-12-21 15:36:22.438 22621/T22625] Removed lock in FTL_reload_all_domainlists() (/root/project/src/datastructure.c:495)
[2020-12-21 15:36:22.450 22621M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 15:36:22.539 22621/T22625] Waiting for lock in FTL_reload_all_domainlists() (/root/project/src/datastructure.c:473)
[2020-12-21 15:36:22.539 22621/T22625] Obtained lock for FTL_reload_all_domainlists() (/root/project/src/datastructure.c:473)
[2020-12-21 15:36:22.539 22621/T22625] Unlocking FTL database
[2020-12-21 15:36:22.539 22621/T22625] Unlocking FTL database: Success
[2020-12-21 15:36:22.539 22621/T22625] Locking FTL database
[2020-12-21 15:36:22.539 22621/T22625] Locking FTL database: Success
[2020-12-21 15:36:22.539 22621/T22625] dbquery: "DELETE FROM message;"
[2020-12-21 15:36:22.545 22621M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 15:36:22.546 22621/T22625]          ---> OK
[2020-12-21 15:36:22.546 22621/T22625] Finalizing gravity statements for 10.0.1.1
[2020-12-21 15:36:22.546 22621/T22625] Finalizing gravity statements for 10.0.1.2
[2020-12-21 15:36:22.546 22621/T22625] Finalizing gravity statements for 127.0.0.1
[2020-12-21 15:36:22.546 22621/T22625] Finalizing gravity statements for 10.0.40.3
[2020-12-21 15:36:22.546 22621/T22625] Finalizing gravity statements for 10.0.1.7
[2020-12-21 15:36:22.547 22621/T22625] Finalizing gravity statements for 10.0.10.64
[2020-12-21 15:36:22.547 22621/T22625] Finalizing gravity statements for 10.0.10.190
[2020-12-21 15:36:22.547 22621/T22625] Finalizing gravity statements for 10.0.10.136
[2020-12-21 15:36:22.547 22621/T22625] Finalizing gravity statements for 10.0.10.6
[2020-12-21 15:36:22.547 22621/T22625] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 15:36:22.547 22621/T22625] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 15:36:22.548 22621/T22625] gravityDB_open(): Preparing audit query
[2020-12-21 15:36:22.550 22621/T22625] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 15:36:22.550 22621/T22625] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 15:36:22.550 22621/T22625] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 15:36:22.551 22621/T22625] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 15:36:22.551 22621/T22625] gravityDB_count(0): 1263150 entries in vw_gravity
[2020-12-21 15:36:22.551 22621/T22625] Resetting per-client regex settings
[2020-12-21 15:36:22.551 22621/T22625] Going to free 26 entries in blacklist regex struct
[2020-12-21 15:36:22.552 22621/T22625] Loop done, freeing regex pointer (0xffffa00739f0)
[2020-12-21 15:36:22.552 22621/T22625] Going to free 2 entries in whitelist regex struct
[2020-12-21 15:36:22.552 22621/T22625] Loop done, freeing regex pointer (0xffffa005d890)
[2020-12-21 15:36:22.552 22621/T22625] Reading regex blacklist from database
[2020-12-21 15:36:22.552 22621/T22625] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 15:36:22.553 22621/T22625] gravityDB_count(3): 26 entries in vw_regex_blacklist
[2020-12-21 15:36:22.556 22621/T29674] Waiting for lock in process_request() (/root/project/src/api/request.c:52)
[2020-12-21 15:36:22.557 22621/T22625] Read 26 blacklist regex entries
[2020-12-21 15:36:22.557 22621/T22625] Reading regex whitelist from database
[2020-12-21 15:36:22.557 22621/T22625] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 15:36:22.558 22621/T22625] gravityDB_count(4): 2 entries in vw_regex_whitelist
[2020-12-21 15:36:22.559 22621/T22625] Read 2 whitelist regex entries
[2020-12-21 15:36:22.559 22621/T22625] Loading per-client regex data
[2020-12-21 15:36:22.559 22621/T22625] SQL: Comparing 10.0.1.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 15:36:22.560 22621/T22625] Found database hardware address 10.0.1.1 -> f0:9f:c2:1e:8f:e9
[2020-12-21 15:36:22.560 22621/T22625] Found database host name (same address) 10.0.1.1 -> usg
[2020-12-21 15:36:22.560 22621/T22625] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.1"
[2020-12-21 15:36:22.560 22621/T22625] Found database interface 10.0.1.1 -> eth0
[2020-12-21 15:36:22.561 22621/T22625] SQL: Comparing 10.0.1.2 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 15:36:22.561 22621/T22625] Found database hardware address 10.0.1.2 -> e0:63:da:2c:19:17
[2020-12-21 15:36:22.562 22621/T22625] Found database host name (same address) 10.0.1.2 -> cloudkey
[2020-12-21 15:36:22.562 22621/T22625] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.2"
[2020-12-21 15:36:22.562 22621/T22625] Found database interface 10.0.1.2 -> eth0
[2020-12-21 15:36:22.563 22621/T22625] SQL: Comparing 127.0.0.1 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 15:36:22.563 22621/T22625] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 15:36:22.564 22621/T22625] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 15:36:22.564 22621/T22625] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 15:36:22.564 22621/T22625] Found database interface 127.0.0.1 -> lo
[2020-12-21 15:36:22.565 22621/T22625] SQL: Comparing 10.0.40.3 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 15:36:22.565 22621/T22625] Found database hardware address 10.0.40.3 -> 02:01:60:d3:d2:bb
[2020-12-21 15:36:22.565 22621/T22625] Found database host name (same address) 10.0.40.3 -> wireguard-sony-xz-compact
[2020-12-21 15:36:22.566 22621/T22625] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.40.3"
[2020-12-21 15:36:22.566 22621/T22625] Found database interface 10.0.40.3 -> eth0
[2020-12-21 15:36:22.567 22621/T22625] SQL: Comparing 10.0.1.7 vs. 10.0.10.1/24 (subnet 255.255.255.0) - NO MATCH
[2020-12-21 15:36:22.567 22621/T22625] Found database hardware address 10.0.1.7 -> 00:a2:89:5b:1d:f0
[2020-12-21 15:36:22.567 22621/T22625] Found database host name (same address) 10.0.1.7 -> spa112
[2020-12-21 15:36:22.568 22621/T22625] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "10.0.1.7"
[2020-12-21 15:36:22.568 22621/T22625] Found database interface 10.0.1.7 -> eth0
[2020-12-21 15:36:22.569 22621/T22625] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.569 22621/T22625] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.569 22621/T22625] SQL: Comparing 10.0.10.64 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.570 22621/T22625] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.570 22621/T22625] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.570 22621/T22625] SQL: Comparing 10.0.10.190 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.571 22621/T22625] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.571 22621/T22625] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.571 22621/T22625] SQL: Comparing 10.0.10.136 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.572 22621/T22625] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.572 22621/T22625] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.573 22621/T22625] SQL: Comparing 10.0.10.6 vs. 10.0.10.1/24 (subnet 255.255.255.0) - !! MATCH !!
[2020-12-21 15:36:22.573 22621/T22625] Compiled 2 whitelist and 26 blacklist regex filters for 9 clients in 21.5 msec
[2020-12-21 15:36:22.573 22621/T22625] Resetting per-client DNS cache, size is 237
[2020-12-21 15:36:22.573 22621/T22625] Removed lock in FTL_reload_all_domainlists() (/root/project/src/datastructure.c:495)
[2020-12-21 15:36:22.573 22621/T29674] Obtained lock for process_request() (/root/project/src/api/request.c:52)
[2020-12-21 15:36:22.574 22621/T29674] domain_in_list("ping.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.574 22621/T29674] domain_in_list("connectivity-check.ubuntu.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.575 22621/T29674] domain_in_list("ping.ui.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.575 22621/T29674] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.575 22621/T29674] domain_in_list("www.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.575 22621/T29674] domain_in_list("clients4.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.576 22621/T29674] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.576 22621/T29674] domain_in_list("mail.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.576 22621/T29674] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.576 22621/T29674] domain_in_list("github.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.577 22621/T29674] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.577 22621/T29674] domain_in_list("chat-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.577 22621/T29674] domain_in_list("avatars1.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.577 22621/T29674] domain_in_list("sip.alice-voip.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.578 22621/T29674] domain_in_list("static.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.578 22621/T29674] domain_in_list("inbox.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.578 22621/T29674] domain_in_list("discovery-v6.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.578 22621/T29674] domain_in_list("avatars2.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.578 22621/T29674] domain_in_list("avatars3.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.579 22621/T29674] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.579 22621/T29674] domain_in_list("user-images.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.579 22621/T29674] domain_in_list("bolt.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.579 22621/T29674] domain_in_list("avatars0.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.579 22621/T29674] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.580 22621/T29674] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.580 22621/T29674] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.580 22621/T29674] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.580 22621/T29674] domain_in_list("www.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.580 22621/T29674] domain_in_list("clientservices.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.581 22621/T29674] domain_in_list("play.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.581 22621/T29674] domain_in_list("github-cloud.s3.amazonaws.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.583 22621/T29674] domain_in_list("safebrowsing.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.583 22621/T29674] domain_in_list("gateway.fe.apple-dns.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.583 22621/T29674] domain_in_list("calendar.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.584 22621/T29674] domain_in_list("play.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.584 22621/T29674] domain_in_list("alive.github.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.584 22621/T29674] domain_in_list("api.atlassian.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.584 22621/T29674] domain_in_list("client.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.584 22621/T29674] domain_in_list("d.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.585 22621/T29674] domain_in_list("sso.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.585 22621/T29674] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.585 22621/T29674] domain_in_list("content-autofill.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.585 22621/T29674] domain_in_list("data2.argosdata.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.586 22621/T29674] domain_in_list("google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.586 22621/T29674] domain_in_list("190.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.586 22621/T29674] domain_in_list("www.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.586 22621/T29674] domain_in_list("136.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.587 22621/T29674] domain_in_list("clients2.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.587 22621/T29674] domain_in_list("3.40.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.587 22621/T29674] domain_in_list("discourse-cdn.pi-hole.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.587 22621/T29674] domain_in_list("a504.w4.akamai.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.588 22621/T29674] domain_in_list("people-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.588 22621/T29674] domain_in_list("6.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.588 22621/T29674] domain_in_list("raw.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.589 22621/T29674] domain_in_list("pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.589 22621/T29674] domain_in_list("discovery.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.589 22621/T29674] domain_in_list("fonts.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.589 22621/T29674] domain_in_list("addons-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.590 22621/T29674] domain_in_list("signaler-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.590 22621/T29674] domain_in_list("mtalk.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.590 22621/T29674] domain_in_list("mobile-webview.gmail.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.591 22621/T29674] domain_in_list("ssl.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.591 22621/T29674] domain_in_list("data3.argosdata.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.592 22621/T29674] domain_in_list("trello.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.592 22621/T29674] domain_in_list("api.github.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.592 22621/T29674] domain_in_list("connectivitycheck.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.592 22621/T29674] domain_in_list("ci3.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.592 22621/T29674] domain_in_list("config.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.593 22621/T29674] domain_in_list("android.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.593 22621/T29674] domain_in_list("encrypted-tbn0.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.593 22621/T29674] domain_in_list("ftl.pi-hole.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.594 22621/T29674] domain_in_list("g.whatsapp.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.595 22621/T29674] domain_in_list("gateway.icloud.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.595 22621/T29674] domain_in_list("cloudaccess.svc.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.595 22621/T29674] domain_in_list("ci5.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.596 22621/T29674] domain_in_list("discovery-v4.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.596 22621/T29674] domain_in_list("fonts.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.596 22621/T29674] domain_in_list("github.githubassets.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.597 22621/T29674] domain_in_list("init.itunes.apple.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.597 22621/T29674] domain_in_list("api.ardmediathek.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.597 22621/T29674] domain_in_list("android.clients.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.597 22621/T29674] domain_in_list("ci6.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.597 22621/T29674] domain_in_list("e7671.e6.akamaiedge.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.598 22621/T29674] domain_in_list("api.dropboxapi.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.598 22621/T29674] domain_in_list("ci4.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.598 22621/T29674] domain_in_list("dl.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.598 22621/T29674] domain_in_list("img.ardmediathek.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.598 22621/T29674] domain_in_list("apis.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.599 22621/T29674] domain_in_list("0.client-channel.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.599 22621/T29674] domain_in_list("clients6.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.600 22621/T29674] domain_in_list("www.ndr.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.600 22621/T29674] domain_in_list("clients3.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.601 22621/T29674] domain_in_list("update.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.601 22621/T29674] domain_in_list("repo.zotero.org", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.602 22621/T29674] domain_in_list("www.wikiwand.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.602 22621/T29674] domain_in_list("camo.githubusercontent.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.602 22621/T29674] Removed lock in process_request() (/root/project/src/api/request.c:54)
[2020-12-21 15:36:22.603 22621/T29674] Waiting for lock in process_request() (/root/project/src/api/request.c:52)
[2020-12-21 15:36:22.603 22621/T29674] Obtained lock for process_request() (/root/project/src/api/request.c:52)
[2020-12-21 15:36:22.603 22621/T29674] domain_in_list("mobilenetworkscoring-pa.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.604 22621/T29674] domain_in_list("connectivity-check.ubuntu.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.604 22621/T29674] domain_in_list("discovery-v6.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.604 22621/T29674] domain_in_list("logs1242.xiti.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.604 22621/T29674] domain_in_list("ping.ui.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.605 22621/T29674] domain_in_list("telemetry.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.605 22621/T29674] domain_in_list("discovery.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.605 22621/T29674] domain_in_list("beacons4.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.605 22621/T29674] domain_in_list("beacons.gcp.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.605 22621/T29674] domain_in_list("beacons.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.606 22621/T29674] domain_in_list("beacons5.gvt3.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.606 22621/T29674] domain_in_list("beacons5.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.606 22621/T29674] domain_in_list("beacons2.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.606 22621/T29674] domain_in_list("beacons3.gvt2.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.606 22621/T29674] domain_in_list("dl-debug.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.607 22621/T29674] domain_in_list("static.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.607 22621/T29674] domain_in_list("fonts.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.607 22621/T29674] domain_in_list("bolt.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.607 22621/T29674] domain_in_list("client.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.608 22621/T29674] domain_in_list("id.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.608 22621/T29674] domain_in_list("d.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.608 22621/T29674] domain_in_list("app-measurement.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.608 22621/T29674] domain_in_list("in.appcenter.ms", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.609 22621/T29674] domain_in_list("www.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.609 22621/T29674] domain_in_list("discovery-v4.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.609 22621/T29674] domain_in_list("googleads.g.doubleclick.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.610 22621/T29674] domain_in_list("script.ioam.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.610 22621/T29674] domain_in_list("www.googleadservices.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.610 22621/T29674] domain_in_list("de.ioam.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.611 22621/T29674] domain_in_list("www.google-analytics.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.611 22621/T29674] domain_in_list("raw.githubusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.611 22621/T29674] domain_in_list("api.dropboxapi.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.611 22621/T29674] domain_in_list("github.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.612 22621/T29674] domain_in_list("ftl.pi-hole.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.612 22621/T29674] domain_in_list("firebase-settings.crashlytics.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.612 22621/T29674] domain_in_list("app.adjust.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.612 22621/T29674] domain_in_list("app.adjust.net.in", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.612 22621/T29674] domain_in_list("app.adjust.world", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.613 22621/T29674] domain_in_list("cdn.optimizely.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.613 22621/T29674] domain_in_list("fw-update.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.613 22621/T29674] domain_in_list("firebaselogging-pa.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.613 22621/T29674] domain_in_list("trace.svc.ui.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.614 22621/T29674] domain_in_list("www.googletagmanager.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.614 22621/T29674] domain_in_list("redirector.gvt1.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.614 22621/T29674] domain_in_list("collector.githubapp.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.614 22621/T29674] domain_in_list("cdn-gl.imrworldwide.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.615 22621/T29674] domain_in_list("deb.nodesource.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.615 22621/T29674] domain_in_list("mirror.bauhuette.fh-aachen.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.615 22621/T29674] domain_in_list("ppa.launchpad.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.616 22621/T29674] domain_in_list("dl.bintray.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.616 22621/T29674] domain_in_list("dl.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.616 22621/T29674] domain_in_list("1.ubuntu.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.616 22621/T29674] domain_in_list("2.ubuntu.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.616 22621/T29674] domain_in_list("dl.flathub.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.617 22621/T29674] domain_in_list("updates.signal.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.617 22621/T29674] domain_in_list("deb.etcher.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.617 22621/T29674] domain_in_list("apt.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.617 22621/T29674] domain_in_list("download.virtualbox.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.618 22621/T29674] domain_in_list("security.ubuntu.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.618 22621/T29674] domain_in_list("repository.spotify.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.618 22621/T29674] domain_in_list("artfiles.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.618 22621/T29674] domain_in_list("www.scootersoftware.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.619 22621/T29674] domain_in_list("archive.canonical.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.619 22621/T29674] domain_in_list("adservice.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.619 22621/T29674] domain_in_list("app-prod-ws.warnwetter.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.619 22621/T29674] domain_in_list("cstat.apple.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.619 22621/T29674] domain_in_list("0.ubuntu.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.620 22621/T29674] domain_in_list("3.ubuntu.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.620 22621/T29674] domain_in_list("telemetry.api.swiftkey.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.620 22621/T29674] domain_in_list("api.github.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.620 22621/T29674] domain_in_list("www.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.621 22621/T29674] domain_in_list("netmon-control.dropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.621 22621/T29674] domain_in_list("config.ioam.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.621 22621/T29674] domain_in_list("pagead2.googlesyndication.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.621 22621/T29674] domain_in_list("ntp.ubuntu.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.622 22621/T29674] domain_in_list("logs1413.xiti.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.622 22621/T29674] domain_in_list("cdn.stroeerdigitalgroup.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.622 22621/T29674] domain_in_list("cpx.golem.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.622 22621/T29674] domain_in_list("cpxl.golem.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.623 22621/T29674] domain_in_list("secure-eu.imrworldwide.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.623 22621/T29674] domain_in_list("www.googletagservices.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.623 22621/T29674] domain_in_list("use.typekit.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.623 22621/T29674] domain_in_list("cdn.mateti.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.624 22621/T29674] domain_in_list("dmp.theadex.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.624 22621/T29674] domain_in_list("dealer.spotify.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.624 22621/T29674] domain_in_list("stats.g.doubleclick.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.625 22621/T29674] domain_in_list("trck.spoteffects.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.625 22621/T29674] domain_in_list("widgets.trustedshops.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.625 22621/T29674] domain_in_list("serv-3.joshua.wales", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.626 22621/T29674] domain_in_list("relays.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.626 22621/T29674] domain_in_list("stun.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.626 22621/T29674] domain_in_list("data.syncthing.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.626 22621/T29674] domain_in_list("securepubads.g.doubleclick.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.627 22621/T29674] domain_in_list("assets.adobedtm.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.627 22621/T29674] domain_in_list("static.cleverpush.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.627 22621/T29674] domain_in_list("cse.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.627 22621/T29674] domain_in_list("fls-eu.amazon.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.628 22621/T29674] domain_in_list("scripts.zeit.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.628 22621/T29674] domain_in_list("player.h-cdn.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.628 22621/T29674] domain_in_list("ups.xplosion.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.629 22621/T29674] domain_in_list("dpm.demdex.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.629 22621/T29674] domain_in_list("iqdigital.demdex.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.629 22621/T29674] domain_in_list("social.tinyview.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.630 22621/T29674] domain_in_list("hgc-cf-cache-1.svonm.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.630 22621/T29674] domain_in_list("imasdk.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.630 22621/T29674] domain_in_list("sentry.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.630 22621/T29674] domain_in_list("cdn.podigee.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.631 22621/T29674] domain_in_list("ssl-golem.met.vgwort.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.631 22621/T29674] domain_in_list("cdn.taboola.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.631 22621/T29674] domain_in_list("registry.npmjs.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.631 22621/T29674] domain_in_list("apt.armbian.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.631 22621/T29674] domain_in_list("debian.map.fastlydns.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.632 22621/T29674] domain_in_list("httpredir.debian.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.632 22621/T29674] domain_in_list("armbian.systemonachip.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.632 22621/T29674] domain_in_list("static.criteo.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.632 22621/T29674] domain_in_list("as-sec.casalemedia.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.633 22621/T29674] domain_in_list("bidder.criteo.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.633 22621/T29674] domain_in_list("fastlane.rubiconproject.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.633 22621/T29674] domain_in_list("ib.adnxs.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.633 22621/T29674] domain_in_list("ad.yieldlab.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.633 22621/T29674] domain_in_list("hbopenbid.pubmatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.634 22621/T29674] domain_in_list("orbidder.otto.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.634 22621/T29674] domain_in_list("logx.optimizely.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.634 22621/T29674] domain_in_list("s1.adform.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.635 22621/T29674] domain_in_list("dynamic.criteo.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.635 22621/T29674] domain_in_list("workgroup", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.635 22621/T29674] domain_in_list("de-config.sensic.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.636 22621/T29674] domain_in_list("www.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.636 22621/T29674] domain_in_list("www.ui.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.636 22621/T29674] domain_in_list("syndication.twitter.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.637 22621/T29674] domain_in_list("graph.facebook.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.637 22621/T29674] domain_in_list("pp.lp4.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.637 22621/T29674] domain_in_list("cc.zeit.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.637 22621/T29674] domain_in_list("s1.wp.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.637 22621/T29674] domain_in_list("cdn.cookielaw.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.638 22621/T29674] domain_in_list("pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.638 22621/T29674] domain_in_list("sp-dir.uwn.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.638 22621/T29674] domain_in_list("data.hdinternet.cz", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.639 22621/T29674] domain_in_list("speedcheck.larsvantriet.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.639 22621/T29674] domain_in_list("speedtest-ubnt.pilsfree.cz", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.639 22621/T29674] domain_in_list("secure-eu.nmrodam.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.639 22621/T29674] domain_in_list("cdn-gl.nmrodam.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.640 22621/T29674] domain_in_list("packages.linuxmint.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.640 22621/T29674] domain_in_list("omv", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.640 22621/T29674] domain_in_list("consent.cookiebot.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.641 22621/T29674] domain_in_list("ns1.pi-hole.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.641 22621/T29674] domain_in_list("www.github.developerdan.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.641 22621/T29674] domain_in_list("openmediavault.github.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.642 22621/T29674] domain_in_list("www.lesbonscomptes.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.642 22621/T29674] domain_in_list("secure.quantserve.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.642 22621/T29674] domain_in_list("sb.scorecardresearch.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.642 22621/T29674] domain_in_list("175.159.227.13.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.643 22621/T29674] domain_in_list("connectivitycheck.getdropbox.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.643 22621/T29674] domain_in_list("flurry.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.643 22621/T29674] domain_in_list("warranty.svc.ui.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.643 22621/T29674] domain_in_list("elite-device.svc.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.644 22621/T29674] domain_in_list("dl.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.644 22621/T29674] domain_in_list("s7.addthis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.644 22621/T29674] domain_in_list("ws-na.amazon-adsystem.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("ir-na.amazon-adsystem.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("static.doubleclick.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("cdn.inspectlet.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("0.ubnt.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("1.ubnt.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("2.ubnt.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.645 22621/T29674] domain_in_list("3.ubnt.pool.ntp.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.646 22621/T29674] domain_in_list("a1ewuiz2p7wdvw-ats.iot.us-west-2.amazonaws.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.646 22621/T29674] domain_in_list("settings.crashlytics.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.646 22621/T29674] domain_in_list("tls.telemetry.swe.quicinc.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.647 22621/T29674] domain_in_list("history.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.647 22621/T29674] domain_in_list("spclient.wg.spotify.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.647 22621/T29674] domain_in_list("dntcl.qualaroo.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.647 22621/T29674] domain_in_list("heads4-ak-spotify-com.akamaized.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.648 22621/T29674] domain_in_list("sb-ssl.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.648 22621/T29674] domain_in_list("fw-download.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.648 22621/T29674] domain_in_list("cdn-a.yieldlove.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.648 22621/T29674] domain_in_list("s400.mxcdn.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.649 22621/T29674] domain_in_list("s385.mxcdn.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.649 22621/T29674] domain_in_list("ads.golem.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.649 22621/T29674] domain_in_list("tracking.m6r.eu", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("pdw-usr.userreport.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("js.adscale.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("bbcdn-bbnaut.ibillboard.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("de-gmtdmp.mookie1.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("hl.upscore.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.650 22621/T29674] domain_in_list("1.f.ix.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.651 22621/T29674] domain_in_list("prophet.heise.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.651 22621/T29674] domain_in_list("files.upscore.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.651 22621/T29674] domain_in_list("api.cleverpush.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.651 22621/T29674] domain_in_list("geolocation.onetrust.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.652 22621/T29674] domain_in_list("ping.ubnt.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.652 22621/T29674] domain_in_list("151.62.9.65.in-addr.arpa", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.652 22621/T29674] domain_in_list("1.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.652 22621/T29674] domain_in_list("64.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.652 22621/T29674] domain_in_list("2.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.653 22621/T29674] domain_in_list("7.1.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.653 22621/T29674] domain_in_list("3.40.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.653 22621/T29674] domain_in_list("inbox.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.653 22621/T29674] domain_in_list("sip.alice-voip.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.654 22621/T29674] domain_in_list("time.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.654 22621/T29674] domain_in_list("212.97.204.143.in-addr.arpa", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.654 22621/T29674] domain_in_list("g.whatsapp.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.655 22621/T29674] domain_in_list("play.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.655 22621/T29674] domain_in_list("cl2.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.656 22621/T29674] domain_in_list("e14868.dsce9.akamaiedge.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.656 22621/T29674] domain_in_list("connectivitycheck.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.656 22621/T29674] domain_in_list("www.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.656 22621/T29674] domain_in_list("mtalk.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.657 22621/T29674] domain_in_list("peoplestack-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.657 22621/T29674] domain_in_list("clients3.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.657 22621/T29674] domain_in_list("epdg.epc.mnc007.mcc262.pub.3gppnetwork.org", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.658 22621/T29674] domain_in_list("mobile-webview.gmail.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.658 22621/T29674] domain_in_list("ci6.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.658 22621/T29674] domain_in_list("ci5.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.658 22621/T29674] domain_in_list("ci3.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.658 22621/T29674] domain_in_list("ci4.googleusercontent.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.659 22621/T29674] domain_in_list("oauthaccountmanager.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.659 22621/T29674] domain_in_list("init.itunes.apple.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.659 22621/T29674] domain_in_list("e673.dsce9.akamaiedge.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.660 22621/T29674] domain_in_list("testflight.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.660 22621/T29674] domain_in_list("e2490.dscf.akamaiedge.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.660 22621/T29674] domain_in_list("clients4.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.661 22621/T29674] domain_in_list("clients.l.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.661 22621/T29674] domain_in_list("xp.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.661 22621/T29674] domain_in_list("e17437.dscb.akamaiedge.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.661 22621/T29674] domain_in_list("190.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.662 22621/T29674] domain_in_list("www.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.662 22621/T29674] domain_in_list("safebrowsing.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.663 22621/T29674] domain_in_list("update.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.663 22621/T29674] domain_in_list("image.ard.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.663 22621/T29674] domain_in_list("data3.argosdata.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.663 22621/T29674] domain_in_list("dasersteuni-vh.akamaihd.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.663 22621/T29674] domain_in_list("a504.w4.akamai.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.664 22621/T29674] domain_in_list("image-ard-de-cddc.at-o.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.664 22621/T29674] domain_in_list("census.eu-central-1.nielsencollections.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.664 22621/T29674] domain_in_list("api.ardmediathek.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.665 22621/T29674] domain_in_list("e17310.dsce6.akamaiedge.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.665 22621/T29674] domain_in_list("img.ardmediathek.de", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.665 22621/T29674] domain_in_list("e7671.e6.akamaiedge.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.665 22621/T29674] domain_in_list("clientservices.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.666 22621/T29674] domain_in_list("www.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.666 22621/T29674] domain_in_list("apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.666 22621/T29674] domain_in_list("p52-keyvalueservice.icloud.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.667 22621/T29674] domain_in_list("keyvalueservice.icloud.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.667 22621/T29674] domain_in_list("keyvalueservice.fe.apple-dns.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.668 22621/T29674] domain_in_list("keyvalueservice-g.fe.apple-dns.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.668 22621/T29674] domain_in_list("www.ardmediathek.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.668 22621/T29674] domain_in_list("pancake.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.669 22621/T29674] domain_in_list("pancake.g.aaplimg.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.669 22621/T29674] domain_in_list("classic.ardmediathek.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.669 22621/T29674] domain_in_list("d2926jmvsihu4k.cloudfront.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.670 22621/T29674] domain_in_list("mobile-gtalk.l.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.670 22621/T29674] domain_in_list("deviceintegritytokens-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.670 22621/T29674] domain_in_list("android.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.671 22621/T29674] domain_in_list("gateway.icloud.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.671 22621/T29674] domain_in_list("gateway.fe.apple-dns.net", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.671 22621/T29674] domain_in_list("time-osx.g.aaplimg.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.672 22621/T29674] domain_in_list("test1", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.672 22621/T29674] domain_in_list("cl5.apple.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.672 22621/T29674] domain_in_list("www.facebook.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.673 22621/T29674] domain_in_list("m.facebook.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.673 22621/T29674] domain_in_list("static.xx.fbcdn.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.673 22621/T29674] domain_in_list("facebook.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.674 22621/T22625] Waiting for lock in FTL_reload_all_domainlists() (/root/project/src/datastructure.c:473)
[2020-12-21 15:36:22.674 22621/T29674] domain_in_list("content-autofill.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.674 22621/T29674] domain_in_list("data2.argosdata.io", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.674 22621/T29674] domain_in_list("oeffi.schildbach.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.675 22621/T29674] domain_in_list("mobile.defas-fgi.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.675 22621/T29674] domain_in_list("153.99.9.65.in-addr.arpa", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.676 22621/T29674] domain_in_list("firebaseinstallations.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.676 22621/T29674] domain_in_list("photosdata-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.676 22621/T29674] domain_in_list("people-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.677 22621/T29674] domain_in_list("local", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.677 22621/T29674] domain_in_list("accounts.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.677 22621/T29674] domain_in_list("calendar.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.678 22621/T29674] domain_in_list("repo.zotero.org", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.678 22621/T29674] domain_in_list("www.wikiwand.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.678 22621/T29674] domain_in_list("mail.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.679 22621/T29674] domain_in_list("ssl.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.679 22621/T29674] domain_in_list("lh3.googleusercontent.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.679 22621/T29674] domain_in_list("www.https-rulesets.org", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.680 22621/T29674] domain_in_list("zotero-repo.s3.amazonaws.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.680 22621/T29674] domain_in_list("web.whatsapp.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.680 22621/T29674] domain_in_list("fonts.googleapis.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.681 22621/T29674] domain_in_list("aa.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.681 22621/T29674] domain_in_list("khmdcaxxuwhdmeh", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.681 22621/T29674] domain_in_list("cyairzidof", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.682 22621/T29674] domain_in_list("wxkywlrpphldlfn", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.682 22621/T29674] domain_in_list("calendar-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.683 22621/T29674] domain_in_list("people-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.683 22621/T29674] domain_in_list("play.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.683 22621/T29674] domain_in_list("apis.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.683 22621/T29674] domain_in_list("addons-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.683 22621/T29674] domain_in_list("clients2.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.684 22621/T29674] domain_in_list("kufwmzwzrqldw", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.684 22621/T29674] domain_in_list("hlhgqpj", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.684 22621/T29674] domain_in_list("gmyyphn", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.685 22621/T29674] domain_in_list("0.client-channel.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.685 22621/T29674] domain_in_list("hangouts.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.686 22621/T29674] domain_in_list("contacts.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.686 22621/T29674] domain_in_list("ogs.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.686 22621/T29674] domain_in_list("chat-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.687 22621/T29674] domain_in_list("clients6.google.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.687 22621/T29674] domain_in_list("pps.whatsapp.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.687 22621/T29674] domain_in_list("lh6.googleusercontent.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.688 22621/T29674] domain_in_list("lh5.googleusercontent.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.688 22621/T29674] domain_in_list("tigger-citadel.touchtype-fluency.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.688 22621/T29674] domain_in_list("bibo.api.swiftkey.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.689 22621/T29674] domain_in_list("android.clients.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.689 22621/T29674] domain_in_list("clients2.googleusercontent.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.689 22621/T29674] domain_in_list("signaler-pa.clients6.google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.690 22621/T29674] domain_in_list("media-ber1-1.cdn.whatsapp.net", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.690 22621/T29674] domain_in_list("google.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.690 22621/T29674] domain_in_list("ptllmwipeapxlf", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.691 22621/T29674] domain_in_list("gtwjpynogi", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.691 22621/T29674] domain_in_list("vkmbbuk", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.692 22621/T29674] domain_in_list("www.kaffee-netz.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.692 22621/T29674] domain_in_list("xoimuhhmc", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.692 22621/T29674] domain_in_list("vyxbgzzcrkrnfao", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.693 22621/T29674] domain_in_list("xuztrtuzrwtxb", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.693 22621/T29674] domain_in_list("passwordsleakcheck-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.693 22621/T29674] domain_in_list("firebaseperusertopics-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.694 22621/T29674] domain_in_list("gitcdn.xyz", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.694 22621/T29674] domain_in_list("chromesyncpasswords-pa.googleapis.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.695 22621/T29674] domain_in_list("easylist.to", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.695 22621/T29674] domain_in_list("0.0.0.0.in-addr.arpa", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.695 22621/T29674] domain_in_list("6.10.0.10.in-addr.arpa", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.695 22621/T29674] domain_in_list("encrypted-tbn0.gstatic.com", 0xffffa000a0f8, auditlist): 1
[2020-12-21 15:36:22.696 22621/T29674] domain_in_list("xn--hhner-kva", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.696 22621/T29674] domain_in_list("encrypted-tbn2.gstatic.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.696 22621/T29674] domain_in_list("encrypted-tbn3.gstatic.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.697 22621/T29674] domain_in_list("encrypted-tbn1.gstatic.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.697 22621/T29674] domain_in_list("www.planet-wissen.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.698 22621/T29674] domain_in_list("bilder.t-online.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.698 22621/T29674] domain_in_list("www.huehnerhaus-mobil.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.698 22621/T29674] domain_in_list("weidezaun-bau.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.699 22621/T29674] domain_in_list("www.welt.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.699 22621/T29674] domain_in_list("img.welt.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.699 22621/T29674] domain_in_list("www.deutschlandfunkkultur.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.700 22621/T29674] domain_in_list("files.albert-schweitzer-stiftung.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.700 22621/T29674] domain_in_list("www.huehner-shop.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.701 22621/T29674] domain_in_list("www.jugendtierschutz.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.701 22621/T29674] domain_in_list("www.sueddeutsche.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.701 22621/T29674] domain_in_list("1.bp.blogspot.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.702 22621/T29674] domain_in_list("cdn.mdr.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.702 22621/T29674] domain_in_list("www.br.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.702 22621/T29674] domain_in_list("image.jimcdn.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.703 22621/T29674] domain_in_list("www.ursulinen-gymnasium.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.703 22621/T29674] domain_in_list("www.callwey.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.704 22621/T29674] domain_in_list("www.mamahoch2.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.704 22621/T29674] domain_in_list("raibamsp.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.704 22621/T29674] domain_in_list("provieh.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.705 22621/T29674] domain_in_list("tiny-houses.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.705 22621/T29674] domain_in_list("www.swr.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.706 22621/T29674] domain_in_list("wirgartenkinder.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.706 22621/T29674] domain_in_list("www.lto.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.706 22621/T29674] domain_in_list("www.huehner-haltung.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.707 22621/T29674] domain_in_list("i.ytimg.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.707 22621/T29674] domain_in_list("data4.argosdata.io", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.707 22621/T29674] domain_in_list("www.huehner-hof.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.708 22621/T29674] domain_in_list("www.kunst-fuer-alle.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.708 22621/T29674] domain_in_list("www.ln-online.de", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.709 22621/T29674] domain_in_list("upload.wikimedia.org", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.709 22621/T29674] domain_in_list("cdn.pixabay.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.709 22621/T29674] domain_in_list("_http._tcp.archive.canonical.com", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.710 22621/T29674] domain_in_list("_http._tcp.artfiles.org", 0xffffa000a0f8, auditlist): 0
[2020-12-21 15:36:22.710 22621/T29674] domain_in_list("_http._tcp.

(Log really ended there)

@GregoriusT
Copy link

The thing ended there, considering the 1.5 minute gap inbetween the thing that i pasted and Pi-Hole being started.

[2020-12-21 10:44:00.230 926/T930] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:44:00.230 926/T930]          ---> OK
[2020-12-21 10:44:00.230 926/T930] dbquery: "SELECT MAX(ID) FROM queries"
[2020-12-21 10:44:00.231 926/T930]          ---> Result 70144 (long long int)
[2020-12-21 10:44:00.232 926/T930] dbquery: "END TRANSACTION"
[2020-12-21 10:44:00.273 926/T930]          ---> OK
[2020-12-21 10:44:00.274 926/T930] dbquery: "INSERT OR REPLACE INTO ftl (id, value) VALUES ( 1, 1608543810 );"
[2020-12-21 10:44:00.288 926/T930]          ---> OK
[2020-12-21 10:44:00.288 926/T930] dbquery: "UPDATE counters SET value = value + 30 WHERE id = 0;"
[2020-12-21 10:44:00.299 926/T930]          ---> OK
[2020-12-21 10:44:00.299 926/T930] dbquery: "UPDATE counters SET value = value + 2 WHERE id = 1;"
[2020-12-21 10:44:00.314 926/T930]          ---> OK
[2020-12-21 10:44:00.314 926/T930] Notice: Queries stored in long-term database: 30 (took 84.1 ms, last SQLite ID 70174)
[2020-12-21 10:44:00.315 926/T930] dbquery: "BEGIN TRANSACTION IMMEDIATE"
[2020-12-21 10:44:00.315 926/T930]          ---> OK
[2020-12-21 10:44:00.316 926/T930] dbquery: "DELETE FROM network_addresses WHERE lastSeen < 1577007840;"
[2020-12-21 10:44:00.316 926/T930]          ---> OK
[2020-12-21 10:44:00.316 926/T930] dbquery: "UPDATE network_addresses SET name = NULL WHERE nameUpdated < 1577007840;"
[2020-12-21 10:44:00.316 926/T930]          ---> OK
[2020-12-21 10:44:00.322 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:44:00.323 926/T930]          ---> Result 2 (int)
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608543810) WHERE id = 2;"
[2020-12-21 10:44:00.323 926/T930]          ---> OK
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET numQueries = numQueries + 30 WHERE id = 2;"
[2020-12-21 10:44:00.323 926/T930]          ---> OK
[2020-12-21 10:44:00.323 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:44:00.324 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "192.168.2.9"
[2020-12-21 10:44:00.324 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '84:9c:a6:09:9e:6e' COLLATE NOCASE;"
[2020-12-21 10:44:00.324 926/T930]          ---> Result 1 (int)
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608507018) WHERE id = 1;"
[2020-12-21 10:44:00.324 926/T930]          ---> OK
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "easy.box" and 2 = "192.168.2.1"
[2020-12-21 10:44:00.324 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 1
[2020-12-21 10:44:00.324 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 1 and ?2 = "192.168.2.1"
[2020-12-21 10:44:00.325 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:01:2e:83:6e:74' COLLATE NOCASE;"
[2020-12-21 10:44:00.325 926/T930]          ---> Result 2 (int)
[2020-12-21 10:44:00.325 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 2
[2020-12-21 10:44:00.325 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 2 and ?2 = "fe80::bdc:9d5a:3746:e825"
[2020-12-21 10:44:00.325 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.325 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.325 926/T930] dbquery: "UPDATE network SET lastQuery = MAX(lastQuery, 1608542100) WHERE id = 5;"
[2020-12-21 10:44:00.325 926/T930]          ---> OK
[2020-12-21 10:44:00.326 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:44:00.326 926/T930] dbquery: "UPDATE network_addresses SET name = ?1, nameUpdated = (cast(strftime('%s', 'now') as int)) WHERE ip = ?2" with arguments 1 = "localhost" and 2 = "127.0.0.1"
[2020-12-21 10:44:00.326 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.334 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.334 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.334 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "127.0.0.1"
[2020-12-21 10:44:00.335 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.335 926M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 10:44:00.335 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = '00:00:00:00:00:00' COLLATE NOCASE;"
[2020-12-21 10:44:00.335 926/T930]          ---> Result 5 (int)
[2020-12-21 10:44:00.335 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 5 and ?2 = "::1"
[2020-12-21 10:44:00.335 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "lo" and ?2 = 5
[2020-12-21 10:44:00.335 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:44:00.335 926/T930]          ---> Result 6 (int)
[2020-12-21 10:44:00.358 926/T930] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:44:00.358 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "192.168.2.153"
[2020-12-21 10:44:00.358 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:44:00.358 926/T930] dbquery: "SELECT id FROM network WHERE hwaddr = 'dc:a6:32:22:59:79' COLLATE NOCASE;"
[2020-12-21 10:44:00.358 926/T930]          ---> Result 6 (int)
[2020-12-21 10:44:00.378 926/T930] DEBUG: MAC Vendor lookup for dc:a6:32:22:59:79 returned "Raspberry Pi Trading Ltd"
[2020-12-21 10:44:00.378 926/T930] dbquery: "INSERT OR REPLACE INTO network_addresses (network_id,ip,lastSeen,name,nameUpdated) VALUES (?1,?2,(cast(strftime('%s', 'now') as int)),(SELECT name FROM network_addresses WHERE ip = ?2),(SELECT nameUpdated FROM network_addresses WHERE ip = ?2));" with arguments ?1 = 6 and ?2 = "fe80::5576:79e3:690c:d14e"
[2020-12-21 10:44:00.378 926/T930] dbquery: "UPDATE network SET interface = ?1 WHERE id = ?2" with arguments ?1 = "eth0" and ?2 = 6
[2020-12-21 10:45:32.093 2745M] Using log file /var/log/pihole-FTL.log
[2020-12-21 10:45:32.093 2745M] ########## FTL started! ##########
[2020-12-21 10:45:32.093 2745M] FTL branch: master
[2020-12-21 10:45:32.093 2745M] FTL version: v5.3.2
[2020-12-21 10:45:32.093 2745M] FTL commit: 0790cf7
[2020-12-21 10:45:32.093 2745M] FTL date: 2020-12-02 21:28:39 +0000
[2020-12-21 10:45:32.093 2745M] FTL user: pihole
[2020-12-21 10:45:32.094 2745M] Compiled for armv7hf (compiled on CI) using arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 10:45:32.094 2745M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-12-21 10:45:32.094 2745M]    SOCKET_LISTENING: only local
[2020-12-21 10:45:32.094 2745M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-12-21 10:45:32.094 2745M]    MAXDBDAYS: max age for stored queries is 365 days
[2020-12-21 10:45:32.094 2745M]    RESOLVE_IPV6: Resolve IPv6 addresses
[2020-12-21 10:45:32.094 2745M]    RESOLVE_IPV4: Resolve IPv4 addresses
[2020-12-21 10:45:32.094 2745M]    DBINTERVAL: saving to DB file every minute
[2020-12-21 10:45:32.094 2745M]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-12-21 10:45:32.094 2745M]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-12-21 10:45:32.094 2745M]    PRIVACYLEVEL: Set to 0
[2020-12-21 10:45:32.094 2745M]    IGNORE_LOCALHOST: Show queries from localhost
[2020-12-21 10:45:32.094 2745M]    BLOCKINGMODE: Null IPs for blocked domains
[2020-12-21 10:45:32.094 2745M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-12-21 10:45:32.094 2745M]    DBIMPORT: Importing history from database
[2020-12-21 10:45:32.094 2745M]    PIDFILE: Using /run/pihole-FTL.pid
[2020-12-21 10:45:32.094 2745M]    PORTFILE: Using /run/pihole-FTL.port
[2020-12-21 10:45:32.095 2745M]    SOCKETFILE: Using /run/pihole/FTL.sock
[2020-12-21 10:45:32.095 2745M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-12-21 10:45:32.095 2745M]    MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-12-21 10:45:32.095 2745M]    GRAVITYDB: Using /etc/pihole/gravity.db
[2020-12-21 10:45:32.095 2745M]    PARSE_ARP_CACHE: Active
[2020-12-21 10:45:32.095 2745M]    CNAME_DEEP_INSPECT: Active
[2020-12-21 10:45:32.095 2745M]    DELAY_STARTUP: No delay requested.
[2020-12-21 10:45:32.095 2745M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-21 10:45:32.095 2745M]    NICE: Set process niceness to -10 (default)
[2020-12-21 10:45:32.095 2745M]    MAXNETAGE: Removing IP addresses and host names from network table after 365 days
[2020-12-21 10:45:32.095 2745M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2020-12-21 10:45:32.095 2745M]    EDNS0_ECS: Overwrite client from ECS information
[2020-12-21 10:45:32.095 2745M]    REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2020-12-21 10:45:32.095 2745M] *****************************
[2020-12-21 10:45:32.095 2745M] * Debugging enabled         *
[2020-12-21 10:45:32.096 2745M] * DEBUG_DATABASE        YES *
[2020-12-21 10:45:32.096 2745M] * DEBUG_NETWORKING      NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_LOCKS           NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_QUERIES         NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_FLAGS           NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_SHMEM           NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_GC              NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_ARP             NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_REGEX           NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_API             NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_OVERTIME        NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_EXTBLOCKED      NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_CAPS            NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_DNSMASQ_LINES   NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_VECTORS         NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_RESOLVER        NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_EDNS0           NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_CLIENTS         NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_ALIASCLIENTS    NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_EVENTS          NO  *
[2020-12-21 10:45:32.096 2745M] * DEBUG_HELPER          NO  *
[2020-12-21 10:45:32.096 2745M] *****************************
[2020-12-21 10:45:32.096 2745M] Finished config file parsing
[2020-12-21 10:45:32.097 2745M] Creating mutex
[2020-12-21 10:45:32.098 2745M] dbquery: "SELECT VALUE FROM ftl WHERE id = 0;"
[2020-12-21 10:45:32.099 2745M]          ---> Result 9 (int)
[2020-12-21 10:45:32.099 2745M] Database version is 9
[2020-12-21 10:45:32.099 2745M] Imported 0 alias-clients
[2020-12-21 10:45:32.099 2745M] Database successfully initialized
[2020-12-21 10:45:32.100 2745M] DB_read_queries(): "SELECT * FROM queries WHERE timestamp >= ?" with ? = 1608457532
[2020-12-21 10:45:32.100 2745M] New upstream server: 84.200.70.40:53 (0/1024)
[2020-12-21 10:45:32.100 2745M] New upstream server: 84.200.69.80:53 (1/1024)
[2020-12-21 10:45:32.106 2745M] Resizing "FTL-strings" from 4096 to (8192 * 1) == 8192 (/dev/shm: 5.7MB used, 2.0GB total)
[2020-12-21 10:45:32.111 2745M] Imported 1695 queries from the long-term database
[2020-12-21 10:45:32.111 2745M]  -> Total DNS queries: 1695
[2020-12-21 10:45:32.111 2745M]  -> Cached DNS queries: 173
[2020-12-21 10:45:32.111 2745M]  -> Forwarded DNS queries: 1397
[2020-12-21 10:45:32.111 2745M]  -> Blocked DNS queries: 110
[2020-12-21 10:45:32.112 2745M]  -> Unknown DNS queries: 0
[2020-12-21 10:45:32.112 2745M]  -> Unique domains: 232
[2020-12-21 10:45:32.112 2745M]  -> Unique clients: 3
[2020-12-21 10:45:32.112 2745M]  -> Known forward destinations: 2
[2020-12-21 10:45:32.112 2745M] Successfully accessed setupVars.conf
[2020-12-21 10:45:32.112 2745M] DEBUG: argv[0] = ""
[2020-12-21 10:45:32.112 2745M] DEBUG: argv[1] = "-k"
[2020-12-21 10:45:32.123 2747M] PID of FTL process: 2747
[2020-12-21 10:45:32.124 2747/T2748] Listening on port 4711 for incoming IPv4 telnet connections
[2020-12-21 10:45:32.124 2747/T2750] Listening on Unix socket
[2020-12-21 10:45:32.124 2747M] INFO: FTL is running as user pihole (UID 999)
[2020-12-21 10:45:32.125 2747/T2749] Listening on port 4711 for incoming IPv6 telnet connections
[2020-12-21 10:45:32.126 2747M] Reloading DNS cache
[2020-12-21 10:45:32.126 2747M] Blocking status is enabled
[2020-12-21 10:45:32.127 2747M] *****************************
[2020-12-21 10:45:32.127 2747M] * Debugging enabled         *
[2020-12-21 10:45:32.127 2747M] * DEBUG_DATABASE        YES *
[2020-12-21 10:45:32.127 2747M] * DEBUG_NETWORKING      NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_LOCKS           NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_QUERIES         NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_FLAGS           NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_SHMEM           NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_GC              NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_ARP             NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_REGEX           NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_API             NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_OVERTIME        NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_EXTBLOCKED      NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_CAPS            NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_DNSMASQ_LINES   NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_VECTORS         NO  *
[2020-12-21 10:45:32.127 2747M] * DEBUG_RESOLVER        NO  *
[2020-12-21 10:45:32.128 2747M] * DEBUG_EDNS0           NO  *
[2020-12-21 10:45:32.128 2747M] * DEBUG_CLIENTS         NO  *
[2020-12-21 10:45:32.128 2747M] * DEBUG_ALIASCLIENTS    NO  *
[2020-12-21 10:45:32.128 2747M] * DEBUG_EVENTS          NO  *
[2020-12-21 10:45:32.128 2747M] * DEBUG_HELPER          NO  *
[2020-12-21 10:45:32.128 2747M] *****************************
[2020-12-21 10:45:32.225 2747/T2751] dbquery: "DELETE FROM message;"
[2020-12-21 10:45:32.261 2747/T2751]          ---> OK
[2020-12-21 10:45:32.261 2747/T2751] gravityDB_open(): Trying to open /etc/pihole/gravity.db in read-only mode
[2020-12-21 10:45:32.261 2747/T2751] gravityDB_open(): Setting location for temporary object to MEMORY
[2020-12-21 10:45:32.262 2747/T2751] gravityDB_open(): Preparing audit query
[2020-12-21 10:45:32.263 2747/T2751] gravityDB_open(): Setting busy timeout to 1000
[2020-12-21 10:45:32.263 2747/T2751] gravityDB_open(): Setting busy timeout to zero
[2020-12-21 10:45:32.263 2747/T2751] gravityDB_open(): Successfully opened gravity.db
[2020-12-21 10:45:32.263 2747/T2751] Querying count of distinct domains in gravity database table vw_gravity: SELECT value FROM info WHERE property = 'gravity_count';
[2020-12-21 10:45:32.263 2747/T2751] Querying count of distinct domains in gravity database table vw_regex_blacklist: SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist
[2020-12-21 10:45:32.264 2747/T2751] Querying count of distinct domains in gravity database table vw_regex_whitelist: SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist
[2020-12-21 10:45:32.265 2747/T2751] SQL: Comparing 192.168.2.9 vs. 192.168.2.1 (subnet 255.255.255.255) - NO MATCH
[2020-12-21 10:45:32.265 2747/T2751] SQL: Comparing 192.168.2.9 vs. 192.168.2.9 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.265 2747/T2751] SQL: Comparing 192.168.2.9 vs. 192.168.2.9 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.265 2747/T2751] SQL: Comparing 192.168.2.9 vs. 192.168.2.9 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.266 2747/T2751] SQL: Comparing 127.0.0.1 vs. 192.168.2.1 (subnet 255.255.255.255) - NO MATCH
[2020-12-21 10:45:32.266 2747/T2751] SQL: Comparing 127.0.0.1 vs. 192.168.2.9 (subnet 255.255.255.255) - NO MATCH
[2020-12-21 10:45:32.266 2747/T2751] Found database hardware address 127.0.0.1 -> 00:00:00:00:00:00
[2020-12-21 10:45:32.266 2747/T2751] Found database host name (same address) 127.0.0.1 -> localhost
[2020-12-21 10:45:32.266 2747/T2751] getDatabaseHostname(): "SELECT interface FROM network JOIN network_addresses ON network_addresses.network_id = network.id WHERE network_addresses.ip = ? AND interface != 'N/A' AND interface IS NOT NULL;" with ? = "127.0.0.1"
[2020-12-21 10:45:32.266 2747/T2751] Found database interface 127.0.0.1 -> lo
[2020-12-21 10:45:32.267 2747/T2751] SQL: Comparing 192.168.2.1 vs. 192.168.2.1 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.267 2747/T2751] SQL: Comparing 192.168.2.1 vs. 192.168.2.1 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.267 2747/T2751] SQL: Comparing 192.168.2.1 vs. 192.168.2.9 (subnet 255.255.255.255) - NO MATCH
[2020-12-21 10:45:32.267 2747/T2751] SQL: Comparing 192.168.2.1 vs. 192.168.2.1 (subnet 255.255.255.255) - !! MATCH !!
[2020-12-21 10:45:32.267 2747/T2751] Compiled 0 whitelist and 11 blacklist regex filters for 3 clients in 3.6 msec
[2020-12-21 10:45:33.146 2747M] Initializing gravity statements for 192.168.2.9
[2020-12-21 10:45:33.146 2747M] gravityDB_open(): Preparing vw_whitelist statement for client 192.168.2.9
[2020-12-21 10:45:33.146 2747M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_whitelist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:45:33.147 2747M] gravityDB_open(): Preparing vw_gravity statement for client 192.168.2.9
[2020-12-21 10:45:33.147 2747M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_gravity WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:45:33.147 2747M] gravityDB_open(): Preparing vw_blacklist statement for client 192.168.2.9
[2020-12-21 10:45:33.147 2747M] get_client_querystr: SELECT EXISTS(SELECT domain from vw_blacklist WHERE domain = ? AND group_id IN (0));
[2020-12-21 10:45:33.147 2747M] domain_in_list("autopush.prod.mozaws.net", 0xb362cdc0, whitelist): 0
...
[2020-12-21 10:45:44.166 2747M] domain_in_list("ci5.googleusercontent.com", 0xb362b1a0, gravity): 0
[2020-12-21 10:46:00.009 2747/T2751] dbquery: "BEGIN TRANSACTION IMMEDIATE"

That Last Line in this Log is the first line of that other thing I pasted.

Unrelated but did I mention that I hate it when Logs contain way too much useless info, making the whole File just really bloated, especially if the same Log File does contain privacy critical material (aka all websites ever visited), so I can't just gist/paste the whole 8MiB thing, and have to read it in advance before, just to find what some other person was vaguely looking for?
So yeah, sorry if I made a slight mess of the Logs I posted. ^^
I thought "hey that's actual debug stuff and not unnecessary info, that's what I was asked for".

@DL6ER
Copy link
Member

DL6ER commented Dec 21, 2020

The debug messages are just verbose in what they do. When you add DEBUG_DATABASE=true, well, then every interaction with the database is logged. Every as in every and with all details because only this may reveal some particular edge-case (or whatever, causing the crash). So far, I'm not seeing anything obvious in your post, which is why I was asking.

It seems that FTL did never crash but "just" got unresponsive. Maybe you can add DEBUG_LOCKS=true + run pihole restartdns so we can check if there is some strange kind of self-locking with no way out going out. The last few lines of the log above the

########## FTL started! ##########

should be sufficient to see if some locking was going on.

@DL6ER DL6ER mentioned this issue Dec 21, 2020
@GregoriusT
Copy link

GregoriusT commented Dec 21, 2020

Uh darn, when i enabled DEBUG_LOCKS=true (along with DEBUG_DATABASE=true) I lost the ability to reproduce the Issue no matter how hard I spam click.

Edit: This MIGHT be an Issue with slow Storage Volumes like the Micro SD Card, which if the Logs are spammed sufficiently enough could cause enough delay to not cause the locking Issue maybe? I don't know...

P.S. I am starting to run out of "unknown relatively trustworthy websites" that I could audit.

@yubiuser
Copy link
Member Author

@GregoriusT same here... I tried literally an hour to freeze/crash pihole. Thanks for confirming.

@DL6ER
Copy link
Member

DL6ER commented Dec 21, 2020

It may be either due to additional delay (which should even with slow cards be in the microseconds regime as we're only writing a few bytes each time) or - and I'm afraid it is more this - it is the well-known adding a print solves the crash-thing. The latter is caused by a memory glitch in some region of the code being not triggered when the path in the code changes (e.g., because an additional print statement is called).

Locks are sequential, a dead-lock cannot be recovered from. Any delay should not change anything here.

Can you re-trigger the crash when you remove the debug lines and run

pihole restartdns reload

(this does not do a full restart, however, FTL should re-check which debugging options are enabled) ?

@DL6ER
Copy link
Member

DL6ER commented Dec 21, 2020

Bed time for me now. However, I wrote a custom SQL extension meanwhile that does the audit wildcard matching without the need for dynamic memory allocation inside SQLite3. If you still have time (and endurance) try

pihole checkout ftl tweak/audit_statement

(contains only the modified/improved audit statement), or

pihole checkout ftl tweak/audit_statement_and_all_the_things

to get both, fix/all_the_things and the modified audit statement.

Ideally you should not see a crash on these branches.

@yubiuser
Copy link
Member Author

I could trigger it while being on fix/all_things after removing the DEBUG line, restarting with pihole restartdns reload and clicking audit a few time

[2020-12-21 20:56:57.148 4745M] Unlocking FTL database: Success
[2020-12-21 20:56:57.148 4745M] Locking FTL database
[2020-12-21 20:56:57.148 4745M] Locking FTL database: Success
[2020-12-21 20:56:57.148 4745M] Blocking status is enabled
[2020-12-21 20:56:57.262 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 24.1 msec
[2020-12-21 20:57:11.154 4745M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:57:11.264 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.1 msec
[2020-12-21 20:57:11.940 4745M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:57:11.997 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 18.5 msec
[2020-12-21 20:57:12.162 4745M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:57:12.236 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.4 msec
[2020-12-21 20:57:12.809 4745M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:57:12.867 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 19.2 msec
[2020-12-21 20:57:13.061 4745M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:57:13.099 4745/T4749] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 18.9 msec
[2020-12-21 20:57:13.959 4745M] Received: Real-time signal 0 (34 -> 0)

With pihole checkout ftl tweak/audit_statement

[2020-12-21 20:59:40.494 11487M] ########## FTL started! ##########
[2020-12-21 20:59:40.494 11487M] FTL branch: tweak/audit_statement
[2020-12-21 20:59:40.494 11487M] FTL version: vDev-d5340a7
[2020-12-21 20:59:40.494 11487M] FTL commit: d5340a7
[2020-12-21 20:59:40.494 11487M] FTL date: 2020-12-21 20:44:22 +0100
[2020-12-21 20:59:40.494 11487M] FTL user: pihole
[2020-12-21 20:59:40.494 11487M] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 20:59:40.494 11487M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-12-21 20:59:40.494 11487M]    SOCKET_LISTENING: only local
[2020-12-21 20:59:40.494 11487M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-12-21 20:59:40.494 11487M]    MAXDBDAYS: max age for stored queries is 90 days
[2020-12-21 20:59:40.494 11487M]    RESOLVE_IPV6: Resolve IPv6 addresses
[2020-12-21 20:59:40.495 11487M]    RESOLVE_IPV4: Resolve IPv4 addresses
[2020-12-21 20:59:40.495 11487M]    DBINTERVAL: saving to DB file every minute
[2020-12-21 20:59:40.495 11487M]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-12-21 20:59:40.495 11487M]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-12-21 20:59:40.495 11487M]    PRIVACYLEVEL: Set to 0
[2020-12-21 20:59:40.495 11487M]    IGNORE_LOCALHOST: Show queries from localhost
[2020-12-21 20:59:40.495 11487M]    BLOCKINGMODE: Null IPs for blocked domains
[2020-12-21 20:59:40.495 11487M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-12-21 20:59:40.495 11487M]    DBIMPORT: Importing history from database
[2020-12-21 20:59:40.495 11487M]    PIDFILE: Using /run/pihole-FTL.pid
[2020-12-21 20:59:40.495 11487M]    PORTFILE: Using /run/pihole-FTL.port
[2020-12-21 20:59:40.496 11487M]    SOCKETFILE: Using /run/pihole/FTL.sock
[2020-12-21 20:59:40.496 11487M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-12-21 20:59:40.496 11487M]    MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-12-21 20:59:40.496 11487M]    GRAVITYDB: Using /etc/pihole/gravity.db
[2020-12-21 20:59:40.496 11487M]    PARSE_ARP_CACHE: Active
[2020-12-21 20:59:40.496 11487M]    CNAME_DEEP_INSPECT: Active
[2020-12-21 20:59:40.496 11487M]    DELAY_STARTUP: No delay requested.
[2020-12-21 20:59:40.496 11487M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-21 20:59:40.496 11487M]    NICE: Set process niceness to -10 (default)
[2020-12-21 20:59:40.496 11487M]    MAXNETAGE: Removing IP addresses and host names from network table after 90 days
[2020-12-21 20:59:40.496 11487M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2020-12-21 20:59:40.496 11487M]    EDNS0_ECS: Overwrite client from ECS information
[2020-12-21 20:59:40.497 11487M]    REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2020-12-21 20:59:40.497 11487M] Finished config file parsing
[2020-12-21 20:59:40.497 11487M] Creating mutex
[2020-12-21 20:59:40.501 11487M] Database version is 9
[2020-12-21 20:59:40.501 11487M] Imported 0 alias-clients
[2020-12-21 20:59:40.501 11487M] Database successfully initialized
[2020-12-21 20:59:40.507 11487M] New upstream server: 127.0.0.1:5335 (0/512)
[2020-12-21 20:59:40.519 11487M] Resizing "FTL-strings" from 4096 to (8192 * 1) == 8192 (/dev/shm: 626.7KB used, 516.6MB total)
[2020-12-21 20:59:40.548 11487M] Resizing "FTL-strings" from 8192 to (12288 * 1) == 12288 (/dev/shm: 630.8KB used, 516.6MB total)
[2020-12-21 20:59:40.596 11487M] Resizing "FTL-queries" from 262144 to (8192 * 64) == 524288 (/dev/shm: 634.9KB used, 516.6MB total)
[2020-12-21 20:59:40.597 11487M] Resizing "FTL-strings" from 12288 to (16384 * 1) == 16384 (/dev/shm: 897.0KB used, 516.6MB total)
[2020-12-21 20:59:40.661 11487M] Resizing "FTL-strings" from 16384 to (20480 * 1) == 20480 (/dev/shm: 901.1KB used, 516.6MB total)
[2020-12-21 20:59:40.699 11487M] Resizing "FTL-strings" from 20480 to (24576 * 1) == 24576 (/dev/shm: 905.2KB used, 516.6MB total)
[2020-12-21 20:59:40.704 11487M] Resizing "FTL-queries" from 524288 to (12288 * 64) == 786432 (/dev/shm: 909.3KB used, 516.6MB total)
[2020-12-21 20:59:40.764 11487M] Resizing "FTL-strings" from 24576 to (28672 * 1) == 28672 (/dev/shm: 1.2MB used, 516.6MB total)
[2020-12-21 20:59:40.779 11487M] Imported 10959 queries from the long-term database
[2020-12-21 20:59:40.780 11487M]  -> Total DNS queries: 10959
[2020-12-21 20:59:40.780 11487M]  -> Cached DNS queries: 708
[2020-12-21 20:59:40.780 11487M]  -> Forwarded DNS queries: 6561
[2020-12-21 20:59:40.780 11487M]  -> Blocked DNS queries: 3683
[2020-12-21 20:59:40.780 11487M]  -> Unknown DNS queries: 1
[2020-12-21 20:59:40.780 11487M]  -> Unique domains: 1142
[2020-12-21 20:59:40.780 11487M]  -> Unique clients: 11
[2020-12-21 20:59:40.780 11487M]  -> Known forward destinations: 1
[2020-12-21 20:59:40.780 11487M] Successfully accessed setupVars.conf
[2020-12-21 20:59:40.787 11489M] PID of FTL process: 11489
[2020-12-21 20:59:40.788 11489/T11490] Listening on port 4711 for incoming IPv4 telnet connections
[2020-12-21 20:59:40.789 11489M] INFO: FTL is running as user pihole (UID 998)
[2020-12-21 20:59:40.790 11489/T11492] Listening on Unix socket
[2020-12-21 20:59:40.791 11489M] Reloading DNS cache
[2020-12-21 20:59:40.792 11489M] Blocking status is enabled
[2020-12-21 20:59:40.792 11489/T11491] Listening on port 4711 for incoming IPv6 telnet connections
[2020-12-21 20:59:40.939 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 31.4 msec
[2020-12-21 20:59:56.498 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:56.593 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 19.4 msec
[2020-12-21 20:59:56.705 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:56.808 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:56.808 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:56.809 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:56.809 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:56.809 11489/T11493] gravityDB_count(0): Gravity database not available
[2020-12-21 20:59:56.810 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:56.810 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:56.810 11489/T11493] gravityDB_count(3): Gravity database not available
[2020-12-21 20:59:56.810 11489/T11493] WARN: Database query failed, assuming there are no blacklist regex entries
[2020-12-21 20:59:56.825 11489/T11493] Compiled 2 whitelist and 0 blacklist regex filters for 11 clients in 15.3 msec
[2020-12-21 20:59:56.882 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:56.957 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 19.9 msec
[2020-12-21 20:59:57.094 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:57.192 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 22.1 msec
[2020-12-21 20:59:57.306 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:57.431 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.1 msec
[2020-12-21 20:59:57.621 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:57.668 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 23.3 msec
[2020-12-21 20:59:57.996 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:58.106 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 24.9 msec
[2020-12-21 20:59:58.364 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:58.447 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.6 msec
[2020-12-21 20:59:59.266 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:59.386 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 25.5 msec
[2020-12-21 20:59:59.495 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:59.629 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 26.7 msec
[2020-12-21 20:59:59.846 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 20:59:59.951 11489/T11493] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2020-12-21 20:59:59.951 11489/T11493] WARN: Database query failed, assuming there are no whitelist regex entries
[2020-12-21 20:59:59.952 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.952 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.952 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.953 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.953 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.953 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.953 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.953 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.954 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.954 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.954 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.954 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.954 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.954 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.955 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.955 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.955 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.955 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.955 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.955 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.956 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.956 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.956 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.956 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.956 11489/T11493] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain FROM domain_audit WHERE wildcard_match(domain, :input) == 1 LIMIT 1);" (5)
[2020-12-21 20:59:59.956 11489/T11493] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2020-12-21 20:59:59.956 11489/T11493] get_client_groupids(): Gravity database not available
[2020-12-21 20:59:59.961 11489/T11493] Compiled 0 whitelist and 26 blacklist regex filters for 11 clients in 17.1 msec
[2020-12-21 21:00:00.042 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:00.101 11489/T11493] Notice: Database size is 117.39 MB, deleted 783 rows
[2020-12-21 21:00:00.194 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:00.255 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 23.4 msec
[2020-12-21 21:00:00.576 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:00.679 11489/T11493] get_client_groupids("10.0.1.2") - SQL error step: database is locked
[2020-12-21 21:00:00.679 11489/T11493] get_client_groupids("10.0.1.2") - SQL error step: database is locked
[2020-12-21 21:00:00.679 11489/T11493] get_client_groupids("10.0.10.136") - SQL error step: database is locked
[2020-12-21 21:00:00.680 11489/T11493] get_client_groupids("10.0.10.136") - SQL error step: database is locked
[2020-12-21 21:00:00.680 11489/T11493] get_client_groupids("10.0.1.1") - SQL error step: database is locked
[2020-12-21 21:00:00.680 11489/T11493] get_client_groupids("10.0.1.1") - SQL error step: database is locked
[2020-12-21 21:00:00.680 11489/T11493] get_client_groupids("10.0.1.7") - SQL error step: database is locked
[2020-12-21 21:00:00.680 11489/T11493] get_client_groupids("10.0.1.7") - SQL error step: database is locked
[2020-12-21 21:00:00.681 11489/T11493] get_client_groupids("10.0.10.190") - SQL error step: database is locked
[2020-12-21 21:00:00.681 11489/T11493] get_client_groupids("10.0.10.190") - SQL error step: database is locked
[2020-12-21 21:00:00.681 11489/T11493] get_client_groupids("10.0.10.64") - SQL error step: database is locked
[2020-12-21 21:00:00.682 11489/T11493] get_client_groupids("10.0.10.64") - SQL error step: database is locked
[2020-12-21 21:00:00.683 11489/T11493] get_client_groupids("10.0.40.3") - SQL error step: database is locked
[2020-12-21 21:00:00.683 11489/T11493] get_client_groupids("10.0.40.3") - SQL error step: database is locked
[2020-12-21 21:00:00.686 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 16.9 msec
[2020-12-21 21:00:00.761 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:00.819 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 18.5 msec
[2020-12-21 21:00:01.014 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:01.051 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 20.1 msec
[2020-12-21 21:00:01.533 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:01.587 11489/T11493] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 22.0 msec
[2020-12-21 21:00:02.169 11489M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:00:02.201 11489/T11493] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 21:00:02.201 11489/T11493] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-21 21:00:02.201 11489/T11493] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 21:00:02.201 11489/T11493] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-21 21:00:02.201 11489/T11493] and include in your report already the following details:
[2020-12-21 21:00:02.201 11489/T11493] FTL has been running for 22 seconds
[2020-12-21 21:00:02.201 11489/T11493] FTL branch: tweak/audit_statement
[2020-12-21 21:00:02.202 11489/T11493] FTL version: vDev-d5340a7
[2020-12-21 21:00:02.202 11489/T11493] FTL commit: d5340a7
[2020-12-21 21:00:02.202 11489/T11493] FTL date: 2020-12-21 20:44:22 +0100
[2020-12-21 21:00:02.202 11489/T11493] FTL user: started as pihole, ended as pihole
[2020-12-21 21:00:02.202 11489/T11493] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 21:00:02.202 11489/T11493] Process details: MID: 11489
[2020-12-21 21:00:02.202 11489/T11493]                  PID: 11489
[2020-12-21 21:00:02.202 11489/T11493]                  TID: 11493
[2020-12-21 21:00:02.202 11489/T11493]                  Name: database
[2020-12-21 21:00:02.202 11489/T11493] Received signal: Segmentation fault
[2020-12-21 21:00:02.202 11489/T11493]      at address: 0x13
[2020-12-21 21:00:02.202 11489/T11493]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-21 21:00:02.203 11489/T11493] Backtrace:
[2020-12-21 21:00:02.207 11489/T11493] B[0000]: /usr/bin/pihole-FTL(+0x5660c) [0xaaaadeba960c]
[2020-12-21 21:00:02.245 11489/T11493] L[0000]: /root/project/src/signals.c:191
[2020-12-21 21:00:02.251 11489/T11493] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffaede57c0]
[2020-12-21 21:00:02.251 11489/T11493] B[0002]: /lib/aarch64-linux-gnu/libc.so.6(__libc_malloc+0x174) [0xffffaebb845c]
[2020-12-21 21:00:02.251 11489/T11493] B[0003]: /usr/bin/pihole-FTL(+0xe006c) [0xaaaadec3306c]
[2020-12-21 21:00:02.453 11489/T11493] L[0003]: /root/project/src/database/sqlite3.c:23508
[2020-12-21 21:00:02.485 11489/T11493] B[0004]: /usr/bin/pihole-FTL(+0xc0db0) [0xaaaadec13db0]
[2020-12-21 21:00:02.685 11489/T11493] L[0004]: /root/project/src/database/sqlite3.c:27680
[2020-12-21 21:00:02.716 11489/T11493] B[0005]: /usr/bin/pihole-FTL(+0xc69b8) [0xaaaadec199b8]
[2020-12-21 21:00:02.917 11489/T11493] L[0005]: /root/project/src/database/sqlite3.c:27854
[2020-12-21 21:00:02.948 11489/T11493] B[0006]: /usr/bin/pihole-FTL(+0x1360f4) [0xaaaadec890f4]
[2020-12-21 21:00:03.157 11489/T11493] L[0006]: /root/project/src/database/sqlite3.c:135351
[2020-12-21 21:00:03.188 11489/T11493] B[0007]: /usr/bin/pihole-FTL(+0x13ad38) [0xaaaadec8dd38]
[2020-12-21 21:00:03.389 11489/T11493] L[0007]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 21:00:03.420 11489/T11493] B[0008]: /usr/bin/pihole-FTL(+0x13b890) [0xaaaadec8e890]
[2020-12-21 21:00:03.621 11489/T11493] L[0008]: /root/project/src/database/sqlite3.c:127058
[2020-12-21 21:00:03.653 11489/T11493] B[0009]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaadec9cb14]
[2020-12-21 21:00:03.861 11489/T11493] L[0009]: /root/project/src/database/sqlite3.c:122099
[2020-12-21 21:00:03.893 11489/T11493] B[0010]: /usr/bin/pihole-FTL(+0x13bc5c) [0xaaaadec8ec5c]
[2020-12-21 21:00:04.093 11489/T11493] L[0010]: /root/project/src/database/sqlite3.c:127278
[2020-12-21 21:00:04.124 11489/T11493] B[0011]: /usr/bin/pihole-FTL(+0x14a688) [0xaaaadec9d688]
[2020-12-21 21:00:04.325 11489/T11493] L[0011]: /root/project/src/database/sqlite3.c:127349
[2020-12-21 21:00:04.356 11489/T11493] B[0012]: /usr/bin/pihole-FTL(+0x14a6d8) [0xaaaadec9d6d8]
[2020-12-21 21:00:04.556 11489/T11493] L[0012]: /root/project/src/database/sqlite3.c:127375
[2020-12-21 21:00:04.587 11489/T11493] B[0013]: /usr/bin/pihole-FTL(+0x14ad38) [0xaaaadec9dd38]
[2020-12-21 21:00:04.785 11489/T11493] L[0013]: /root/project/src/database/sqlite3.c:109478
[2020-12-21 21:00:04.816 11489/T11493] B[0014]: /usr/bin/pihole-FTL(+0x14bb28) [0xaaaadec9eb28]
[2020-12-21 21:00:05.044 11489/T11493] L[0014]: /root/project/src/database/sqlite3.c:132826
[2020-12-21 21:00:05.076 11489/T11493] B[0015]: /usr/bin/pihole-FTL(+0xbee1c) [0xaaaadec11e1c]
[2020-12-21 21:00:05.276 11489/T11493] L[0015]: /root/project/src/database/sqlite3.c:96750
[2020-12-21 21:00:05.307 11489/T11493] B[0016]: /usr/bin/pihole-FTL(+0xbf0a8) [0xaaaadec120a8]
[2020-12-21 21:00:05.511 11489/T11493] L[0016]: /root/project/src/database/sqlite3.c:96638
[2020-12-21 21:00:05.542 11489/T11493] B[0017]: /usr/bin/pihole-FTL(+0xbf128) [0xaaaadec12128]
[2020-12-21 21:00:05.754 11489/T11493] L[0017]: /root/project/src/database/sqlite3.c:96667
[2020-12-21 21:00:05.785 11489/T11493] B[0018]: /usr/bin/pihole-FTL(+0xbee2c) [0xaaaadec11e2c]
[2020-12-21 21:00:05.986 11489/T11493] L[0018]: /root/project/src/database/sqlite3.c:96680
[2020-12-21 21:00:06.018 11489/T11493] B[0019]: /usr/bin/pihole-FTL(+0xbf874) [0xaaaadec12874]
[2020-12-21 21:00:06.225 11489/T11493] L[0019]: /root/project/src/database/sqlite3.c:133200
[2020-12-21 21:00:06.258 11489/T11493] B[0020]: /usr/bin/pihole-FTL(+0x124b68) [0xaaaadec77b68]
[2020-12-21 21:00:06.456 11489/T11493] L[0020]: /root/project/src/database/sqlite3.c:133638
[2020-12-21 21:00:06.487 11489/T11493] B[0021]: /usr/bin/pihole-FTL(+0x134c84) [0xaaaadec87c84]
[2020-12-21 21:00:06.688 11489/T11493] L[0021]: /root/project/src/database/sqlite3.c:155888
[2020-12-21 21:00:06.719 11489/T11493] B[0022]: /usr/bin/pihole-FTL(+0x13ad38) [0xaaaadec8dd38]
[2020-12-21 21:00:06.919 11489/T11493] L[0022]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 21:00:06.950 11489/T11493] B[0023]: /usr/bin/pihole-FTL(+0x13b224) [0xaaaadec8e224]
[2020-12-21 21:00:07.157 11489/T11493] L[0023]: /root/project/src/database/sqlite3.c:127650
[2020-12-21 21:00:07.188 11489/T11493] B[0024]: /usr/bin/pihole-FTL(+0x5e9fc) [0xaaaadebb19fc]
[2020-12-21 21:00:07.229 11489/T11493] L[0024]: /root/project/src/database/gravity-db.c:142
[2020-12-21 21:00:07.235 11489/T11493] B[0025]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaadebb2eb4]
[2020-12-21 21:00:07.270 11489/T11493] L[0025]: /root/project/src/database/gravity-db.c:75
[2020-12-21 21:00:07.276 11489/T11493] B[0026]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x40) [0xaaaadeb9a570]
[2020-12-21 21:00:07.317 11489/T11493] L[0026]: /root/project/src/datastructure.c:485
[2020-12-21 21:00:07.322 11489/T11493] B[0027]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaadebb15dc]
[2020-12-21 21:00:07.358 11489/T11493] L[0027]: /root/project/src/database/database-thread.c:84
[2020-12-21 21:00:07.363 11489/T11493] B[0028]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffffaecba7e4]
[2020-12-21 21:00:07.364 11489/T11493] B[0029]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffffaec10adc]
[2020-12-21 21:00:07.364 11489/T11493] ------ Listing content of directory /dev/shm ------
[2020-12-21 21:00:07.364 11489/T11493] File Mode User:Group  Filesize Filename
[2020-12-21 21:00:07.364 11489/T11493] rwxrwxrwx root:root 260 .
[2020-12-21 21:00:07.364 11489/T11493] rwxr-xr-x root:root 3K ..
[2020-12-21 21:00:07.364 11489/T11493] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-21 21:00:07.364 11489/T11493] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-21 21:00:07.365 11489/T11493] rw------- pihole:pihole 45K FTL-overTime
[2020-12-21 21:00:07.365 11489/T11493] rw------- pihole:pihole 786K FTL-queries
[2020-12-21 21:00:07.365 11489/T11493] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-21 21:00:07.365 11489/T11493] rw------- pihole:pihole 176K FTL-clients
[2020-12-21 21:00:07.365 11489/T11493] rw------- pihole:pihole 98K FTL-domains
[2020-12-21 21:00:07.366 11489/T11493] rw------- pihole:pihole 29K FTL-strings
[2020-12-21 21:00:07.366 11489/T11493] rw------- pihole:pihole 12 FTL-settings
[2020-12-21 21:00:07.366 11489/T11493] rw------- pihole:pihole 144 FTL-counters
[2020-12-21 21:00:07.366 11489/T11493] rw------- pihole:pihole 56 FTL-lock
[2020-12-21 21:00:07.366 11489/T11493] ---------------------------------------------------
[2020-12-21 21:00:07.366 11489/T11493] Please also include some lines from above the !!!!!!!!! header.
[2020-12-21 21:00:07.366 11489/T11493] Thank you for helping us to improve our FTL engine!
[2020-12-21 21:00:07.366 11489/T11493] FTL terminated!

And tweak/audit_statement_and_all_the_things

[2020-12-21 21:21:21.824 12577M] ########## FTL started! ##########
[2020-12-21 21:21:21.824 12577M] FTL branch: tweak/audit_statement_and_all_the_things
[2020-12-21 21:21:21.825 12577M] FTL version: vDev-7c49144
[2020-12-21 21:21:21.825 12577M] FTL commit: 7c49144
[2020-12-21 21:21:21.825 12577M] FTL date: 2020-12-21 21:01:12 +0100
[2020-12-21 21:21:21.825 12577M] FTL user: pihole
[2020-12-21 21:21:21.825 12577M] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 21:21:21.825 12577M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2020-12-21 21:21:21.825 12577M]    SOCKET_LISTENING: only local
[2020-12-21 21:21:21.825 12577M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2020-12-21 21:21:21.825 12577M]    MAXDBDAYS: max age for stored queries is 90 days
[2020-12-21 21:21:21.825 12577M]    RESOLVE_IPV6: Resolve IPv6 addresses
[2020-12-21 21:21:21.825 12577M]    RESOLVE_IPV4: Resolve IPv4 addresses
[2020-12-21 21:21:21.825 12577M]    DBINTERVAL: saving to DB file every minute
[2020-12-21 21:21:21.825 12577M]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2020-12-21 21:21:21.825 12577M]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2020-12-21 21:21:21.825 12577M]    PRIVACYLEVEL: Set to 0
[2020-12-21 21:21:21.826 12577M]    IGNORE_LOCALHOST: Show queries from localhost
[2020-12-21 21:21:21.826 12577M]    BLOCKINGMODE: Null IPs for blocked domains
[2020-12-21 21:21:21.826 12577M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2020-12-21 21:21:21.826 12577M]    DBIMPORT: Importing history from database
[2020-12-21 21:21:21.826 12577M]    PIDFILE: Using /run/pihole-FTL.pid
[2020-12-21 21:21:21.826 12577M]    PORTFILE: Using /run/pihole-FTL.port
[2020-12-21 21:21:21.826 12577M]    SOCKETFILE: Using /run/pihole/FTL.sock
[2020-12-21 21:21:21.826 12577M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2020-12-21 21:21:21.826 12577M]    MACVENDORDB: Using /etc/pihole/macvendor.db
[2020-12-21 21:21:21.826 12577M]    GRAVITYDB: Using /etc/pihole/gravity.db
[2020-12-21 21:21:21.826 12577M]    PARSE_ARP_CACHE: Active
[2020-12-21 21:21:21.826 12577M]    CNAME_DEEP_INSPECT: Active
[2020-12-21 21:21:21.826 12577M]    DELAY_STARTUP: No delay requested.
[2020-12-21 21:21:21.826 12577M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2020-12-21 21:21:21.827 12577M]    NICE: Set process niceness to -10 (default)
[2020-12-21 21:21:21.827 12577M]    MAXNETAGE: Removing IP addresses and host names from network table after 90 days
[2020-12-21 21:21:21.827 12577M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2020-12-21 21:21:21.827 12577M]    EDNS0_ECS: Overwrite client from ECS information
[2020-12-21 21:21:21.827 12577M]    REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2020-12-21 21:21:21.827 12577M] Finished config file parsing
[2020-12-21 21:21:21.828 12577M] Creating mutex
[2020-12-21 21:21:21.835 12577M] Database version is 9
[2020-12-21 21:21:21.835 12577M] Imported 0 alias-clients
[2020-12-21 21:21:21.835 12577M] Database successfully initialized
[2020-12-21 21:21:21.836 12577M] New upstream server: 127.0.0.1:5335 (0/512)
[2020-12-21 21:21:21.844 12577M] Resizing "FTL-strings" from 4096 to (8192 * 1) == 8192 (/dev/shm: 626.7KB used, 516.6MB total)
[2020-12-21 21:21:21.877 12577M] Resizing "FTL-strings" from 8192 to (12288 * 1) == 12288 (/dev/shm: 630.8KB used, 516.6MB total)
[2020-12-21 21:21:21.922 12577M] Resizing "FTL-strings" from 12288 to (16384 * 1) == 16384 (/dev/shm: 634.9KB used, 516.6MB total)
[2020-12-21 21:21:21.929 12577M] Resizing "FTL-queries" from 262144 to (8192 * 64) == 524288 (/dev/shm: 639.0KB used, 516.6MB total)
[2020-12-21 21:21:21.975 12577M] Resizing "FTL-strings" from 16384 to (20480 * 1) == 20480 (/dev/shm: 901.1KB used, 516.6MB total)
[2020-12-21 21:21:22.011 12577M] Resizing "FTL-strings" from 20480 to (24576 * 1) == 24576 (/dev/shm: 905.2KB used, 516.6MB total)
[2020-12-21 21:21:22.022 12577M] Resizing "FTL-queries" from 524288 to (12288 * 64) == 786432 (/dev/shm: 909.3KB used, 516.6MB total)
[2020-12-21 21:21:22.078 12577M] Resizing "FTL-strings" from 24576 to (28672 * 1) == 28672 (/dev/shm: 1.2MB used, 516.6MB total)
[2020-12-21 21:21:22.092 12577M] Imported 10752 queries from the long-term database
[2020-12-21 21:21:22.093 12577M]  -> Total DNS queries: 10752
[2020-12-21 21:21:22.093 12577M]  -> Cached DNS queries: 683
[2020-12-21 21:21:22.093 12577M]  -> Forwarded DNS queries: 6451
[2020-12-21 21:21:22.093 12577M]  -> Blocked DNS queries: 3611
[2020-12-21 21:21:22.093 12577M]  -> Unknown DNS queries: 1
[2020-12-21 21:21:22.093 12577M]  -> Unique domains: 1135
[2020-12-21 21:21:22.093 12577M]  -> Unique clients: 11
[2020-12-21 21:21:22.093 12577M]  -> Known forward destinations: 1
[2020-12-21 21:21:22.093 12577M] Successfully accessed setupVars.conf
[2020-12-21 21:21:22.101 12579M] PID of FTL process: 12579
[2020-12-21 21:21:22.102 12579/T12580] Listening on port 4711 for incoming IPv4 telnet connections
[2020-12-21 21:21:22.103 12579/T12582] Listening on Unix socket
[2020-12-21 21:21:22.103 12579/T12581] Listening on port 4711 for incoming IPv6 telnet connections
[2020-12-21 21:21:22.103 12579M] INFO: FTL is running as user pihole (UID 998)
[2020-12-21 21:21:22.104 12579M] Reloading DNS cache
[2020-12-21 21:21:22.104 12579M] Blocking status is enabled
[2020-12-21 21:21:22.249 12579/T12583] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 33.4 msec
[2020-12-21 21:22:33.001 12579M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:22:33.113 12579/T12583] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 18.5 msec
[2020-12-21 21:22:33.213 12579M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:22:33.244 12579/T12583] Compiled 2 whitelist and 26 blacklist regex filters for 11 clients in 19.7 msec
[2020-12-21 21:22:33.510 12579M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:22:34.640 12579M] Received: Real-time signal 0 (34 -> 0)
[2020-12-21 21:22:35.068 12579/T12583] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 21:22:35.068 12579/T12583] ---------------------------->  FTL crashed!  <----------------------------
[2020-12-21 21:22:35.068 12579/T12583] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2020-12-21 21:22:35.068 12579/T12583] Please report a bug at https://github.com/pi-hole/FTL/issues
[2020-12-21 21:22:35.068 12579/T12583] and include in your report already the following details:
[2020-12-21 21:22:35.068 12579/T12583] FTL has been running for 74 seconds
[2020-12-21 21:22:35.068 12579/T12583] FTL branch: tweak/audit_statement_and_all_the_things
[2020-12-21 21:22:35.068 12579/T12583] FTL version: vDev-7c49144
[2020-12-21 21:22:35.068 12579/T12583] FTL commit: 7c49144
[2020-12-21 21:22:35.069 12579/T12583] FTL date: 2020-12-21 21:01:12 +0100
[2020-12-21 21:22:35.069 12579/T12583] FTL user: started as pihole, ended as pihole
[2020-12-21 21:22:35.069 12579/T12583] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2020-12-21 21:22:35.069 12579/T12583] Process details: MID: 12579
[2020-12-21 21:22:35.069 12579/T12583]                  PID: 12579
[2020-12-21 21:22:35.069 12579/T12583]                  TID: 12583
[2020-12-21 21:22:35.069 12579/T12583]                  Name: database
[2020-12-21 21:22:35.069 12579/T12583] Received signal: Segmentation fault
[2020-12-21 21:22:35.069 12579/T12583]      at address: 0x80
[2020-12-21 21:22:35.069 12579/T12583]      with code:  SEGV_MAPERR (Address not mapped to object)
[2020-12-21 21:22:35.070 12579/T12583] Backtrace:
[2020-12-21 21:22:35.073 12579/T12583] B[0000]: /usr/bin/pihole-FTL(+0x5672c) [0xaaaaceb1372c]
[2020-12-21 21:22:35.112 12579/T12583] L[0000]: /root/project/src/signals.c:191
[2020-12-21 21:22:35.120 12579/T12583] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffffa4dfb7c0]
[2020-12-21 21:22:35.120 12579/T12583] B[0002]: /lib/aarch64-linux-gnu/libc.so.6(__libc_malloc+0x174) [0xffffa4bce45c]
[2020-12-21 21:22:35.120 12579/T12583] B[0003]: /usr/bin/pihole-FTL(+0xe018c) [0xaaaaceb9d18c]
[2020-12-21 21:22:35.326 12579/T12583] L[0003]: /root/project/src/database/sqlite3.c:23508
[2020-12-21 21:22:35.358 12579/T12583] B[0004]: /usr/bin/pihole-FTL(+0xc0ed0) [0xaaaaceb7ded0]
[2020-12-21 21:22:35.562 12579/T12583] L[0004]: /root/project/src/database/sqlite3.c:27680
[2020-12-21 21:22:35.593 12579/T12583] B[0005]: /usr/bin/pihole-FTL(+0xc85fc) [0xaaaaceb855fc]
[2020-12-21 21:22:35.793 12579/T12583] L[0005]: /root/project/src/database/sqlite3.c:99950
[2020-12-21 21:22:35.824 12579/T12583] B[0006]: /usr/bin/pihole-FTL(+0xc8710) [0xaaaaceb85710]
[2020-12-21 21:22:36.025 12579/T12583] L[0006]: /root/project/src/database/sqlite3.c:100130
[2020-12-21 21:22:36.056 12579/T12583] B[0007]: /usr/bin/pihole-FTL(+0xc7e98) [0xaaaaceb84e98]
[2020-12-21 21:22:36.255 12579/T12583] L[0007]: /root/project/src/database/sqlite3.c:100242
[2020-12-21 21:22:36.286 12579/T12583] B[0008]: /usr/bin/pihole-FTL(+0x139f00) [0xaaaacebf6f00]
[2020-12-21 21:22:36.486 12579/T12583] L[0008]: /root/project/src/database/sqlite3.c:111633
[2020-12-21 21:22:36.517 12579/T12583] B[0009]: /usr/bin/pihole-FTL(+0x13ae58) [0xaaaacebf7e58]
[2020-12-21 21:22:36.716 12579/T12583] L[0009]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 21:22:36.747 12579/T12583] B[0010]: /usr/bin/pihole-FTL(+0x13b9b0) [0xaaaacebf89b0]
[2020-12-21 21:22:36.949 12579/T12583] L[0010]: /root/project/src/database/sqlite3.c:127058
[2020-12-21 21:22:36.980 12579/T12583] B[0011]: /usr/bin/pihole-FTL(sqlite3_exec+0x5bc) [0xaaaacec06c34]
[2020-12-21 21:22:37.180 12579/T12583] L[0011]: /root/project/src/database/sqlite3.c:122099
[2020-12-21 21:22:37.212 12579/T12583] B[0012]: /usr/bin/pihole-FTL(+0x13bd7c) [0xaaaacebf8d7c]
[2020-12-21 21:22:37.412 12579/T12583] L[0012]: /root/project/src/database/sqlite3.c:127278
[2020-12-21 21:22:37.443 12579/T12583] B[0013]: /usr/bin/pihole-FTL(+0x14a7a8) [0xaaaacec077a8]
[2020-12-21 21:22:37.643 12579/T12583] L[0013]: /root/project/src/database/sqlite3.c:127349
[2020-12-21 21:22:37.674 12579/T12583] B[0014]: /usr/bin/pihole-FTL(+0x14a7f8) [0xaaaacec077f8]
[2020-12-21 21:22:37.878 12579/T12583] L[0014]: /root/project/src/database/sqlite3.c:127375
[2020-12-21 21:22:37.910 12579/T12583] B[0015]: /usr/bin/pihole-FTL(+0x14ae58) [0xaaaacec07e58]
[2020-12-21 21:22:38.110 12579/T12583] L[0015]: /root/project/src/database/sqlite3.c:109478
[2020-12-21 21:22:38.141 12579/T12583] B[0016]: /usr/bin/pihole-FTL(+0x14bc48) [0xaaaacec08c48]
[2020-12-21 21:22:38.341 12579/T12583] L[0016]: /root/project/src/database/sqlite3.c:132826
[2020-12-21 21:22:38.372 12579/T12583] B[0017]: /usr/bin/pihole-FTL(+0xbef3c) [0xaaaaceb7bf3c]
[2020-12-21 21:22:38.572 12579/T12583] L[0017]: /root/project/src/database/sqlite3.c:96750
[2020-12-21 21:22:38.603 12579/T12583] B[0018]: /usr/bin/pihole-FTL(+0xbf1c8) [0xaaaaceb7c1c8]
[2020-12-21 21:22:38.807 12579/T12583] L[0018]: /root/project/src/database/sqlite3.c:96638
[2020-12-21 21:22:38.839 12579/T12583] B[0019]: /usr/bin/pihole-FTL(+0xbf248) [0xaaaaceb7c248]
[2020-12-21 21:22:39.038 12579/T12583] L[0019]: /root/project/src/database/sqlite3.c:96667
[2020-12-21 21:22:39.069 12579/T12583] B[0020]: /usr/bin/pihole-FTL(+0xbef4c) [0xaaaaceb7bf4c]
[2020-12-21 21:22:39.284 12579/T12583] L[0020]: /root/project/src/database/sqlite3.c:96680
[2020-12-21 21:22:39.315 12579/T12583] B[0021]: /usr/bin/pihole-FTL(+0xbf994) [0xaaaaceb7c994]
[2020-12-21 21:22:39.521 12579/T12583] L[0021]: /root/project/src/database/sqlite3.c:133200
[2020-12-21 21:22:39.553 12579/T12583] B[0022]: /usr/bin/pihole-FTL(+0x124c88) [0xaaaacebe1c88]
[2020-12-21 21:22:39.754 12579/T12583] L[0022]: /root/project/src/database/sqlite3.c:133638
[2020-12-21 21:22:39.786 12579/T12583] B[0023]: /usr/bin/pihole-FTL(+0x134da4) [0xaaaacebf1da4]
[2020-12-21 21:22:39.985 12579/T12583] L[0023]: /root/project/src/database/sqlite3.c:155888
[2020-12-21 21:22:40.016 12579/T12583] B[0024]: /usr/bin/pihole-FTL(+0x13ae58) [0xaaaacebf7e58]
[2020-12-21 21:22:40.220 12579/T12583] L[0024]: /root/project/src/database/sqlite3.c:127579
[2020-12-21 21:22:40.251 12579/T12583] B[0025]: /usr/bin/pihole-FTL(+0x13b344) [0xaaaacebf8344]
[2020-12-21 21:22:40.479 12579/T12583] L[0025]: /root/project/src/database/sqlite3.c:127650
[2020-12-21 21:22:40.510 12579/T12583] B[0026]: /usr/bin/pihole-FTL(+0x5eb74) [0xaaaaceb1bb74]
[2020-12-21 21:22:40.545 12579/T12583] L[0026]: /root/project/src/database/gravity-db.c:147
[2020-12-21 21:22:40.551 12579/T12583] B[0027]: /usr/bin/pihole-FTL(gravityDB_reopen+0x64) [0xaaaaceb1cfd4]
[2020-12-21 21:22:40.587 12579/T12583] L[0027]: /root/project/src/database/gravity-db.c:77
[2020-12-21 21:22:40.592 12579/T12583] B[0028]: /usr/bin/pihole-FTL(FTL_reload_all_domainlists+0x40) [0xaaaaceb04698]
[2020-12-21 21:22:40.626 12579/T12583] L[0028]: /root/project/src/datastructure.c:485
[2020-12-21 21:22:40.630 12579/T12583] B[0029]: /usr/bin/pihole-FTL(DB_thread+0x184) [0xaaaaceb1b6fc]
[2020-12-21 21:22:40.666 12579/T12583] L[0029]: /root/project/src/database/database-thread.c:84
[2020-12-21 21:22:40.672 12579/T12583] B[0030]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffffa4cd07e4]
[2020-12-21 21:22:40.672 12579/T12583] B[0031]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffffa4c26adc]
[2020-12-21 21:22:40.672 12579/T12583] ------ Listing content of directory /dev/shm ------
[2020-12-21 21:22:40.672 12579/T12583] File Mode User:Group  Filesize Filename
[2020-12-21 21:22:40.672 12579/T12583] rwxrwxrwx root:root 260 .
[2020-12-21 21:22:40.672 12579/T12583] rwxr-xr-x root:root 3K ..
[2020-12-21 21:22:40.672 12579/T12583] rw------- pihole:pihole 4K FTL-per-client-regex
[2020-12-21 21:22:40.673 12579/T12583] rw------- pihole:pihole 4K FTL-dns-cache
[2020-12-21 21:22:40.673 12579/T12583] rw------- pihole:pihole 45K FTL-overTime
[2020-12-21 21:22:40.673 12579/T12583] rw------- pihole:pihole 786K FTL-queries
[2020-12-21 21:22:40.673 12579/T12583] rw------- pihole:pihole 20K FTL-upstreams
[2020-12-21 21:22:40.673 12579/T12583] rw------- pihole:pihole 176K FTL-clients
[2020-12-21 21:22:40.674 12579/T12583] rw------- pihole:pihole 98K FTL-domains
[2020-12-21 21:22:40.674 12579/T12583] rw------- pihole:pihole 29K FTL-strings
[2020-12-21 21:22:40.674 12579/T12583] rw------- pihole:pihole 12 FTL-settings
[2020-12-21 21:22:40.674 12579/T12583] rw------- pihole:pihole 144 FTL-counters
[2020-12-21 21:22:40.674 12579/T12583] rw------- pihole:pihole 56 FTL-lock
[2020-12-21 21:22:40.674 12579/T12583] ---------------------------------------------------
[2020-12-21 21:22:40.674 12579/T12583] Please also include some lines from above the !!!!!!!!! header.
[2020-12-21 21:22:40.674 12579/T12583] Thank you for helping us to improve our FTL engine!
[2020-12-21 21:22:40.674 12579/T12583] FTL terminated!

@yubiuser
Copy link
Member Author

And another location

[2021-03-28 14:46:29.199 11187/T11191]    Option "ndash" not known, ignoring it.
[2021-03-28 14:46:29.217 11187/T11191] Compiled 2 whitelist and 25 blacklist regex filters for 2 clients in 19.0 msec
[2021-03-28 14:46:29.795 11187M] Received: Real-time signal 0 (34 -> 0)
[2021-03-28 14:46:30.184 11187M] Received: Real-time signal 0 (34 -> 0)
[2021-03-28 14:46:30.238 11187/T11191]    Option "ndash" not known, ignoring it.
[2021-03-28 14:46:30.252 11187/T11191] Compiled 2 whitelist and 25 blacklist regex filters for 2 clients in 19.3 msec
[2021-03-28 14:46:30.252 11187/T13525] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-03-28 14:46:30.252 11187/T13525] ---------------------------->  FTL crashed!  <----------------------------
[2021-03-28 14:46:30.252 11187/T13525] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-03-28 14:46:30.252 11187/T13525] Please report a bug at https://github.com/pi-hole/FTL/issues
[2021-03-28 14:46:30.252 11187/T13525] and include in your report already the following details:
[2021-03-28 14:46:30.253 11187/T13525] FTL has been running for 1241 seconds
[2021-03-28 14:46:30.253 11187/T13525] FTL branch: development
[2021-03-28 14:46:30.253 11187/T13525] FTL version: vDev-cd4e93e
[2021-03-28 14:46:30.253 11187/T13525] FTL commit: cd4e93e2
[2021-03-28 14:46:30.253 11187/T13525] FTL date: 2021-03-28 08:43:01 +0200
[2021-03-28 14:46:30.253 11187/T13525] FTL user: started as pihole, ended as pihole
[2021-03-28 14:46:30.253 11187/T13525] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2021-03-28 14:46:30.253 11187/T13525] Process details: MID: 11187
[2021-03-28 14:46:30.253 11187/T13525]                  PID: 11187
[2021-03-28 14:46:30.253 11187/T13525]                  TID: 13525
[2021-03-28 14:46:30.253 11187/T13525]                  Name: telnet-16
[2021-03-28 14:46:30.253 11187/T13525] Received signal: Segmentation fault
[2021-03-28 14:46:30.253 11187/T13525]      at address: (nil)
[2021-03-28 14:46:30.254 11187/T13525]      with code:  SEGV_MAPERR (Address not mapped to object)
[2021-03-28 14:46:30.254 11187/T13525] Backtrace:
[2021-03-28 14:46:30.255 11187/T13525] B[0000]: /usr/bin/pihole-FTL(+0x5c914) [0xaaaaaf27c914]
[2021-03-28 14:46:30.295 11187/T13525] L[0000]: /root/project/src/signals.c:191
[2021-03-28 14:46:30.301 11187/T13525] B[0001]: linux-vdso.so.1(__kernel_rt_sigreturn+0) [0xffff892277c0]
[2021-03-28 14:46:30.301 11187/T13525] B[0002]: /usr/bin/pihole-FTL(find_equals+0x18) [0xaaaaaf279af8]
[2021-03-28 14:46:30.345 11187/T13525] L[0002]: /root/project/src/setupVars.c:38
[2021-03-28 14:46:30.351 11187/T13525] B[0003]: /usr/bin/pihole-FTL(+0x485dc) [0xaaaaaf2685dc]
[2021-03-28 14:46:30.388 11187/T13525] L[0003]: /root/project/src/config.c:573
[2021-03-28 14:46:30.393 11187/T13525] B[0004]: /usr/bin/pihole-FTL(get_privacy_level+0x4c) [0xaaaaaf268a04]
[2021-03-28 14:46:30.433 11187/T13525] L[0004]: /root/project/src/config.c:614
[2021-03-28 14:46:30.438 11187/T13525] B[0005]: /usr/bin/pihole-FTL(getTopDomains+0x80) [0xaaaaaf27dd90]
[2021-03-28 14:46:30.475 11187/T13525] L[0005]: /root/project/src/api/api.c:215
[2021-03-28 14:46:30.481 11187/T13525] B[0006]: /usr/bin/pihole-FTL(process_request+0x1d4) [0xaaaaaf281504]
[2021-03-28 14:46:30.526 11187/T13525] L[0006]: /root/project/src/api/request.c:54
[2021-03-28 14:46:30.532 11187/T13525] B[0007]: /usr/bin/pihole-FTL(+0x61b80) [0xaaaaaf281b80]
[2021-03-28 14:46:30.571 11187/T13525] L[0007]: /root/project/src/api/socket.c:332
[2021-03-28 14:46:30.577 11187/T13525] B[0008]: /lib/aarch64-linux-gnu/libpthread.so.0(+0x77e4) [0xffff890fc7e4]
[2021-03-28 14:46:30.577 11187/T13525] B[0009]: /lib/aarch64-linux-gnu/libc.so.6(+0xcfadc) [0xffff89052adc]
[2021-03-28 14:46:30.577 11187/T13525] ------ Listing content of directory /dev/shm ------
[2021-03-28 14:46:30.577 11187/T13525] File Mode User:Group      Size  Filename
[2021-03-28 14:46:30.577 11187/T13525] rwxrwxrwx root:root       260   .
[2021-03-28 14:46:30.577 11187/T13525] rwxr-xr-x root:root         3K  ..
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole     4K  FTL-per-client-regex
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole     4K  FTL-dns-cache
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole    25K  FTL-overTime
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole   262K  FTL-queries
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole    20K  FTL-upstreams
[2021-03-28 14:46:30.578 11187/T13525] rw------- pihole:pihole   356K  FTL-clients
[2021-03-28 14:46:30.579 11187/T13525] rw------- pihole:pihole    12K  FTL-domains
[2021-03-28 14:46:30.579 11187/T13525] rw------- pihole:pihole    82K  FTL-strings
[2021-03-28 14:46:30.579 11187/T13525] rw------- pihole:pihole    12   FTL-settings
[2021-03-28 14:46:30.579 11187/T13525] rw------- pihole:pihole   156   FTL-counters
[2021-03-28 14:46:30.579 11187/T13525] rw------- pihole:pihole    56   FTL-lock
[2021-03-28 14:46:30.579 11187/T13525] ---------------------------------------------------
[2021-03-28 14:46:30.580 11187/T13525] Please also include some lines from above the !!!!!!!!! header.
[2021-03-28 14:46:30.580 11187/T13525] Thank you for helping us to improve our FTL engine!
[2021-03-28 14:46:30.580 11187/T13525] Asking threads to cancel
[2021-03-28 14:46:30.581 11187/T13525] Waiting for threads to join
[2021-03-28 14:46:30.581 11187/T13525] All threads joined
[2021-03-28 14:46:30.583 11187/T13525] ########## FTL terminated after 20m 41s  (code 1)! ##########

@DL6ER
Copy link
Member

DL6ER commented Mar 29, 2021

Could you try running FTL in valgrind? Like described here: https://deploy-preview-485--pihole-docs.netlify.app/ftldns/valgrind/#command

@yubiuser
Copy link
Member Author

It won't start

==9771== 
==9771== Warning: Can't execute setuid/setgid/setcap executable: /usr/bin/pihole-FTL
==9771== Possible workaround: remove --trace-children=yes, if in effect
==9771== 

even without --trace-children=yes

@DL6ER
Copy link
Member

DL6ER commented Mar 29, 2021

Ah, yes. It complain about capabilities. Try

sudo setcap -r /usr/bin/pihole-FTL

@yubiuser
Copy link
Member Author

Ok. It started, but I'm not sure if it is/was running correctly. Immediate output of valgrind.log.

The web interface was showing "DNS service not running" and red circle FTL. It also did not answer any queries. I clicked on "Enable" in the web interface and DNS resolution was restored (but this started FTL outside of valgrind?).

Is there a way to disable/restart FTL inside valgrind?

@DL6ER
Copy link
Member

DL6ER commented Mar 30, 2021

Yes, it is expected that the web interface may not be able to determine the running status of FTL because FTL is wrapped inside valgrind and not really running as a separate process (see below). Everything on the we interface should still work overall, so you can also try the audit button, etc.

That it was not answering queries is strange. Please note that FTL runs a lot slower in valgrind, maybe it was still just starting (as in reading history from memory)?

Is there a way to disable/restart FTL inside valgrind?

No but this should not be necessary. Though, reload via kill -HUP <pid> should work. You can get the PID of FTL running inside FTL, e.g., from FTL's log. Because valgrind wraps so closely around FTL, pidof pihole-FTL and similar stuff may not work as expected (or not at all).

@DL6ER
Copy link
Member

DL6ER commented Mar 30, 2021

I should also say that your log snippet looks fine and there is no indication that FTL had exited. Note that the first exit comes from forking into daemon (background) mode so this always happens.

@yubiuser
Copy link
Member Author

Note that the first exit comes from forking into daemon (background) mode so this always happens.

Ok, this made me belief it exited.


So far I was not able to crash it running in valgrind. I run out of domains to audit/black/whitelist and to restore my database I had to kill the process (database was locked otherwise). Killing FTL produced some errors in valgrind (guess this is expected - or does valgrind "collect" errors and report all of them only at the end of a run?).
valgrind.log

@DL6ER
Copy link
Member

DL6ER commented Apr 1, 2021

or does valgrind "collect" errors and report all of them only at the end of a run?

Yes. If nothing too serious happens, the complete report will be given only at the end. This to avoid mentioning the same error potentially hundreds of times. It will just report this once instead and say it happened X times.

Errors like

==2314== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==2315== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s)
==2315==    at 0x494B284: __libc_sendmsg (sendmsg.c:28)
==2315==    by 0x494B284: sendmsg (sendmsg.c:25)
==2315==    by 0x18E613: send_from (forward.c:97)
==2315==    by 0x1917F7: reply_query (forward.c:1347)
==2315==    by 0x1865DF: check_dns_listeners (dnsmasq.c:1770)
==2315==    by 0x187E6F: main_dnsmasq (dnsmasq.c:1209)
==2315==    by 0x14ED4B: main (main.c:96)
==2315==  Address 0x1fff00003c is on thread 1's stack
==2315==  in frame #1, created by send_from (forward.c:34)
==2315==  Uninitialised value was created by a stack allocation
==2315==    at 0x18E548: send_from (forward.c:34)

are something we ignore, as they are difficult to solve and lie deeply in main_dnsmasq code.

We found three interesting things
==2315== Thread 8 telnet-17:
==2315== Invalid read of size 8
==2315==    at 0x22AE44: columnMem (sqlite3.c:84688)
==2315==    by 0x22AE44: sqlite3_column_int (sqlite3.c:84762)
==2315==    by 0x16F3EB: domain_in_list (gravity-db.c:1179)
==2315==    by 0x16F3EB: in_auditlist (gravity-db.c:1332)
==2315==    by 0x16600F: getTopDomains (api.c:314)
==2315==    by 0x169503: process_request (request.c:53)
==2315==    by 0x169B7F: telnet_connection_handler_thread (socket.c:331)
==2315==    by 0x49407E3: start_thread (pthread_create.c:486)
==2315==    by 0x4A37ADB: thread_start (clone.S:78)
==2315==  Address 0x4e89698 is 33,608 bytes inside a block of size 48,008 free'd
==2315==    at 0x4848FE0: free (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==2315==    by 0x23DB37: sqlite3LeaveMutexAndCloseZombie.part.537 (sqlite3.c:165403)
==2315==    by 0x23E213: sqlite3LeaveMutexAndCloseZombie (sqlite3.c:165184)
==2315==    by 0x23E213: sqlite3Close.part.538 (sqlite3.c:165240)
==2315==    by 0x16C44F: gravityDB_close.part.2 (gravity-db.c:950)
==2315==    by 0x15325B: cleanup (daemon.c:207)
==2315==    by 0x14ED7B: main (main.c:110)
==2315==  Block was alloc'd at
==2315==    at 0x4847E4C: malloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==2315==    by 0x20E32B: sqlite3MemMalloc (sqlite3.c:23979)
==2315==    by 0x1EA7EF: setupLookaside (sqlite3.c:164778)
==2315==    by 0x2673FF: openDatabase (sqlite3.c:167386)
==2315==    by 0x16C4EF: gravityDB_open.part.3 (gravity-db.c:119)
==2315==    by 0x16DAFB: gravityDB_open (gravity-db.c:110)
==2315==    by 0x16DAFB: gravityDB_reopen (gravity-db.c:210)
==2315==    by 0x153FF3: FTL_reload_all_domainlists (datastructure.c:463)
==2315==    by 0x16C177: DB_thread (database-thread.c:86)
==2315==    by 0x49407E3: start_thread (pthread_create.c:486)
==2315==    by 0x4A37ADB: thread_start (clone.S:78)
==2315== Invalid read of size 8
==2315==    at 0x22AE4C: columnMem (sqlite3.c:84688)
==2315==    by 0x22AE4C: sqlite3_column_int (sqlite3.c:84762)
==2315==    by 0x16F3EB: domain_in_list (gravity-db.c:1179)
==2315==    by 0x16F3EB: in_auditlist (gravity-db.c:1332)
==2315==    by 0x16600F: getTopDomains (api.c:314)
==2315==    by 0x169503: process_request (request.c:53)
==2315==    by 0x169B7F: telnet_connection_handler_thread (socket.c:331)
==2315==    by 0x49407E3: start_thread (pthread_create.c:486)
==2315==    by 0x4A37ADB: thread_start (clone.S:78)
==2315==  Address 0x4e89b60 is 34,832 bytes inside a block of size 48,008 free'd
==2315==    at 0x4848FE0: free (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==2315==    by 0x23DB37: sqlite3LeaveMutexAndCloseZombie.part.537 (sqlite3.c:165403)
==2315==    by 0x23E213: sqlite3LeaveMutexAndCloseZombie (sqlite3.c:165184)
==2315==    by 0x23E213: sqlite3Close.part.538 (sqlite3.c:165240)
==2315==    by 0x16C44F: gravityDB_close.part.2 (gravity-db.c:950)
==2315==    by 0x15325B: cleanup (daemon.c:207)
==2315==    by 0x14ED7B: main (main.c:110)
==2315==  Block was alloc'd at
==2315==    at 0x4847E4C: malloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==2315==    by 0x20E32B: sqlite3MemMalloc (sqlite3.c:23979)
==2315==    by 0x1EA7EF: setupLookaside (sqlite3.c:164778)
==2315==    by 0x2673FF: openDatabase (sqlite3.c:167386)
==2315==    by 0x16C4EF: gravityDB_open.part.3 (gravity-db.c:119)
==2315==    by 0x16DAFB: gravityDB_open (gravity-db.c:110)
==2315==    by 0x16DAFB: gravityDB_reopen (gravity-db.c:210)
==2315==    by 0x153FF3: FTL_reload_all_domainlists (datastructure.c:463)
==2315==    by 0x16C177: DB_thread (database-thread.c:86)
==2315==    by 0x49407E3: start_thread (pthread_create.c:486)
==2315==    by 0x4A37ADB: thread_start (clone.S:78)
==2315== Invalid read of size 4
==2315==    at 0x4942D34: pthread_mutex_lock (pthread_mutex_lock.c:67)
==2315==    by 0x22AE5F: sqlite3_mutex_enter (sqlite3.c:26247)
==2315==    by 0x22AE5F: columnMem (sqlite3.c:84688)
==2315==    by 0x22AE5F: sqlite3_column_int (sqlite3.c:84762)
==2315==    by 0x16F3EB: domain_in_list (gravity-db.c:1179)
==2315==    by 0x16F3EB: in_auditlist (gravity-db.c:1332)
==2315==    by 0x16600F: getTopDomains (api.c:314)
==2315==    by 0x169503: process_request (request.c:53)
==2315==    by 0x169B7F: telnet_connection_handler_thread (socket.c:331)
==2315==    by 0x49407E3: start_thread (pthread_create.c:486)
==2315==    by 0x4A37ADB: thread_start (clone.S:78)
==2315==  Address 0x534143202c6e6971 is not stack'd, malloc'd or (recently) free'd

However, I think they are not real because the invalid memory access happened when FTL was already shutting down and cleaning up the memory behind it. What does `/var/log/pihole-FTL.log` contain around the time you restarted FTL?

@yubiuser
Copy link
Member Author

yubiuser commented Apr 1, 2021

[2021-03-31 19:00:00.962 2315/T2319] Notice: Database size is 117.39 MB, deleted 963 rows
[2021-03-31 19:59:00.912 2315/T2319] Notice: Database size is 117.39 MB, deleted 446 rows
[2021-03-31 21:00:02.017 2315/T2319] Notice: Database size is 117.39 MB, deleted 640 rows
[2021-03-31 21:00:30.482 2315/T1944] SQLite3 message: cannot open file at line 40020 of [4c5e6c200a] (14)
[2021-03-31 21:00:30.501 2315/T1944] SQLite3 message: os_unix.c:40020: (0) open(/etc/pihole/gravity.db-journal) -  (14)
[2021-03-31 21:00:30.531 2315/T1944] SQLite3 message: statement aborts at 27: [SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);] a (776)
[2021-03-31 21:00:30.564 2315/T1944] domain_in_list("relay-client-c01.iocnt.net", 0x4e89698, auditlist): Failed to perform step: attempt to write a readonly database
[2021-03-31 21:08:59.581 2315M] Reloading DNS cache
[2021-03-31 21:08:59.652 2315M] Blocking status is enabled
[2021-03-31 21:09:45.750 2315M] Shutting down...
[2021-03-31 21:09:46.280 2315M] Finished final database update
[2021-03-31 21:09:46.324 2315M] Asking threads to cancel
[2021-03-31 21:09:46.774 2315M] Waiting for threads to join
[2021-03-31 21:09:47.324 2315M] All threads joined
[2021-03-31 21:09:47.508 2315/T2639] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-03-31 21:09:47.520 2315/T2639] ---------------------------->  FTL crashed!  <----------------------------
[2021-03-31 21:09:47.544 2315/T2639] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-03-31 21:09:47.552 2315/T2639] Please report a bug at https://github.com/pi-hole/FTL/issues
[2021-03-31 21:09:47.569 2315/T2639] and include in your report already the following details:
[2021-03-31 21:09:47.577 2315/T2639] FTL has been running for 52887 seconds
[2021-03-31 21:09:47.585 2315/T2639] FTL branch: development
[2021-03-31 21:09:47.612 2315M] ########## FTL terminated after 14h 41m 27s  (code 0)! ##########
[2021-03-31 21:09:47.618 2315/T2639] FTL version: vDev-cd4e93e

@yubiuser
Copy link
Member Author

yubiuser commented Apr 1, 2021

Is it normal that the log output of pihole-FTL.log is much less verbose in valgrind than bare metal?
Running it in valgrind doesn't log

[2021-04-01 20:25:34.108 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:34.604 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:35.021 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:36.351 1855/T1859]    Option "ndash" not known, ignoring it.
[2021-04-01 20:25:36.370 1855/T1859] Compiled 2 whitelist and 25 blacklist regex filters for 3 clients in 20.2 msec
[2021-04-01 20:25:36.479 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:36.615 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:36.743 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:36.852 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:36.959 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:37.388 1855/T1859]    Option "ndash" not known, ignoring it.
[2021-04-01 20:25:37.409 1855/T1859] Compiled 2 whitelist and 25 blacklist regex filters for 3 clients in 23.4 msec
[2021-04-01 20:25:37.926 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:38.385 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:38.430 1855/T1859]    Option "ndash" not known, ignoring it.
[2021-04-01 20:25:38.451 1855/T1859] Compiled 2 whitelist and 25 blacklist regex filters for 3 clients in 22.5 msec
[2021-04-01 20:25:39.431 1855M] Received: Real-time signal 0 (34 -> 0)
[2021-04-01 20:25:39.465 1855/T1859]    Option "ndash" not known, ignoring it.
[2021-04-01 20:25:39.487 1855/T1859] Compiled 2 whitelist and 25 blacklist regex filters for 3 clients in 23.0 msec

at all when I try to black/whitelist from the audit page.

@DL6ER
Copy link
Member

DL6ER commented Apr 2, 2021

Is it normal that the log output of pihole-FTL.log is much less verbose in valgrind than bare metal?

No, good catch! It seems like FTL is not receiving the signal to reload. This may also be why the crash isn't triggered. I'll check what needs to be changed and come back to you.

@DL6ER
Copy link
Member

DL6ER commented Apr 2, 2021

@yubiuser Please run

pihole checkout core tweak/FTLPID

This should allow the reload commands to work even when FTL is running inside valgrind.

@yubiuser
Copy link
Member Author

yubiuser commented Apr 2, 2021

Perfect, reloading works now. Although it did not crash, valgrind reported some errors.

valgrind.log

@yubiuser
Copy link
Member Author

yubiuser commented Apr 2, 2021

Crashing after receiving kill -TERM

[2021-04-02 20:45:03.509 27642M] Received: Real-time signal 0 (34 -> 0)
[2021-04-02 20:45:11.824 27642M] Received: Real-time signal 0 (34 -> 0)
[2021-04-02 20:45:11.920 27642M] Received: Real-time signal 0 (34 -> 0)
[2021-04-02 20:45:16.315 27642M] Received: Real-time signal 0 (34 -> 0)
[2021-04-02 20:45:26.819 27642M] Shutting down...
[2021-04-02 20:45:27.343 27642M] Finished final database update
[2021-04-02 20:45:27.474 27642M] Asking threads to cancel
[2021-04-02 20:45:27.897 27642M] Waiting for threads to join
[2021-04-02 20:45:28.382 27642M] All threads joined
[2021-04-02 20:45:28.665 27642/T29494] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-04-02 20:45:28.688 27642/T29494] ---------------------------->  FTL crashed!  <----------------------------
[2021-04-02 20:45:28.707 27642/T29494] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-04-02 20:45:28.718 27642/T29494] Please report a bug at https://github.com/pi-hole/FTL/issues
[2021-04-02 20:45:28.738 27642/T29494] and include in your report already the following details:
[2021-04-02 20:45:28.755 27642/T29494] FTL has been running for 262 seconds
[2021-04-02 20:45:28.768 27642/T29494] FTL branch: development
[2021-04-02 20:45:28.779 27642/T29494] FTL version: vDev-20fdf02
[2021-04-02 20:45:28.808 27642M] ########## FTL terminated after 4m 22s  (code 0)! ##########
[2021-04-02 20:45:28.809 27642/T29494] FTL commit: 20fdf02b

valgrind_1.log

@yubiuser
Copy link
Member Author

yubiuser commented Apr 2, 2021

Can it be a race condition? The moment I let it run bare metal I can trigger the crash immediately. Maybe it is due to FTL's slowness inside valgrind?

@DL6ER
Copy link
Member

DL6ER commented Apr 5, 2021

It shouldn't be possible to be a race-collision because all the API accessing works inside of global locks to avoid exactly this scenario. I checked the errors in your log.

Thread 9 telnet-18: Invalid read of size 4
==27642==    at 0x4942D34: pthread_mutex_lock (pthread_mutex_lock.c:67)
==27642==    by 0x22AE5F: sqlite3_mutex_enter (sqlite3.c:26247)
==27642==    by 0x22AE5F: columnMem (sqlite3.c:84688)
==27642==    by 0x22AE5F: sqlite3_column_int (sqlite3.c:84762)
==27642==    by 0x16F3EB: domain_in_list (gravity-db.c:1179)
==27642==    by 0x16F3EB: in_auditlist (gravity-db.c:1332)
==27642==    by 0x16600F: getTopDomains (api.c:314)
==27642==    by 0x169503: process_request (request.c:53)
==27642==    by 0x169B7F: telnet_connection_handler_thread (socket.c:331)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642==  Address 0x534143202c6e6971 is not stack'd, malloc'd or (recently) free'd

We don't really see where this is coming from. It really seems to be an SQLite3 engine error not caused by us, I'll try to figure out what is going on here.

X bytes in 1 blocks are definitely lost
==27642== Thread 1:
==27642== 10 bytes in 1 blocks are definitely lost in loss record 7 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x173C1B: getNameFromIP (network-table.c:1810)
==27642==    by 0x16CEC3: get_client_groupids (gravity-db.c:483)
==27642==    by 0x16F51F: gravityDB_get_regex_client_groups (gravity-db.c:1342)
==27642==    by 0x15ED3B: reload_per_client_regex (regex.c:429)
==27642==    by 0x15ED3B: read_regex_from_database (regex.c:560)
==27642==    by 0x15400B: FTL_reload_all_domainlists (datastructure.c:470)
==27642==    by 0x16C177: DB_thread (database-thread.c:86)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642== 
==27642== 16 bytes in 8 blocks are definitely lost in loss record 31 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x17157B: add_FTL_clients_to_network_table (network-table.c:704)
==27642==    by 0x17157B: parse_neighbor_cache (network-table.c:1367)
==27642==    by 0x16C157: DB_thread (database-thread.c:82)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642== 
==27642== 18 bytes in 1 blocks are definitely lost in loss record 34 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x173587: getMACfromIP (network-table.c:1667)
==27642==    by 0x16CDCF: get_client_groupids (gravity-db.c:367)
==27642==    by 0x16F51F: gravityDB_get_regex_client_groups (gravity-db.c:1342)
==27642==    by 0x15ED3B: reload_per_client_regex (regex.c:429)
==27642==    by 0x15ED3B: read_regex_from_database (regex.c:560)
==27642==    by 0x15400B: FTL_reload_all_domainlists (datastructure.c:470)
==27642==    by 0x16C177: DB_thread (database-thread.c:86)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642== 
==27642== 18 bytes in 1 blocks are definitely lost in loss record 35 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x173587: getMACfromIP (network-table.c:1667)
==27642==    by 0x16CDCF: get_client_groupids (gravity-db.c:367)
==27642==    by 0x16F51F: gravityDB_get_regex_client_groups (gravity-db.c:1342)
==27642==    by 0x15E973: reload_per_client_regex (regex.c:429)
==27642==    by 0x16EC23: gravityDB_reload_groups (gravity-db.c:1207)
==27642==    by 0x16EC23: gravityDB_client_check_again (gravity-db.c:1223)
==27642==    by 0x16EC23: in_whitelist (gravity-db.c:1235)
==27642==    by 0x155797: _FTL_check_blocking.isra.3.part.4 (dnsmasq_interface.c:283)
==27642==    by 0x156D83: _FTL_check_blocking (dnsmasq_interface.c:628)
==27642==    by 0x156D83: _FTL_new_query (dnsmasq_interface.c:761)
==27642==    by 0x190A77: receive_query (forward.c:1639)
==27642==    by 0x18664B: check_dns_listeners (dnsmasq.c:1797)
==27642== 
==27642== 18 bytes in 1 blocks are definitely lost in loss record 36 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x173587: getMACfromIP (network-table.c:1667)
==27642==    by 0x16CDCF: get_client_groupids (gravity-db.c:367)
==27642==    by 0x16E1D7: gravityDB_prepare_client_statements (gravity-db.c:839)
==27642==    by 0x16ED2F: in_whitelist (gravity-db.c:1242)
==27642==    by 0x155797: _FTL_check_blocking.isra.3.part.4 (dnsmasq_interface.c:283)
==27642==    by 0x156D83: _FTL_check_blocking (dnsmasq_interface.c:628)
==27642==    by 0x156D83: _FTL_new_query (dnsmasq_interface.c:761)
==27642==    by 0x190A77: receive_query (forward.c:1639)
==27642==    by 0x18664B: check_dns_listeners (dnsmasq.c:1797)
==27642==    by 0x187E6F: main_dnsmasq (dnsmasq.c:1209)
==27642== 
==27642== 27 bytes in 1 blocks are definitely lost in loss record 55 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x173C1B: getNameFromIP (network-table.c:1810)
==27642==    by 0x16CEC3: get_client_groupids (gravity-db.c:483)
==27642==    by 0x16F51F: gravityDB_get_regex_client_groups (gravity-db.c:1342)
==27642==    by 0x15E973: reload_per_client_regex (regex.c:429)
==27642==    by 0x16EC23: gravityDB_reload_groups (gravity-db.c:1207)
==27642==    by 0x16EC23: gravityDB_client_check_again (gravity-db.c:1223)
==27642==    by 0x16EC23: in_whitelist (gravity-db.c:1235)
==27642==    by 0x155797: _FTL_check_blocking.isra.3.part.4 (dnsmasq_interface.c:283)
==27642==    by 0x156D83: _FTL_check_blocking (dnsmasq_interface.c:628)
==27642==    by 0x156D83: _FTL_new_query (dnsmasq_interface.c:761)
==27642==    by 0x190A77: receive_query (forward.c:1639)
==27642==    by 0x18664B: check_dns_listeners (dnsmasq.c:1797)
==27642== 
==27642== 76 bytes in 8 blocks are definitely lost in loss record 110 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x171543: add_FTL_clients_to_network_table (network-table.c:702)
==27642==    by 0x171543: parse_neighbor_cache (network-table.c:1367)
==27642==    by 0x16C157: DB_thread (database-thread.c:82)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642== 
==27642== 132 bytes in 8 blocks are definitely lost in loss record 132 of 212
==27642==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==27642==    by 0x2E0D13: FTLcalloc (calloc.c:27)
==27642==    by 0x2E161F: FTLstrdup (strdup.c:26)
==27642==    by 0x17155F: add_FTL_clients_to_network_table (network-table.c:703)
==27642==    by 0x17155F: parse_neighbor_cache (network-table.c:1367)
==27642==    by 0x16C157: DB_thread (database-thread.c:82)
==27642==    by 0x49407E3: start_thread (pthread_create.c:486)
==27642==    by 0x4A37ADB: thread_start (clone.S:78)
==27642== 

Looking at the code, this can only happen when there are (severe enough) errors with the Gravity database. When you to reproduce this (or in case you still have the rotated log files), is there anything inside /var/log/pihole-FTL.log ?

How did you terminate FTL? It looks a bit like it was interrupted somewhere in between and haven't had a chance to properly clean up behind itself (hence all the definitely lost memory reports).

@yubiuser
Copy link
Member Author

yubiuser commented Apr 6, 2021

I haven't been at home the last days, rotating log /var/log/pihole-FTL.log.X does not exist anymore.

I terminate it with sudo kill -TERM PID

@DL6ER
Copy link
Member

DL6ER commented Apr 12, 2021

TERM should be okay. I'm not sure why aarch64 is behaving differently and why my Ubuntu an Raspberry Pi 3B+ isn't able to trigger the bug...

@yubiuser
Copy link
Member Author

I also have no idea... fresh logs from today (some new sqlite errors in valgrind). Still "the crash" did not happen inside valgrind.

pihole-FTL.log
[2021-04-12 11:47:59.597 26049M] Using log file /var/log/pihole-FTL.log
[2021-04-12 11:47:59.720 26049M] ########## FTL started! ##########
[2021-04-12 11:47:59.728 26049M] FTL branch: development
[2021-04-12 11:47:59.741 26049M] FTL version: vDev-5aceaaf
[2021-04-12 11:47:59.748 26049M] FTL commit: 5aceaafc
[2021-04-12 11:47:59.754 26049M] FTL date: 2021-04-11 05:42:24 +0200
[2021-04-12 11:47:59.762 26049M] FTL user: root
[2021-04-12 11:47:59.769 26049M] Compiled for aarch64 (compiled on CI) using aarch64-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
[2021-04-12 11:47:59.932 26049M] Creating mutex
[2021-04-12 11:48:00.037 26049M] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
[2021-04-12 11:48:00.047 26049M]    SOCKET_LISTENING: only local
[2021-04-12 11:48:00.055 26049M]    AAAA_QUERY_ANALYSIS: Show AAAA queries
[2021-04-12 11:48:00.130 26049M]    MAXDBDAYS: max age for stored queries is 90 days
[2021-04-12 11:48:00.142 26049M]    RESOLVE_IPV6: Resolve IPv6 addresses
[2021-04-12 11:48:00.150 26049M]    RESOLVE_IPV4: Resolve IPv4 addresses
[2021-04-12 11:48:00.160 26049M]    DBINTERVAL: saving to DB file every minute
[2021-04-12 11:48:00.170 26049M]    DBFILE: Using /etc/pihole/pihole-FTL.db
[2021-04-12 11:48:00.177 26049M]    MAXLOGAGE: Importing up to 24.0 hours of log data
[2021-04-12 11:48:00.195 26049M]    PRIVACYLEVEL: Set to 0
[2021-04-12 11:48:00.199 26049M]    IGNORE_LOCALHOST: Show queries from localhost
[2021-04-12 11:48:00.216 26049M]    BLOCKINGMODE: Null IPs for blocked domains
[2021-04-12 11:48:00.219 26049M]    ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
[2021-04-12 11:48:00.227 26049M]    DBIMPORT: Importing history from database
[2021-04-12 11:48:00.237 26049M]    PIDFILE: Using /run/pihole-FTL.pid
[2021-04-12 11:48:00.242 26049M]    PORTFILE: Using /run/pihole-FTL.port
[2021-04-12 11:48:00.253 26049M]    SOCKETFILE: Using /run/pihole/FTL.sock
[2021-04-12 11:48:00.257 26049M]    SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2021-04-12 11:48:00.261 26049M]    MACVENDORDB: Using /etc/pihole/macvendor.db
[2021-04-12 11:48:00.265 26049M]    GRAVITYDB: Using /etc/pihole/gravity.db
[2021-04-12 11:48:00.273 26049M]    PARSE_ARP_CACHE: Active
[2021-04-12 11:48:00.281 26049M]    CNAME_DEEP_INSPECT: Active
[2021-04-12 11:48:00.290 26049M]    DELAY_STARTUP: No delay requested.
[2021-04-12 11:48:00.299 26049M]    BLOCK_ESNI: Enabled, blocking _esni.{blocked domain}
[2021-04-12 11:48:00.312 26049M]    NICE: Set process niceness to -10 (default)
[2021-04-12 11:48:00.323 26049M]    MAXNETAGE: Removing IP addresses and host names from network table after 90 days
[2021-04-12 11:48:00.333 26049M]    NAMES_FROM_NETDB: Enabled, trying to get names from network database
[2021-04-12 11:48:00.341 26049M]    EDNS0_ECS: Overwrite client from ECS information
[2021-04-12 11:48:00.350 26049M]    REFRESH_HOSTNAMES: Periodically refreshing IPv4 names
[2021-04-12 11:48:00.359 26049M]    RATE_LIMIT: Rate-limiting client making more than 1000 queries in 60 seconds
[2021-04-12 11:48:00.368 26049M]    REPLY_ADDR4: Automatic interface-dependent detection of address
[2021-04-12 11:48:00.377 26049M]    REPLY_ADDR6: Automatic interface-dependent detection of address
[2021-04-12 11:48:00.444 26049M] Finished config file parsing
[2021-04-12 11:48:00.453 26049M] WARNING: Starting pihole-FTL as user root is not recommended
[2021-04-12 11:48:02.378 26049M] Database version is 9
[2021-04-12 11:48:02.406 26049M] Imported 0 alias-clients
[2021-04-12 11:48:02.526 26049M] Database successfully initialized
[2021-04-12 11:48:02.828 26049M] Resizing "FTL-strings" from 40960 to (81920 * 1) == 81920 (/dev/shm: 737.3KB used, 516.2MB total, FTL uses 725.2KB)
[2021-04-12 11:48:02.884 26049M] New upstream server: 127.0.0.1:5335 (0/512)
[2021-04-12 11:48:03.646 26049M] Imported 178 queries from the long-term database
[2021-04-12 11:48:03.659 26049M]  -> Total DNS queries: 178
[2021-04-12 11:48:03.666 26049M]  -> Cached DNS queries: 7
[2021-04-12 11:48:03.672 26049M]  -> Forwarded DNS queries: 114
[2021-04-12 11:48:03.679 26049M]  -> Blocked DNS queries: 55
[2021-04-12 11:48:03.685 26049M]  -> Unknown DNS queries: 0
[2021-04-12 11:48:03.692 26049M]  -> Unique domains: 135
[2021-04-12 11:48:03.698 26049M]  -> Unique clients: 3
[2021-04-12 11:48:03.705 26049M]  -> Known forward destinations: 1
[2021-04-12 11:48:03.712 26049M] Successfully accessed setupVars.conf
[2021-04-12 11:48:04.511 26055M] PID of FTL process: 26055
[2021-04-12 11:48:06.123 26055/T26056] Listening on port 4711 for incoming IPv4 telnet connections
[2021-04-12 11:48:07.250 26055/T26058] Listening on Unix socket
[2021-04-12 11:48:07.926 26055M] INFO: FTL is running as root
[2021-04-12 11:48:08.118 26055/T26057] Listening on port 4711 for incoming IPv6 telnet connections
[2021-04-12 11:48:08.405 26055M] Reloading DNS cache
[2021-04-12 11:48:08.440 26055M] Blocking status is enabled
[2021-04-12 11:48:12.775 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 2457.7 msec
[2021-04-12 11:48:25.656 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:26.310 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:27.309 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 742.5 msec
[2021-04-12 11:48:27.461 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:27.641 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:28.394 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:29.270 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 737.2 msec
[2021-04-12 11:48:29.428 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:29.587 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:30.753 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:30.775 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:30.835 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:30.927 26055/T26063] get_client_groupids("10.0.1.5") - SQL error step: database is locked
[2021-04-12 11:48:31.241 26055/T26063] Compiled 0 whitelist and 24 blacklist regex filters for 3 clients in 747.7 msec
[2021-04-12 11:48:31.387 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:32.085 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:32.788 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:32.798 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:32.839 26055/T26063] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2021-04-12 11:48:32.866 26055/T26063] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2021-04-12 11:48:32.889 26055/T26063] get_client_groupids(): Gravity database not available
[2021-04-12 11:48:32.891 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:33.309 26055/T26063] Compiled 0 whitelist and 24 blacklist regex filters for 3 clients in 800.7 msec
[2021-04-12 11:48:33.472 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:34.121 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:34.840 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:35.277 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 760.2 msec
[2021-04-12 11:48:35.551 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:36.077 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:36.816 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:36.826 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:36.837 26055/T26063] SQLite3 message: database is locked in "SELECT EXISTS(SELECT domain, CASE WHEN substr(domain, 1, 1) = '*' THEN '*' || substr(:input, - length(domain) + 1) ELSE :input END matcher FROM domain_audit WHERE matcher = domain);" (5)
[2021-04-12 11:48:36.841 26055/T26063] gravityDB_open("SELECT EXISTS(... domain_audit ...)") - SQL error prepare: database is locked
[2021-04-12 11:48:36.845 26055/T26063] get_client_groupids(): Gravity database not available
[2021-04-12 11:48:36.927 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:37.263 26055/T26063] Compiled 0 whitelist and 24 blacklist regex filters for 3 clients in 723.5 msec
[2021-04-12 11:48:37.449 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:38.703 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:38.705 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:38.716 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:39.248 26055/T26063] Compiled 0 whitelist and 24 blacklist regex filters for 3 clients in 776.5 msec
[2021-04-12 11:48:39.439 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:40.456 26055/T26063] gravityDB_count(SELECT value FROM info WHERE property = 'gravity_count';) - SQL error step database is locked
[2021-04-12 11:48:40.463 26055/T26063] Count of gravity domains not available. Please run pihole -g
[2021-04-12 11:48:40.567 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:41.315 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 837.5 msec
[2021-04-12 11:48:41.490 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:42.240 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:43.249 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 686.6 msec
[2021-04-12 11:48:43.424 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:43.515 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:44.721 26055/T26063] get_client_groupids("10.0.1.5") - SQL error step: database is locked
[2021-04-12 11:48:44.809 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:45.173 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 706.4 msec
[2021-04-12 11:48:46.006 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:46.733 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:46.742 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:46.839 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:46.878 26055/T26063] get_client_groupids("10.0.1.5") - SQL error step: database is locked
[2021-04-12 11:48:47.155 26055/T26063] Compiled 0 whitelist and 24 blacklist regex filters for 3 clients in 672.3 msec
[2021-04-12 11:48:47.359 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:47.832 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:48.357 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_blacklist) - SQL error step database is locked
[2021-04-12 11:48:48.372 26055/T26063] WARN: Database query failed, assuming there are no blacklist regex entries
[2021-04-12 11:48:48.425 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:48.512 26055/T26063] gravityDB_count(SELECT COUNT(DISTINCT domain) FROM vw_regex_whitelist) - SQL error step database is locked
[2021-04-12 11:48:48.523 26055/T26063] WARN: Database query failed, assuming there are no whitelist regex entries
[2021-04-12 11:48:48.527 26055/T26063] Compiled 0 whitelist and 0 blacklist regex filters for 3 clients in 184.9 msec
[2021-04-12 11:48:50.501 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 742.2 msec
[2021-04-12 11:48:51.523 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:53.227 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:54.714 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:55.584 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 809.8 msec
[2021-04-12 11:48:55.807 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:55.898 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:56.000 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:56.094 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:56.483 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:57.552 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 701.9 msec
[2021-04-12 11:48:57.916 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:58.319 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:59.620 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 692.6 msec
[2021-04-12 11:48:59.844 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:48:59.948 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:00.214 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:01.907 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:01.984 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:04.783 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:05.356 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:05.956 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:07.018 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:07.831 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:08.790 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:10.341 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:12.661 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:13.363 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:14.183 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:15.562 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:16.232 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:16.940 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:17.028 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:17.789 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:19.249 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:19.336 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:21.021 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:22.915 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:22.999 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:31.843 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:31.921 26055/T26063] gravityDB_count(SELECT value FROM info WHERE property = 'gravity_count';) - SQL error step database is locked
[2021-04-12 11:49:31.924 26055/T26063] Count of gravity domains not available. Please run pihole -g
[2021-04-12 11:49:32.798 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 856.8 msec
[2021-04-12 11:49:33.551 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:35.271 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 804.0 msec
[2021-04-12 11:49:36.023 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:36.829 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:36.908 26055/T26063] gravityDB_count(SELECT value FROM info WHERE property = 'gravity_count';) - SQL error step database is locked
[2021-04-12 11:49:36.910 26055/T26063] Count of gravity domains not available. Please run pihole -g
[2021-04-12 11:49:37.804 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 875.5 msec
[2021-04-12 11:49:38.635 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:38.740 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:39.834 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 712.9 msec
[2021-04-12 11:49:40.565 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:40.660 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:41.736 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 702.8 msec
[2021-04-12 11:49:42.420 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:43.288 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:44.073 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 701.2 msec
[2021-04-12 11:49:44.906 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:45.001 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:46.190 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 801.4 msec
[2021-04-12 11:49:46.983 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:48.698 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 734.5 msec
[2021-04-12 11:49:49.535 26055M] Received: Real-time signal 0 (34 -> 0)
[2021-04-12 11:49:51.381 26055/T26063] Compiled 2 whitelist and 24 blacklist regex filters for 3 clients in 813.1 msec
[2021-04-12 11:50:11.610 26055M] Shutting down...
[2021-04-12 11:50:11.945 26055M] Finished final database update
[2021-04-12 11:50:11.959 26055M] Asking threads to cancel
[2021-04-12 11:50:12.257 26055M] Waiting for threads to join
[2021-04-12 11:50:12.691 26055M] All threads joined
[2021-04-12 11:50:12.727 26055/T26793] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-04-12 11:50:12.748 26055/T26793] ---------------------------->  FTL crashed!  <----------------------------
[2021-04-12 11:50:12.764 26055/T26793] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[2021-04-12 11:50:12.775 26055/T26793] Please report a bug at https://github.com/pi-hole/FTL/issues
[2021-04-12 11:50:12.789 26055/T26793] and include in your report already the following details:
[2021-04-12 11:50:12.803 26055/T26793] FTL has been running for 133 seconds
[2021-04-12 11:50:12.815 26055/T26793] FTL branch: development
[2021-04-12 11:50:12.823 26055/T26793] FTL version: vDev-5aceaaf
[2021-04-12 11:50:12.843 26055M] ########## FTL terminated after 2m 13s  (code 0)! ##########
valgrind.log
==26049== Memcheck, a memory error detector
==26049== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==26049== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==26049== Command: /usr/bin/pihole-FTL
==26049== 
==26049== Warning: invalid file descriptor 1024 in syscall close()
==26049== Warning: invalid file descriptor 1025 in syscall close()
==26049== Warning: invalid file descriptor 1026 in syscall close()
==26049== Warning: invalid file descriptor 1027 in syscall close()
==26049==    Use --log-fd=<number> to select an alternative log fd.
==26049== Warning: invalid file descriptor 1028 in syscall close()
==26049== Warning: invalid file descriptor 1029 in syscall close()
==26049== Warning: invalid file descriptor 1030 in syscall close()
==26055== Warning: ignored attempt to set SIGRT32 handler in sigaction();
==26055==          the SIGRT32 signal is used internally by Valgrind
FTL started!
==26049== 
==26049== HEAP SUMMARY:
==26049==     in use at exit: 1,140,208 bytes in 86 blocks
==26049==   total heap usage: 1,368 allocs, 1,282 frees, 2,374,142 bytes allocated
==26049== 
==26054== 
==26054== HEAP SUMMARY:
==26054==     in use at exit: 1,140,208 bytes in 86 blocks
==26054==   total heap usage: 1,365 allocs, 1,279 frees, 2,369,932 bytes allocated
==26054== 
==26049== LEAK SUMMARY:
==26049==    definitely lost: 0 bytes in 0 blocks
==26049==    indirectly lost: 0 bytes in 0 blocks
==26049==      possibly lost: 0 bytes in 0 blocks
==26049==    still reachable: 1,140,208 bytes in 86 blocks
==26049==                       of which reachable via heuristic:
==26049==                         length64           : 16 bytes in 1 blocks
==26049==         suppressed: 0 bytes in 0 blocks
==26049== Reachable blocks (those to which a pointer was found) are not shown.
==26049== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==26049== 
==26049== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26054== LEAK SUMMARY:
==26054==    definitely lost: 0 bytes in 0 blocks
==26054==    indirectly lost: 0 bytes in 0 blocks
==26054==      possibly lost: 0 bytes in 0 blocks
==26054==    still reachable: 1,140,208 bytes in 86 blocks
==26054==                       of which reachable via heuristic:
==26054==                         length64           : 16 bytes in 1 blocks
==26054==         suppressed: 0 bytes in 0 blocks
==26054== Reachable blocks (those to which a pointer was found) are not shown.
==26054== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==26054== 
==26054== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==26055== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s)
==26055==    at 0x494B284: __libc_sendmsg (sendmsg.c:28)
==26055==    by 0x494B284: sendmsg (sendmsg.c:25)
==26055==    by 0x18DBC3: send_from (forward.c:97)
==26055==    by 0x190DB7: reply_query (forward.c:1347)
==26055==    by 0x185B97: check_dns_listeners (dnsmasq.c:1770)
==26055==    by 0x18741F: main_dnsmasq (dnsmasq.c:1209)
==26055==    by 0x14ED73: main (main.c:96)
==26055==  Address 0x1fff00003c is on thread 1's stack
==26055==  in frame #1, created by send_from (forward.c:34)
==26055==  Uninitialised value was created by a stack allocation
==26055==    at 0x18DAF8: send_from (forward.c:34)
==26055== 
==26055== Thread 8 telnet-18:
==26055== Invalid read of size 4
==26055==    at 0x4942D34: pthread_mutex_lock (pthread_mutex_lock.c:67)
==26055==    by 0x22A3F7: sqlite3_mutex_enter (sqlite3.c:26248)
==26055==    by 0x22A3F7: columnMem (sqlite3.c:84689)
==26055==    by 0x22A3F7: sqlite3_column_int (sqlite3.c:84763)
==26055==    by 0x16F99B: domain_in_list (gravity-db.c:1179)
==26055==    by 0x16F99B: in_auditlist (gravity-db.c:1332)
==26055==    by 0x1655BF: getTopDomains (api.c:314)
==26055==    by 0x168AB3: process_request (request.c:53)
==26055==    by 0x16912F: telnet_connection_handler_thread (socket.c:331)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055==  Address 0x534143202c6e6971 is not stack'd, malloc'd or (recently) free'd
==26055== 
==26055== 
==26055== HEAP SUMMARY:
==26055==     in use at exit: 1,528,617 bytes in 491 blocks
==26055==   total heap usage: 129,558 allocs, 129,067 frees, 93,622,990 bytes allocated
==26055== 
==26055== Thread 1:
==26055== 4 bytes in 4 blocks are definitely lost in loss record 2 of 166
==26055==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x2E0403: FTLcalloc (calloc.c:27)
==26055==    by 0x2E0D27: FTLstrdup (strdup.c:26)
==26055==    by 0x171BFB: add_FTL_clients_to_network_table (network-table.c:704)
==26055==    by 0x171BFB: parse_neighbor_cache (network-table.c:1378)
==26055==    by 0x16C707: DB_thread (database-thread.c:82)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 38 bytes in 4 blocks are definitely lost in loss record 65 of 166
==26055==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x2E0403: FTLcalloc (calloc.c:27)
==26055==    by 0x2E0D27: FTLstrdup (strdup.c:26)
==26055==    by 0x171BC3: add_FTL_clients_to_network_table (network-table.c:702)
==26055==    by 0x171BC3: parse_neighbor_cache (network-table.c:1378)
==26055==    by 0x16C707: DB_thread (database-thread.c:82)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 66 bytes in 4 blocks are definitely lost in loss record 87 of 166
==26055==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x2E0403: FTLcalloc (calloc.c:27)
==26055==    by 0x2E0D27: FTLstrdup (strdup.c:26)
==26055==    by 0x171BDF: add_FTL_clients_to_network_table (network-table.c:703)
==26055==    by 0x171BDF: parse_neighbor_cache (network-table.c:1378)
==26055==    by 0x16C707: DB_thread (database-thread.c:82)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 120 bytes in 1 blocks are definitely lost in loss record 102 of 166
==26055==    at 0x4847E4C: malloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x49CB4DF: getdelim (iogetdelim.c:62)
==26055==    by 0x172857: getline (stdio.h:117)
==26055==    by 0x172857: add_local_interfaces_to_network_table (network-table.c:928)
==26055==    by 0x172857: parse_neighbor_cache (network-table.c:1384)
==26055==    by 0x16C707: DB_thread (database-thread.c:82)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 288 bytes in 1 blocks are possibly lost in loss record 126 of 166
==26055==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x400FBD7: allocate_dtv (dl-tls.c:286)
==26055==    by 0x401047F: _dl_allocate_tls (dl-tls.c:532)
==26055==    by 0x4941223: allocate_stack (allocatestack.c:621)
==26055==    by 0x4941223: pthread_create@@GLIBC_2.17 (pthread_create.c:669)
==26055==    by 0x169807: telnet_listening_thread_IPv4 (socket.c:443)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 156,206 (176 direct, 156,030 indirect) bytes in 1 blocks are definitely lost in loss record 164 of 166
==26055==    at 0x4847E4C: malloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x20D89B: sqlite3MemMalloc (sqlite3.c:23980)
==26055==    by 0x1F2753: sqlite3MallocZero (sqlite3.c:28134)
==26055==    by 0x1F2753: pcache1Create (sqlite3.c:50979)
==26055==    by 0x1E3E0B: sqlite3PcacheSetPageSize.part.27 (sqlite3.c:49640)
==26055==    by 0x24F60B: sqlite3PcacheSetPageSize (sqlite3.c:49626)
==26055==    by 0x24F60B: sqlite3PcacheOpen (sqlite3.c:49629)
==26055==    by 0x24F60B: sqlite3PagerOpen (sqlite3.c:57096)
==26055==    by 0x24F60B: sqlite3BtreeOpen (sqlite3.c:67464)
==26055==    by 0x2668DF: openDatabase (sqlite3.c:167352)
==26055==    by 0x16A18B: _dbopen (common.c:56)
==26055==    by 0x16C653: DB_thread (database-thread.c:42)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055== 
==26055== 1,120,000 bytes in 1 blocks are possibly lost in loss record 166 of 166
==26055==    at 0x484A164: calloc (in /usr/lib/aarch64-linux-gnu/valgrind/vgpreload_memcheck-arm64-linux.so)
==26055==    by 0x1BD2AB: safe_malloc (util.c:282)
==26055==    by 0x17B4CB: cache_init (cache.c:111)
==26055==    by 0x187B53: main_dnsmasq (dnsmasq.c:396)
==26055==    by 0x14ED73: main (main.c:96)
==26055== 
==26055== LEAK SUMMARY:
==26055==    definitely lost: 404 bytes in 14 blocks
==26055==    indirectly lost: 156,030 bytes in 133 blocks
==26055==      possibly lost: 1,120,288 bytes in 2 blocks
==26055==    still reachable: 251,895 bytes in 342 blocks
==26055==                       of which reachable via heuristic:
==26055==                         length64           : 184 bytes in 4 blocks
==26055==         suppressed: 0 bytes in 0 blocks
==26055== Reachable blocks (those to which a pointer was found) are not shown.
==26055== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==26055== 
==26055== ERROR SUMMARY: 10 errors from 9 contexts (suppressed: 0 from 0)
==26055== 
==26055== 1 errors in context 1 of 9:
==26055== Thread 8 telnet-18:
==26055== Invalid read of size 4
==26055==    at 0x4942D34: pthread_mutex_lock (pthread_mutex_lock.c:67)
==26055==    by 0x22A3F7: sqlite3_mutex_enter (sqlite3.c:26248)
==26055==    by 0x22A3F7: columnMem (sqlite3.c:84689)
==26055==    by 0x22A3F7: sqlite3_column_int (sqlite3.c:84763)
==26055==    by 0x16F99B: domain_in_list (gravity-db.c:1179)
==26055==    by 0x16F99B: in_auditlist (gravity-db.c:1332)
==26055==    by 0x1655BF: getTopDomains (api.c:314)
==26055==    by 0x168AB3: process_request (request.c:53)
==26055==    by 0x16912F: telnet_connection_handler_thread (socket.c:331)
==26055==    by 0x49407E3: start_thread (pthread_create.c:486)
==26055==    by 0x4A37ADB: thread_start (clone.S:78)
==26055==  Address 0x534143202c6e6971 is not stack'd, malloc'd or (recently) free'd
==26055== 
==26055== 
==26055== 2 errors in context 2 of 9:
==26055== Thread 1:
==26055== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s)
==26055==    at 0x494B284: __libc_sendmsg (sendmsg.c:28)
==26055==    by 0x494B284: sendmsg (sendmsg.c:25)
==26055==    by 0x18DBC3: send_from (forward.c:97)
==26055==    by 0x190DB7: reply_query (forward.c:1347)
==26055==    by 0x185B97: check_dns_listeners (dnsmasq.c:1770)
==26055==    by 0x18741F: main_dnsmasq (dnsmasq.c:1209)
==26055==    by 0x14ED73: main (main.c:96)
==26055==  Address 0x1fff00003c is on thread 1's stack
==26055==  in frame #1, created by send_from (forward.c:34)
==26055==  Uninitialised value was created by a stack allocation
==26055==    at 0x18DAF8: send_from (forward.c:34)
==26055== 
==26055== ERROR SUMMARY: 10 errors from 9 contexts (suppressed: 0 from 0)

To give you an idea how easy I can trigger it
Peek 2021-04-12 12-22

@DL6ER
Copy link
Member

DL6ER commented Apr 12, 2021

Do the recorded movie and the logs match? I though you weren't able to trigger a crash with valgrind attached.

@yubiuser
Copy link
Member Author

No, they don't match. The recording is with bare metal pihole-FTL.

@DL6ER
Copy link
Member

DL6ER commented Apr 12, 2021

So with valgrind the crash still doesn't happen ... too bad.

Please try again with valgrind and on branch

pihole ftl fix/cancel_api_threads

It is an attempt to fix the crash you see at shutdown time. I'm not sure where the crash comes from exactly (I'm guessing it is a dangling SQLite3 lock), so we'll see if the fix works. Maybe the shutdown itself is hanging with this fix.

@DL6ER
Copy link
Member

DL6ER commented Apr 12, 2021

I just updated the branch again.

@yubiuser
Copy link
Member Author

How many commits should be in the new branch? I only see one from today...

Trying to stop FTL via sudo kill -TERM PID did not terminate FTL completely (judging from missing line ########## FTL terminated after XXXs (code 0)! ##########

Last lines are

[2021-04-12 14:40:25.856 879M] Finished final database update
[2021-04-12 14:40:25.891 879M] Asking threads to cancel
[2021-04-12 14:40:26.236 879M] Waiting for threads to join
[2021-04-12 14:40:26.700 879M] All threads joined
[2021-04-12 14:40:26.709 879M] Joining API worker thread 0

Nothing more happens

@DL6ER
Copy link
Member

DL6ER commented Apr 12, 2021

Okay, this means that there was an API thread that could not be canceled/joined. Let's have another try...

@yubiuser
Copy link
Member Author

This worked, no crash, logs attached.

pihole-FTL.log
valgrind.log

@DL6ER
Copy link
Member

DL6ER commented Sep 11, 2021

The next version of FTL has been released. Please update and run

pihole checkout master

to get back on-track. The fix/feature branch you switched to will not receive any further updates.

Thanks for helping us to make Pi-hole better for us all!

If you have any issues, please either reopen this ticket or (preferably) create a new ticket describing the issues in further detail and only reference this ticket. This will help us to help you best.

@DL6ER DL6ER closed this as completed Sep 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants