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] 2018-09-27:15:17:02 debug log has been initialized.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.0-0-gddbdb51
- *** [ DIAGNOSING ]: Web version
- [i] Web: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.0-0-gaf8c926
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v4.0
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 340:
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.45
- *** [ DIAGNOSING ]: php version
- [i] 7.0.30
- *** [ DIAGNOSING ]: Operating system
- [✓] Raspbian GNU/Linux 9 (stretch)
- *** [ DIAGNOSING ]: SELinux
- [i] SELinux not detected
- *** [ DIAGNOSING ]: Processor
- [✓] armv7l
- *** [ DIAGNOSING ]: Networking
- [✓] IPv4 address(es) bound to the eth0 interface:
- 192.168.250.50/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the eth0 interface:
- fe80::488e:9b99:1f13:eafc 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.250.254
- * Pinging 192.168.250.254...
- [✓] Gateway responded.
- *** [ DIAGNOSING ]: Ports in use
- *:22 sshd (IPv4)
- *:22 sshd (IPv6)
- *:80 lighttpd (IPv4)
- *:80 lighttpd (IPv6)
- *:53 pihole-FTL (IPv4)
- *: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
- [✓] dagcoin.org is 0.0.0.0 via localhost (127.0.0.1)
- [✓] dagcoin.org is 0.0.0.0 via Pi-hole (192.168.250.50)
- [✓] doubleclick.com is 216.58.205.142 via a remote, public DNS server (8.8.8.8)
- *** [ DIAGNOSING ]: Pi-hole processes
- [✗] dnsmasq daemon is inactive
- [✓] lighttpd daemon is active
- [✓] pihole-FTL daemon is active
- *** [ DIAGNOSING ]: Setup variables
- PIHOLE_INTERFACE=eth0
- IPV4_ADDRESS=192.168.250.50/24
- IPV6_ADDRESS=
- QUERY_LOGGING=true
- INSTALL_WEB_SERVER=true
- INSTALL_WEB_INTERFACE=true
- LIGHTTPD_ENABLED=true
- DNSMASQ_LISTENING=single
- PIHOLE_DNS_1=8.8.8.8
- PIHOLE_DNS_2=8.8.4.4
- DNS_FQDN_REQUIRED=true
- DNS_BOGUS_PRIV=true
- DNSSEC=false
- CONDITIONAL_FORWARDING=false
- *** [ DIAGNOSING ]: Dashboard and block page
- [✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
- [✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
- *** [ DIAGNOSING ]: Gravity list
- -rw-r--r-- 1 root root 2994443 Sep 27 14:10 /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 27 13:44 /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 13 Sep 27 14:10 /etc/pihole/blacklist.txt
- facebook.com
- -rw-r--r-- 1 root root 50 Sep 27 14:10 /etc/pihole/local.list
- 192.168.250.50 raspberrypi
- 192.168.250.50 pi.hole
- -rw-r--r-- 1 root root 234 Sep 27 13:50 /etc/pihole/logrotate
- /var/log/pihole.log {
- su root root
- daily
- copytruncate
- rotate 5
- compress
- delaycompress
- notifempty
- nomail
- }
- /var/log/pihole-FTL.log {
- su root root
- weekly
- copytruncate
- rotate 3
- compress
- delaycompress
- notifempty
- nomail
- }
- -rw-r--r-- 1 root root 0 Sep 27 14:10 /etc/pihole/whitelist.txt
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1533 Sep 27 15:01 /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-queries=extra
- log-facility=/var/log/pihole.log
- local-ttl=2
- log-async
- server=8.8.8.8
- server=8.8.4.4
- domain-needed
- bogus-priv
- interface=eth0
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Sep 27 13:50 /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 27 13:50 /etc/cron.d/pihole
- 34 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
- 23 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 www-data www-data 389 Sep 27 14:32 /var/log/lighttpd/error.log
- 2018-09-27 13:48:38: (log.c.217) server started
- 2018-09-27 13:50:58: (server.c.1828) server stopped by UID = 0 PID = 1
- 2018-09-27 13:50:59: (log.c.217) server started
- 2018-09-27 14:03:54: (server.c.1828) server stopped by UID = 0 PID = 1
- 2018-09-27 14:04:33: (log.c.217) server started
- 2018-09-27 14:22:56: (log.c.217) server started
- 2018-09-27 14:32:16: (log.c.217) server started
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 21030 Sep 27 15:01 /var/log/pihole-FTL.log
- -----head of pihole-FTL.log------
- [2018-09-27 13:51:10.974] ########## FTL started! ##########
- [2018-09-27 13:51:10.974] FTL branch:
- [2018-09-27 13:51:10.974] FTL version: v4.0
- [2018-09-27 13:51:10.974] FTL commit: 8493df4
- [2018-09-27 13:51:10.974] FTL date: 2018-08-05 13:40:30 -0700
- [2018-09-27 13:51:10.974] FTL user: pihole
- [2018-09-27 13:51:10.974] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
- [2018-09-27 13:51:10.974] SOCKET_LISTENING: only local
- [2018-09-27 13:51:10.974] AAAA_QUERY_ANALYSIS: Show AAAA queries
- [2018-09-27 13:51:10.974] MAXDBDAYS: max age for stored queries is 365 days
- [2018-09-27 13:51:10.974] RESOLVE_IPV6: Resolve IPv6 addresses
- [2018-09-27 13:51:10.974] RESOLVE_IPV4: Resolve IPv4 addresses
- [2018-09-27 13:51:10.974] DBINTERVAL: saving to DB file every minute
- [2018-09-27 13:51:10.975] DBFILE: Using /etc/pihole/pihole-FTL.db
- [2018-09-27 13:51:10.975] MAXLOGAGE: Importing up to 24.0 hours of log data
- [2018-09-27 13:51:10.975] PRIVACYLEVEL: Set to 0
- [2018-09-27 13:51:10.975] IGNORE_LOCALHOST: Show queries from localhost
- [2018-09-27 13:51:10.975] BLOCKINGMODE: Null IPs for blocked domains
- [2018-09-27 13:51:10.975] REGEX_DEBUGMODE: Inactive
- [2018-09-27 13:51:10.975] Finished config file parsing
- [2018-09-27 13:51:10.975] INFO: No whitelist file found
- [2018-09-27 13:51:10.975] Compiled 0 Regex filters and -1 whitelisted domains in 0.1 msec (0 errors)
- [2018-09-27 13:51:10.975] db_init() - Cannot open database (14): unable to open database file
- [2018-09-27 13:51:10.975] Creating new (empty) database
- [2018-09-27 13:51:11.390] Database successfully initialized
- [2018-09-27 13:51:11.391] Imported 0 queries from the long-term database
- [2018-09-27 13:51:11.391] -> Total DNS queries: 0
- [2018-09-27 13:51:11.391] -> Cached DNS queries: 0
- [2018-09-27 13:51:11.391] -> Forwarded DNS queries: 0
- [2018-09-27 13:51:11.391] -> Exactly blocked DNS queries: 0
- [2018-09-27 13:51:11.391] -> Unknown DNS queries: 0
- [2018-09-27 13:51:11.391] -> Unique domains: 0
- [2018-09-27 13:51:11.391] -> Unique clients: 0
- [2018-09-27 13:51:11.391] -> Known forward destinations: 0
- [2018-09-27 13:51:11.391] Successfully accessed setupVars.conf
- -----tail of pihole-FTL.log------
- [2018-09-27 15:01:42.522] DBFILE: Using /etc/pihole/pihole-FTL.db
- [2018-09-27 15:01:42.522] MAXLOGAGE: Importing up to 24.0 hours of log data
- [2018-09-27 15:01:42.522] PRIVACYLEVEL: Set to 0
- [2018-09-27 15:01:42.522] IGNORE_LOCALHOST: Show queries from localhost
- [2018-09-27 15:01:42.522] BLOCKINGMODE: Null IPs for blocked domains
- [2018-09-27 15:01:42.522] REGEX_DEBUGMODE: Inactive
- [2018-09-27 15:01:42.522] Finished config file parsing
- [2018-09-27 15:01:42.522] Skipping empty regex filter on line 1
- [2018-09-27 15:01:42.523] Compiled 1 Regex filters and 0 whitelisted domains in 0.4 msec (0 errors)
- [2018-09-27 15:01:42.525] Database successfully initialized
- [2018-09-27 15:01:42.526] Notice: Increasing queries struct size from 0 to 10000
- [2018-09-27 15:01:42.526] Notice: Increasing domains struct size from 0 to 1000
- [2018-09-27 15:01:42.526] Notice: Increasing clients struct size from 0 to 10
- [2018-09-27 15:01:42.526] New forward server: 8.8.4.4 (0/0)
- [2018-09-27 15:01:42.526] Notice: Increasing forwarded struct size from 0 to 4
- [2018-09-27 15:01:42.526] Notice: Increasing overTime struct size from 0 to 100
- [2018-09-27 15:01:42.526] New forward server: 8.8.8.8 (1/4)
- [2018-09-27 15:01:42.532] Imported 462 queries from the long-term database
- [2018-09-27 15:01:42.532] -> Total DNS queries: 462
- [2018-09-27 15:01:42.532] -> Cached DNS queries: 24
- [2018-09-27 15:01:42.532] -> Forwarded DNS queries: 287
- [2018-09-27 15:01:42.532] -> Exactly blocked DNS queries: 71
- [2018-09-27 15:01:42.532] -> Unknown DNS queries: 80
- [2018-09-27 15:01:42.532] -> Unique domains: 110
- [2018-09-27 15:01:42.532] -> Unique clients: 2
- [2018-09-27 15:01:42.533] -> Known forward destinations: 2
- [2018-09-27 15:01:42.533] Successfully accessed setupVars.conf
- [2018-09-27 15:01:42.541] PID of FTL process: 1255
- [2018-09-27 15:01:42.542] Listening on port 4711 for incoming IPv4 telnet connections
- [2018-09-27 15:01:42.543] Listening on port 4711 for incoming IPv6 telnet connections
- [2018-09-27 15:01:42.543] Listening on Unix socket
- [2018-09-27 15:01:42.545] Skipping empty regex filter on line 1
- [2018-09-27 15:01:42.545] Compiled 1 Regex filters and 0 whitelisted domains in 0.4 msec (0 errors)
- [2018-09-27 15:01:42.546] /etc/pihole/black.list: parsed 1 domains (took 0.0 ms)
- [2018-09-27 15:01:43.407] /etc/pihole/gravity.list: parsed 130558 domains (took 860.8 ms)
- *** [ DIAGNOSING ]: Locale
- LANG=en_GB.UTF-8
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 pihole pihole 201961 Sep 27 15:17 /var/log/pihole.log
- -----head of pihole.log------
- Sep 27 13:51:11 dnsmasq[13429]: started, version pi-hole-2.79 cachesize 10000
- Sep 27 13:51:11 dnsmasq[13429]: 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
- Sep 27 13:51:11 dnsmasq[13429]: warning: failed to change owner of /var/log/pihole.log: Operation not permitted
- Sep 27 13:51:11 dnsmasq[13429]: using nameserver 8.8.4.4#53
- Sep 27 13:51:11 dnsmasq[13429]: using nameserver 8.8.8.8#53
- Sep 27 13:51:11 dnsmasq[13429]: read /etc/hosts - 5 addresses
- Sep 27 13:51:11 dnsmasq[13429]: failed to load names from /etc/pihole/local.list: No such file or directory
- Sep 27 13:51:11 dnsmasq[13429]: failed to load names from /etc/pihole/black.list: No such file or directory
- Sep 27 13:51:11 dnsmasq[13429]: failed to load names from /etc/pihole/gravity.list: No such file or directory
- Sep 27 13:51:12 dnsmasq[13429]: 1 127.0.0.1/56757 query[AAAA] raw.githubusercontent.com from 127.0.0.1
- Sep 27 13:51:12 dnsmasq[13429]: 1 127.0.0.1/56757 forwarded raw.githubusercontent.com to 8.8.4.4
- Sep 27 13:51:12 dnsmasq[13429]: 1 127.0.0.1/56757 forwarded raw.githubusercontent.com to 8.8.8.8
- Sep 27 13:51:12 dnsmasq[13429]: 1 127.0.0.1/56757 reply raw.githubusercontent.com is <CNAME>
- Sep 27 13:51:12 dnsmasq[13429]: 1 127.0.0.1/56757 reply github.map.fastly.net is NODATA-IPv6
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 query[A] raw.githubusercontent.com from 127.0.0.1
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 cached raw.githubusercontent.com is <CNAME>
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 forwarded raw.githubusercontent.com to 8.8.8.8
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 reply raw.githubusercontent.com is <CNAME>
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 reply github.map.fastly.net is 151.101.0.133
- Sep 27 13:51:12 dnsmasq[13429]: 2 127.0.0.1/44068 reply github.map.fastly.net is 151.101.64.133
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement