Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
- The intent of this script is to allow users to self-diagnose their installations. This is accomplished by running tests against our software and providing the user with links to FAQ articles when a problem is detected. Since we are a small team and Pi-hole has been growing steadily, it is our hope that this will help us spend more time on development.
- NOTE: All log files auto-delete after 48 hours and ONLY the Pi-hole developers can access your data via the given token. We have taken these extra steps to secure your data and will work to further reduce any personal information gathered.
- *** [ INITIALIZING ]
- [i] 2019-02-10:14:36:17 debug log has been initialized.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v4.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.2.1-0-ge967fe2
- *** [ DIAGNOSING ]: Web version
- [i] Web: v4.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.2-0-g347994d
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v4.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 2.75
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.35
- *** [ DIAGNOSING ]: php version
- [i] 7.0.30
- *** [ DIAGNOSING ]: Operating system
- [✓] Ubuntu 16.04.5 LTS
- *** [ DIAGNOSING ]: SELinux
- [i] SELinux not detected
- *** [ DIAGNOSING ]: Processor
- [✓] armv7l
- *** [ DIAGNOSING ]: Networking
- [✓] IPv4 address(es) bound to the eth0 interface:
- 192.168.20.27/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the eth0 interface:
- fe80::b057:9eff:fe9b:2e97 does not match the IP found in /etc/pihole/setupVars.conf (https://discourse.pi-hole.net/t/use-ipv6-ula-addresses-for-pi-hole/2127)
- ^ Please note that you may have more than one IP address listed.
- As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.
- The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.
- [i] Default IPv4 gateway: 192.168.20.1
- * Pinging 192.168.20.1...
- [✓] Gateway responded.
- [i] Default IPv6 gateway: fe80::1af1:45ff:fe90:b67f
- * Pinging fe80::1af1:45ff:fe90:b67f...
- [✓] Gateway responded.
- *** [ DIAGNOSING ]: Ports in use
- *:22 sshd (IPv4)
- *:22 sshd (IPv6)
- 127.0.1.1:53 dnsmasq (IPv4)
- 192.168.20.27:53 pihole-FTL (IPv4)
- 127.0.0.1:53 pihole-FTL (IPv4)
- [fe80::b057:9eff:fe9b:2e97]:53 pihole-FTL (IPv6)
- [::1]:53 pihole-FTL (IPv6)
- 127.0.0.1:4711 pihole-FTL (IPv4)
- [::1]:4711 pihole-FTL (IPv6)
- *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
- [✓] affiliates.5dimes.com is 0.0.0.0 via localhost (127.0.0.1)
- [✓] affiliates.5dimes.com is 0.0.0.0 via Pi-hole (192.168.20.27)
- [✓] doubleclick.com is 216.58.200.110 via a remote, public DNS server (8.8.8.8)
- *** [ DIAGNOSING ]: Pi-hole processes
- [✗] dnsmasq daemon is inactive
- [✗] lighttpd daemon is failed
- [✓] pihole-FTL daemon is active
- *** [ DIAGNOSING ]: Setup variables
- DNSMASQ_LISTENING=single
- DNS_FQDN_REQUIRED=true
- DNS_BOGUS_PRIV=true
- DNSSEC=true
- CONDITIONAL_FORWARDING=false
- PIHOLE_INTERFACE=eth0
- IPV4_ADDRESS=192.168.20.27/24
- IPV6_ADDRESS=
- PIHOLE_DNS_1=1.1.1.1
- PIHOLE_DNS_2=1.0.0.1
- QUERY_LOGGING=false
- INSTALL_WEB_SERVER=true
- INSTALL_WEB_INTERFACE=true
- LIGHTTPD_ENABLED=true
- TEMPERATUREUNIT=C
- *** [ DIAGNOSING ]: Dashboard and block page
- [✗] Block page X-Header: X-Header does not match or could not be retrieved.
- [✗] Web interface X-Header: X-Header does not match or could not be retrieved.
- *** [ DIAGNOSING ]: Gravity list
- -rw-r--r-- 1 root root 2641491 Feb 10 13:52 /etc/pihole/gravity.list
- -----head of gravity.list------
- 0.0.0.0
- 0.r.msn.com
- 0.start.bz
- 000.0x1f4b0.com
- -----tail of gravity.list------
- zzz.clickbank.net
- zzzezeroe.fr
- zzzpooeaz-france.com
- zzzrtrcm2.com
- *** [ DIAGNOSING ]: contents of /etc/pihole
- -rw-r--r-- 1 root root 381 Sep 15 15:58 /etc/pihole/adlists.list
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
- https://mirror1.malwaredomains.com/files/justdomains
- http://sysctl.org/cameleon/hosts
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
- https://hosts-file.net/ad_servers.txt
- -rw-r--r-- 1 root root 0 Oct 1 13:10 /etc/pihole/blacklist.txt
- -rw-r--r-- 1 root root 45 Feb 10 13:52 /etc/pihole/local.list
- 192.168.20.27 sizzlepi
- 192.168.20.27 pi.hole
- -rw-r--r-- 1 root root 238 Sep 26 21:43 /etc/pihole/logrotate
- /var/log/pihole.log {
- su root syslog
- daily
- copytruncate
- rotate 5
- compress
- delaycompress
- notifempty
- nomail
- }
- /var/log/pihole-FTL.log {
- su root syslog
- weekly
- copytruncate
- rotate 3
- compress
- delaycompress
- notifempty
- nomail
- }
- -rw-r--r-- 1 root root 0 Oct 1 13:09 /etc/pihole/whitelist.txt
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1722 Oct 1 15:56 /etc/dnsmasq.d/01-pihole.conf
- addn-hosts=/etc/pihole/gravity.list
- addn-hosts=/etc/pihole/black.list
- addn-hosts=/etc/pihole/local.list
- localise-queries
- no-resolv
- cache-size=10000
- log-facility=/var/log/pihole.log
- local-ttl=2
- log-async
- server=1.1.1.1
- server=1.0.0.1
- domain-needed
- bogus-priv
- dnssec
- trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
- trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D
- interface=eth0
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Sep 26 21:43 /etc/lighttpd/lighttpd.conf
- server.modules = (
- "mod_access",
- "mod_accesslog",
- "mod_auth",
- "mod_expire",
- "mod_compress",
- "mod_redirect",
- "mod_setenv",
- "mod_rewrite"
- )
- server.document-root = "/var/www/html"
- server.error-handler-404 = "pihole/index.php"
- server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
- server.errorlog = "/var/log/lighttpd/error.log"
- server.pid-file = "/var/run/lighttpd.pid"
- server.username = "www-data"
- server.groupname = "www-data"
- server.port = 80
- accesslog.filename = "/var/log/lighttpd/access.log"
- accesslog.format = "%{%s}t|%V|%r|%s|%b"
- index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
- url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
- static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
- compress.cache-dir = "/var/cache/lighttpd/compress/"
- compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
- include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
- include_shell "/usr/share/lighttpd/create-mime.assign.pl"
- include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
- ' 2>/dev/null"
- $HTTP["url"] =~ "^/admin/" {
- setenv.add-response-header = (
- "X-Pi-hole" => "The Pi-hole Web interface is working!",
- "X-Frame-Options" => "DENY"
- )
- $HTTP["url"] =~ ".ttf$" {
- setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
- }
- }
- $HTTP["url"] =~ "^/admin/\.(.*)" {
- url.access-deny = ("")
- }
- include_shell "cat external.conf 2>/dev/null"
- *** [ DIAGNOSING ]: contents of /etc/cron.d
- -rw-r--r-- 1 root root 1496 Sep 26 21:43 /etc/cron.d/pihole
- 31 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity
- 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
- @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
- */10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
- 54 18 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
- @reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
- *** [ DIAGNOSING ]: contents of /var/log/lighttpd
- -rw-r--r-- 1 root root 0 Dec 11 20:00 /var/log/lighttpd/error.log
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 13944 Feb 10 13:52 /var/log/pihole-FTL.log
- -----head of pihole-FTL.log------
- [2019-02-09 04:07:13.681] Using log file /var/log/pihole-FTL.log
- [2019-02-09 04:07:13.682] ########## FTL started! ##########
- [2019-02-09 04:07:13.682] FTL branch: master
- [2019-02-09 04:07:13.687] FTL version: v4.2.1
- [2019-02-09 04:07:13.687] FTL commit: 5f98312
- [2019-02-09 04:07:13.687] FTL date: 2019-02-06 18:36:55 -0800
- [2019-02-09 04:07:13.687] FTL user: pihole
- [2019-02-09 04:07:13.690] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
- [2019-02-09 04:07:13.690] SOCKET_LISTENING: only local
- [2019-02-09 04:07:13.691] AAAA_QUERY_ANALYSIS: Show AAAA queries
- [2019-02-09 04:07:13.691] MAXDBDAYS: max age for stored queries is 365 days
- [2019-02-09 04:07:13.691] RESOLVE_IPV6: Resolve IPv6 addresses
- [2019-02-09 04:07:13.692] RESOLVE_IPV4: Resolve IPv4 addresses
- [2019-02-09 04:07:13.692] DBINTERVAL: saving to DB file every minute
- [2019-02-09 04:07:13.692] DBFILE: Using /etc/pihole/pihole-FTL.db
- [2019-02-09 04:07:13.693] MAXLOGAGE: Importing up to 24.0 hours of log data
- [2019-02-09 04:07:13.693] PRIVACYLEVEL: Set to 0
- [2019-02-09 04:07:13.693] IGNORE_LOCALHOST: Show queries from localhost
- [2019-02-09 04:07:13.694] BLOCKINGMODE: Null IPs for blocked domains
- [2019-02-09 04:07:13.694] REGEX_DEBUGMODE: Inactive
- [2019-02-09 04:07:13.695] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
- [2019-02-09 04:07:13.695] DBIMPORT: Importing history from database
- [2019-02-09 04:07:13.696] PIDFILE: Using /var/run/pihole-FTL.pid
- [2019-02-09 04:07:13.696] PORTFILE: Using /var/run/pihole-FTL.port
- [2019-02-09 04:07:13.696] SOCKETFILE: Using /var/run/pihole/FTL.sock
- [2019-02-09 04:07:13.697] WHITELISTFILE: Using /etc/pihole/whitelist.txt
- [2019-02-09 04:07:13.697] BLACKLISTFILE: Using /etc/pihole/black.list
- [2019-02-09 04:07:13.697] GRAVITYFILE: Using /etc/pihole/gravity.list
- [2019-02-09 04:07:13.698] REGEXLISTFILE: Using /etc/pihole/regex.list
- [2019-02-09 04:07:13.698] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
- [2019-02-09 04:07:13.698] AUDITLISTFILE: Using /etc/pihole/auditlog.list
- [2019-02-09 04:07:13.699] Finished config file parsing
- [2019-02-09 04:07:13.699] Compiled 0 Regex filters and 0 whitelisted domains in 0.4 msec (0 errors)
- [2019-02-09 04:07:13.709] Database successfully initialized
- [2019-02-09 04:07:13.713] New forward server: 1.0.0.1 (0/4096)
- -----tail of pihole-FTL.log------
- [2019-02-10 13:17:23.971] Resizing "/FTL-strings" from 20480 to 24576
- [2019-02-10 13:17:24.025] Resizing "/FTL-queries" from 229376 to 458752
- [2019-02-10 13:17:24.072] Resizing "/FTL-strings" from 24576 to 28672
- [2019-02-10 13:17:24.347] Resizing "/FTL-strings" from 28672 to 32768
- [2019-02-10 13:17:24.564] Resizing "/FTL-strings" from 32768 to 36864
- [2019-02-10 13:17:24.686] Resizing "/FTL-queries" from 458752 to 688128
- [2019-02-10 13:17:24.766] Resizing "/FTL-strings" from 36864 to 40960
- [2019-02-10 13:17:24.988] Resizing "/FTL-strings" from 40960 to 45056
- [2019-02-10 13:17:25.791] Resizing "/FTL-queries" from 688128 to 917504
- [2019-02-10 13:17:27.221] Resizing "/FTL-queries" from 917504 to 1146880
- [2019-02-10 13:17:28.093] Resizing "/FTL-queries" from 1146880 to 1376256
- [2019-02-10 13:17:28.905] Resizing "/FTL-queries" from 1376256 to 1605632
- [2019-02-10 13:17:29.757] Resizing "/FTL-queries" from 1605632 to 1835008
- [2019-02-10 13:17:30.853] Resizing "/FTL-queries" from 1835008 to 2064384
- [2019-02-10 13:17:31.419] Imported 35624 queries from the long-term database
- [2019-02-10 13:17:31.423] -> Total DNS queries: 35624
- [2019-02-10 13:17:31.423] -> Cached DNS queries: 1436
- [2019-02-10 13:17:31.423] -> Forwarded DNS queries: 7036
- [2019-02-10 13:17:31.423] -> Exactly blocked DNS queries: 2837
- [2019-02-10 13:17:31.423] -> Unknown DNS queries: 24315
- [2019-02-10 13:17:31.423] -> Unique domains: 1877
- [2019-02-10 13:17:31.424] -> Unique clients: 15
- [2019-02-10 13:17:31.424] -> Known forward destinations: 2
- [2019-02-10 13:17:31.424] Successfully accessed setupVars.conf
- [2019-02-10 13:17:31.485] PID of FTL process: 1152
- [2019-02-10 13:17:31.486] Listening on port 4711 for incoming IPv4 telnet connections
- [2019-02-10 13:17:31.490] Listening on port 4711 for incoming IPv6 telnet connections
- [2019-02-10 13:17:31.491] Listening on Unix socket
- [2019-02-10 13:17:31.500] Compiled 0 Regex filters and 0 whitelisted domains in 0.3 msec (0 errors)
- [2019-02-10 13:17:31.509] /etc/pihole/black.list: parsed 0 domains (took 0.3 ms)
- [2019-02-10 13:17:35.181] /etc/pihole/gravity.list: parsed 112857 domains (took 3669.3 ms)
- [2019-02-10 13:48:20.660] Resizing "/FTL-queries" from 2064384 to 2293760
- [2019-02-10 13:52:33.311] Compiled 0 Regex filters and 0 whitelisted domains in 0.2 msec (0 errors)
- [2019-02-10 13:52:33.770] /etc/pihole/black.list: parsed 0 domains (took 0.2 ms)
- [2019-02-10 13:52:35.915] /etc/pihole/gravity.list: parsed 112857 domains (took 2144.6 ms)
- *** [ DIAGNOSING ]: Locale
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
- LC_CTYPE="en_US.UTF-8"
- LC_NUMERIC="en_US.UTF-8"
- LC_TIME="en_US.UTF-8"
- LC_COLLATE="en_US.UTF-8"
- LC_MONETARY="en_US.UTF-8"
- LC_MESSAGES=en_US.UTF-8
- LC_PAPER="en_US.UTF-8"
- LC_NAME="en_US.UTF-8"
- LC_ADDRESS="en_US.UTF-8"
- LC_TELEPHONE="en_US.UTF-8"
- LC_MEASUREMENT="en_US.UTF-8"
- LC_IDENTIFICATION="en_US.UTF-8"
- LC_ALL=
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 pihole pihole 3571 Feb 10 13:52 /var/log/pihole.log
- -----head of pihole.log------
- Feb 9 04:06:58 dnsmasq[6332]: exiting on receipt of SIGTERM
- Feb 9 04:07:13 dnsmasq[6560]: started, version pi-hole-2.80 cachesize 10000
- Feb 9 04:07:13 dnsmasq[6560]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
- Feb 9 04:07:13 dnsmasq[6560]: DNSSEC validation enabled
- Feb 9 04:07:13 dnsmasq[6560]: configured with trust anchor for <root> keytag 20326
- Feb 9 04:07:13 dnsmasq[6560]: configured with trust anchor for <root> keytag 19036
- Feb 9 04:07:13 dnsmasq[6560]: using nameserver 1.0.0.1#53
- Feb 9 04:07:13 dnsmasq[6560]: using nameserver 1.1.1.1#53
- Feb 9 04:07:13 dnsmasq[6560]: read /etc/hosts - 6 addresses
- Feb 9 04:07:13 dnsmasq[6560]: read /etc/pihole/local.list - 2 addresses
- Feb 9 04:07:13 dnsmasq[6560]: read /etc/pihole/black.list - 0 addresses
- Feb 9 04:07:20 dnsmasq[6560]: read /etc/pihole/gravity.list - 112784 addresses
- Feb 9 04:07:56 dnsmasq[6560]: read /etc/hosts - 6 addresses
- Feb 9 04:07:56 dnsmasq[6560]: read /etc/pihole/local.list - 2 addresses
- Feb 9 04:07:56 dnsmasq[6560]: read /etc/pihole/black.list - 0 addresses
- Feb 9 04:07:59 dnsmasq[6560]: read /etc/pihole/gravity.list - 112857 addresses
- Feb 10 02:17:55 dnsmasq[1074]: started, version pi-hole-2.80 cachesize 10000
- Feb 10 02:17:55 dnsmasq[1074]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify dumpfile
- Feb 10 02:17:55 dnsmasq[1074]: DNSSEC validation enabled
- Feb 10 02:17:55 dnsmasq[1074]: configured with trust anchor for <root> keytag 20326
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement