Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- his 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-09-11:00:09:06 debug log has been initialized.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v4.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.3.1-0-g1a741f6
- *** [ DIAGNOSING ]: Web version
- [i] Web: v4.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v4.3-0-g44aff727
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v4.3.1
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.45
- *** [ DIAGNOSING ]: php version
- [i] 7.0.33
- *** [ 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 wlan0 interface:
- 192.168.0.63/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the wlan0 interface:
- 2601:205:380:c56:a55c:2918:a43b:fd35 matches the IP found in /etc/pihole/setupVars.conf
- fe80::861c:1c90:6215:e0c7 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.0.1
- * Pinging 192.168.0.1...
- [✓] Gateway responded.
- [i] Default IPv6 gateway: fe80::12da:43ff:feee:ab3b
- * Pinging fe80::12da:43ff:feee:ab3b...
- [✓] Gateway responded.
- *** [ DIAGNOSING ]: Ports in use
- *:22 sshd (IPv4)
- *:22 sshd (IPv6)
- [*:80] is in use by lighttpd
- [*:80] is in use by lighttpd
- *:445 smbd (IPv6)
- *:139 smbd (IPv6)
- *:445 smbd (IPv4)
- *:139 smbd (IPv4)
- [*:53] is in use by pihole-FTL
- [*:53] is in use by pihole-FTL
- [127.0.0.1:4711] is in use by pihole-FTL
- [[::1]:4711] is in use by pihole-FTL
- *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
- [✗] Failed to resolve www.j962822.myjino.ru via localhost (127.0.0.1)
- [✗] Failed to resolve www.j962822.myjino.ru via Pi-hole (192.168.0.63)
- [✓] doubleclick.com is 172.217.164.110 via a remote, public DNS server (8.8.8.8)
- *** [ DIAGNOSING ]: Name resolution (IPv6) using a random blocked domain and a known ad-serving domain
- [✗] Failed to resolve ads.pader.de via localhost (::1)
- [✗] Failed to resolve ads.pader.de via Pi-hole (2601:205:380:c56:a55c:2918:a43b:fd35)
- [✓] doubleclick.com is 2607:f8b0:4005:804::200e via a remote, public DNS server (2001:4860:4860::8888)
- *** [ DIAGNOSING ]: Pi-hole processes
- [✓] lighttpd daemon is active
- [✓] pihole-FTL daemon is active
- *** [ DIAGNOSING ]: Setup variables
- BLOCKING_ENABLED=true
- PIHOLE_INTERFACE=wlan0
- IPV4_ADDRESS=192.168.0.63/24
- IPV6_ADDRESS=2601:205:380:c56:a55c:2918:a43b:fd35
- 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
- PIHOLE_DNS_3=208.67.222.222
- PIHOLE_DNS_4=208.67.220.220
- PIHOLE_DNS_5=2620:0:ccc::2
- PIHOLE_DNS_6=2620:0:ccd::2
- PIHOLE_DNS_7=1.1.1.1
- PIHOLE_DNS_8=1.0.0.1
- DNS_FQDN_REQUIRED=true
- DNS_BOGUS_PRIV=true
- DNSSEC=false
- CONDITIONAL_FORWARDING=false
- DHCP_ACTIVE=true
- DHCP_START=192.168.0.2
- DHCP_END=192.168.0.254
- DHCP_ROUTER=192.168.0.1
- DHCP_LEASETIME=24
- PIHOLE_DOMAIN=piholelan
- DHCP_IPv6=true
- DHCP_rapid_commit=true
- *** [ 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 31231340 Sep 10 23:14 /etc/pihole/gravity.list
- -----head of gravity.list------
- 0-0-----------------------------------------------------------0.com
- 0-0-0-0-0-0-0-0-0-0-0-0-0-1-0-0-0-0-0-0-0-0-0-0-0-0-0.info
- 0-0-0-0-0-0-0-0-0-0-0-0-0-10-0-0-0-0-0-0-0-0-0-0-0-0-0.info
- 0-0-0-0-0-0-0-0-0-0-0-0-0-18-0-0-0-0-0-0-0-0-0-0-0-0-0.info
- -----tail of gravity.list------
- zzzzz.cauction.hop.clickbank.net
- zzzzz.regmum.hop.clickbank.net
- zzzzzqp.com
- zzzzzz.com
- *** [ DIAGNOSING ]: contents of /etc/pihole
- -rw-r--r-- 1 root root 401 Sep 10 23:13 /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
- https://dbl.oisd.nl
- -rw-r--r-- 1 root root 84 Sep 10 23:41 /etc/pihole/blacklist.txt
- droiddownloads-0.download
- libreape.com
- o12zs3u2n.com
- informereng.com
- www.nutaku.net
- -rw-r--r-- 1 root root 134 Sep 10 23:14 /etc/pihole/local.list
- 192.168.0.63 retropie
- 2601:205:380:c56:a55c:2918:a43b:fd35 retropie
- 192.168.0.63 pi.hole
- 2601:205:380:c56:a55c:2918:a43b:fd35 pi.hole
- -rw-r--r-- 1 root root 234 Sep 10 23:03 /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 25 Oct 16 2018 /etc/pihole/whitelist.txt
- github.com
- s.youtube.com
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1657 Sep 10 23:24 /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
- log-facility=/var/log/pihole.log
- local-ttl=2
- log-async
- server=8.8.8.8
- server=8.8.4.4
- server=208.67.222.222
- server=208.67.220.220
- server=2620:0:ccc::2
- server=2620:0:ccd::2
- server=1.1.1.1
- server=1.0.0.1
- domain-needed
- bogus-priv
- interface=wlan0
- -rw-r--r-- 1 root root 641 Sep 10 23:24 /etc/dnsmasq.d/02-pihole-dhcp.conf
- dhcp-authoritative
- dhcp-range=192.168.0.2,192.168.0.254,24h
- dhcp-option=option:router,192.168.0.1
- dhcp-leasefile=/etc/pihole/dhcp.leases
- domain=piholelan
- dhcp-rapid-commit
- dhcp-option=option6:dns-server,[::]
- dhcp-range=::100,::1ff,constructor:wlan0,ra-names,slaac,24h
- ra-param=*,0,0
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3498 Sep 10 23:03 /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" )
- mimetype.assign = ( ".png" => "image/png",
- ".jpg" => "image/jpeg",
- ".jpeg" => "image/jpeg",
- ".html" => "text/html",
- ".css" => "text/css; charset=utf-8",
- ".js" => "application/javascript",
- ".json" => "application/json",
- ".txt" => "text/plain",
- ".svg" => "image/svg+xml" )
- include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
- 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 1704 Sep 10 23:03 /etc/cron.d/pihole
- 24 4 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity >/var/log/pihole_updateGravity.log || cat /var/log/pihole_updateGravity.log
- 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
- 58 15 * * * 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 3052 Sep 10 23:35 /var/log/lighttpd/error.log
- 2019-09-09 06:25:03: (server.c.1534) logfiles cycled UID = 0 PID = 18724
- 2019-09-09 18:32:49: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 18:33:31: (log.c.217) server started
- 2019-09-09 18:33:31: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 19:30:57: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 19:30:58: (log.c.217) server started
- 2019-09-09 19:30:58: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 19:45:21: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 19:45:41: (log.c.217) server started
- 2019-09-09 19:45:41: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 19:51:22: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 19:51:23: (log.c.217) server started
- 2019-09-09 19:51:23: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 20:02:14: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 20:02:14: (log.c.217) server started
- 2019-09-09 20:02:14: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 20:11:07: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 20:11:08: (log.c.217) server started
- 2019-09-09 20:11:08: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 20:46:22: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 20:46:41: (log.c.217) server started
- 2019-09-09 20:46:41: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- 2019-09-09 20:54:47: (server.c.1828) server stopped by UID = 0 PID = 1
- 2019-09-09 20:54:48: (log.c.217) server started
- 2019-09-09 20:54:48: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 0 Sep 11 00:00 /var/log/pihole-FTL.log
- -----head of pihole-FTL.log------
- -----tail of pihole-FTL.log------
- *** [ DIAGNOSING ]: contents of /dev/shm
- -rw------- 1 pihole pihole 323584 Sep 11 00:10 /dev/shm/FTL-clients
- -rw------- 1 pihole pihole 108 Sep 10 23:38 /dev/shm/FTL-counters
- -rw------- 1 pihole pihole 65536 Sep 10 23:40 /dev/shm/FTL-domains
- -rw------- 1 pihole pihole 12288 Sep 10 23:40 /dev/shm/FTL-forwarded
- -rw------- 1 pihole pihole 28 Sep 10 23:38 /dev/shm/FTL-lock
- -rw------- 1 pihole pihole 53248 Sep 10 23:38 /dev/shm/FTL-overTime
- -rw------- 1 pihole pihole 196608 Sep 10 23:59 /dev/shm/FTL-queries
- -rw------- 1 pihole pihole 12 Sep 10 23:38 /dev/shm/FTL-settings
- -rw------- 1 pihole pihole 4096 Sep 10 23:40 /dev/shm/FTL-strings
- *** [ DIAGNOSING ]: Locale
- LANG=
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 pihole pihole 140437 Sep 11 00:10 /var/log/pihole.log
- -----head of pihole.log------
- Sep 11 00:00:07 dnsmasq-dhcp[2282]: DHCPACK(wlan0) 192.168.0.148 68:37:e9:64:8e:5f amazon-dce62b144
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: RTR-SOLICIT(wlan0) 68:37:e9:64:8e:5f
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: RTR-ADVERT(wlan0) 2601:205:380:c56::
- Sep 11 00:00:10 dnsmasq[2282]: query[PTR] 167.0.168.192.in-addr.arpa from 127.0.0.1
- Sep 11 00:00:10 dnsmasq[2282]: DHCP 192.168.0.167 is amazon-a98423dfc.piholelan
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPDISCOVER(wlan0) 44:00:49:d8:b3:b9
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPOFFER(wlan0) 192.168.0.167 44:00:49:d8:b3:b9
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: RTR-SOLICIT(wlan0) 68:37:e9:64:8e:5f
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: RTR-ADVERT(wlan0) 2601:205:380:c56::
- Sep 11 00:00:10 dnsmasq[2282]: query[PTR] 167.0.168.192.in-addr.arpa from 127.0.0.1
- Sep 11 00:00:10 dnsmasq[2282]: DHCP 192.168.0.167 is amazon-a98423dfc.piholelan
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPDISCOVER(wlan0) 44:00:49:d8:b3:b9
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPOFFER(wlan0) 192.168.0.167 44:00:49:d8:b3:b9
- Sep 11 00:00:10 dnsmasq[2282]: query[PTR] 172.0.168.192.in-addr.arpa from 127.0.0.1
- Sep 11 00:00:10 dnsmasq[2282]: DHCP 192.168.0.172 is MUs-MacBook-Pro.piholelan
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPDISCOVER(wlan0) 44:00:49:7e:47:06
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPOFFER(wlan0) 192.168.0.161 44:00:49:7e:47:06
- Sep 11 00:00:10 dnsmasq[2282]: query[PTR] 66.0.168.192.in-addr.arpa from 127.0.0.1
- Sep 11 00:00:10 dnsmasq[2282]: DHCP 192.168.0.66 is BedroomAppleTV.piholelan
- Sep 11 00:00:10 dnsmasq-dhcp[2282]: DHCPDISCOVER(wlan0) 44:00:49:7e:47:06
- ********************************************
- ********************************************
- [✓] ** FINISHED DEBUGGING! **
- * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
- * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
- * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
- [i] Debug script running in automated mode
- * Using curl for transmission.
- ***********************************
- ***********************************
- [✓] Your debug token is: https://tricorder.pi-hole.net/u1fcs1cjyf
- ***********************************
- ***********************************
- * Provide the token above to the Pi-hole team for assistance at
- * https://discourse.pi-hole.net
- * Your log will self-destruct on our server after 48 hours.
- * A local copy of the debug log can be found at: /var/log/pihole_debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement