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-12-16:18:14:23 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-gaf8c926c
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v4.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 340:
- *** [ 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.23/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the wlan0 interface:
- fe80::5d28:1319:7dbd:5f07 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.
- *** [ DIAGNOSING ]: Ports in use
- [::1]:2947 systemd (IPv6)
- 127.0.0.1:2947 systemd (IPv4)
- *:22 sshd (IPv4)
- *:22 sshd (IPv6)
- *:53 pihole-FTL (IPv4)
- *:53 pihole-FTL (IPv6)
- 127.0.0.1:4711 pihole-FTL (IPv4)
- [::1]:4711 pihole-FTL (IPv6)
- *:80 lighttpd (IPv4)
- *:80 lighttpd (IPv6)
- *:8200 minidlnad (IPv4)
- *:20661 rslsync (IPv4)
- *:20661 rslsync (IPv6)
- 192.168.0.23:8888 rslsync (IPv4)
- *:445 smbd (IPv6)
- *:139 smbd (IPv6)
- *:445 smbd (IPv4)
- *:139 smbd (IPv4)
- *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
- [✓] www.chainblock.science is 0.0.0.0 via localhost (127.0.0.1)
- [✓] www.chainblock.science is 0.0.0.0 via Pi-hole (192.168.0.23)
- [✓] doubleclick.com is 216.58.198.238 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=wlan0
- IPV4_ADDRESS=192.168.0.23/24
- IPV6_ADDRESS=
- PIHOLE_DNS_1=8.8.8.8
- PIHOLE_DNS_2=8.8.4.4
- QUERY_LOGGING=true
- INSTALL_WEB_SERVER=true
- INSTALL_WEB_INTERFACE=true
- LIGHTTPD_ENABLED=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 3221746 Dec 16 03:58 /etc/pihole/gravity.list
- -----head of gravity.list------
- -x3.vindicosuite.com
- 0-hjsochvj-ios-1-2-3.mobile-sdk-api.intercom.io
- 0-jovd32f9-ios-7-0-1.mobile-sdk-api.intercom.io
- 0.0.0.0
- -----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 Nov 1 20:41 /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 Dec 6 18:18 /etc/pihole/blacklist.txt
- -rw-r--r-- 1 root root 47 Dec 16 03:58 /etc/pihole/local.list
- 192.168.0.23 raspberrypi3
- 192.168.0.23 pi.hole
- -rw-r--r-- 1 root root 234 Nov 1 20:43 /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 17 Dec 6 18:18 /etc/pihole/whitelist.txt
- thepiratebay.org
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1509 Nov 1 20:43 /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
- interface=wlan0
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Nov 1 20: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 Nov 1 20:43 /etc/cron.d/pihole
- 58 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
- 39 14 * * * 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 72 Dec 9 06:25 /var/log/lighttpd/error.log
- 2018-12-09 06:25:02: (server.c.1534) logfiles cycled UID = 0 PID = 362
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 355 Dec 16 15:59 /var/log/pihole-FTL.log
- -----head of pihole-FTL.log------
- [2018-12-16 03:58:06.354] Compiled 0 Regex filters and 1 whitelisted domains in 0.1 msec (0 errors)
- [2018-12-16 03:58:06.538] /etc/pihole/black.list: parsed 0 domains (took 0.0 ms)
- [2018-12-16 03:58:07.084] /etc/pihole/gravity.list: parsed 136335 domains (took 544.9 ms)
- [2018-12-16 15:59:00.090] Notice: Increasing overTime struct size from 2500 to 2600
- -----tail of pihole-FTL.log------
- [2018-12-16 03:58:06.354] Compiled 0 Regex filters and 1 whitelisted domains in 0.1 msec (0 errors)
- [2018-12-16 03:58:06.538] /etc/pihole/black.list: parsed 0 domains (took 0.0 ms)
- [2018-12-16 03:58:07.084] /etc/pihole/gravity.list: parsed 136335 domains (took 544.9 ms)
- [2018-12-16 15:59:00.090] Notice: Increasing overTime struct size from 2500 to 2600
- *** [ DIAGNOSING ]: Locale
- LANG=en_GB.UTF-8
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 pihole pihole 915579 Dec 16 18:14 /var/log/pihole.log
- -----head of pihole.log------
- Dec 16 00:01:45 dnsmasq[700]: 40906 192.168.0.12/13738 query[AAAA] kinesis.us-east-1.amazonaws.com from 192.168.0.12
- Dec 16 00:01:45 dnsmasq[700]: 40906 192.168.0.12/13738 forwarded kinesis.us-east-1.amazonaws.com to 8.8.4.4
- Dec 16 00:01:45 dnsmasq[700]: 40906 192.168.0.12/13738 reply kinesis.us-east-1.amazonaws.com is NODATA-IPv6
- Dec 16 00:01:45 dnsmasq[700]: 40907 192.168.0.12/27956 query[A] kinesis.us-east-1.amazonaws.com from 192.168.0.12
- Dec 16 00:01:45 dnsmasq[700]: 40907 192.168.0.12/27956 forwarded kinesis.us-east-1.amazonaws.com to 8.8.4.4
- Dec 16 00:01:45 dnsmasq[700]: 40907 192.168.0.12/27956 reply kinesis.us-east-1.amazonaws.com is 52.94.229.190
- Dec 16 00:05:12 dnsmasq[700]: 40908 192.168.0.12/32718 query[AAAA] ssl.google-analytics.com from 192.168.0.12
- Dec 16 00:05:12 dnsmasq[700]: 40908 192.168.0.12/32718 /etc/pihole/gravity.list ssl.google-analytics.com is ::
- Dec 16 00:05:12 dnsmasq[700]: 40909 192.168.0.12/33923 query[A] ssl.google-analytics.com from 192.168.0.12
- Dec 16 00:05:12 dnsmasq[700]: 40909 192.168.0.12/33923 /etc/pihole/gravity.list ssl.google-analytics.com is 0.0.0.0
- Dec 16 00:08:45 dnsmasq[700]: 40910 192.168.0.12/41262 query[AAAA] android.clients.google.com from 192.168.0.12
- Dec 16 00:08:45 dnsmasq[700]: 40910 192.168.0.12/41262 forwarded android.clients.google.com to 8.8.4.4
- Dec 16 00:08:46 dnsmasq[700]: 40910 192.168.0.12/41262 reply android.clients.google.com is <CNAME>
- Dec 16 00:08:46 dnsmasq[700]: 40910 192.168.0.12/41262 reply android.l.google.com is NODATA-IPv6
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 query[A] android.clients.google.com from 192.168.0.12
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 cached android.clients.google.com is <CNAME>
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 forwarded android.clients.google.com to 8.8.4.4
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 reply android.clients.google.com is <CNAME>
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 reply android.l.google.com is 216.58.213.110
- Dec 16 00:08:46 dnsmasq[700]: 40911 192.168.0.12/38410 reply android.l.google.com is 216.58.204.14
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement