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-03-09:09:21:35 debug log has been initialized.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v3.3-0-g1e87850
- *** [ DIAGNOSING ]: Web version
- [i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v3.3-0-ge48aa29
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v3.0 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 2.76
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.45
- *** [ DIAGNOSING ]: php version
- [i] 7.0.27
- *** [ DIAGNOSING ]: Operating system
- [✓] Raspbian GNU/Linux 9 (stretch)
- *** [ DIAGNOSING ]: SELinux
- [i] SELinux not detected
- *** [ DIAGNOSING ]: Processor
- *** [ DIAGNOSING ]: Networking
- [✓] IPv4 address(es) bound to the eth0 interface:
- 192.168.0.28/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the eth0 interface:
- fe80::da4f:5f84:1507:c608 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
- [] is in use by
- [53] is in use by dnsmasq
- [80] is in use by lighttpd
- [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 via localhost (127.0.0.1)
- [✗] Failed to resolve via Pi-hole (192.168.0.28)
- [✗] Failed to resolve doubleclick.com via a remote, public DNS server (8.8.8.8)
- *** [ DIAGNOSING ]: Pi-hole processes
- [✓] dnsmasq daemon is active
- [✓] lighttpd daemon is active
- [✓] pihole-FTL daemon is active
- *** [ DIAGNOSING ]: Setup variables
- PIHOLE_INTERFACE=eth0
- IPV4_ADDRESS=192.168.0.28/24
- IPV6_ADDRESS=
- PIHOLE_DNS_1=8.8.8.8
- PIHOLE_DNS_2=8.8.4.4
- QUERY_LOGGING=true
- INSTALL_WEB=true
- LIGHTTPD_ENABLED=1
- *** [ DIAGNOSING ]: Dashboard and block page
- [✗] X-Header does not match or could not be retrieved.
- HTTP/1.1 200 OK
- Content-type: text/html; charset=UTF-8
- Date: Fri, 09 Mar 2018 09:22:33 GMT
- Server: lighttpd/1.4.45
- [✓] X-Pi-hole: The Pi-hole Web interface is working!
- *** [ DIAGNOSING ]: Gravity list
- -----head of gravity.list------
- -----tail of gravity.list------
- *** [ DIAGNOSING ]: contents of /etc/pihole
- -rw-r--r-- 1 root root 633 Mar 9 09:03 /etc/pihole/adlists.default
- 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 234 Mar 9 09: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
- }
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1508 Mar 9 09:03 /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=eth0
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Mar 9 09: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" )
- 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 Mar 9 09:03 /etc/cron.d/pihole
- 57 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
- 17 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 257 Mar 9 09:03 /var/log/lighttpd/error.log
- 2018-03-09 09:01:54: (log.c.217) server started
- 2018-03-09 09:03:34: (server.c.1828) server stopped by UID = 0 PID = 1
- 2018-03-09 09:03:35: (log.c.217) server started
- 2018-03-09 09:03:35: (server.c.1295) WARNING: unknown config-key: alias.url (ignored)
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 4208 Mar 9 09:12 /var/log/pihole-FTL.log
- [2018-03-09 09:03:38.108]
- [2018-03-09 09:03:38.108] FTL branch: v3.0
- [2018-03-09 09:03:38.108] FTL version: v3.0
- [2018-03-09 09:03:38.108] FTL commit: a1b2fa03f8f3e3713b57a26a4e9a062fec0573d7
- [2018-03-09 09:03:38.108] FTL date: 2018-02-14 12:45:47 -0800
- [2018-03-09 09:03:38.108] FTL user: pihole
- [2018-03-09 09:03:38.109] Notice: Found no readable FTL config file
- [2018-03-09 09:03:38.109] Using default settings
- [2018-03-09 09:03:38.109] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
- [2018-03-09 09:03:38.109] SOCKET_LISTENING: only local
- [2018-03-09 09:03:38.109] QUERY_DISPLAY: Show queries
- [2018-03-09 09:03:38.109] AAAA_QUERY_ANALYSIS: Show AAAA queries
- [2018-03-09 09:03:38.109] MAXDBDAYS: max age for stored queries is 365 days
- [2018-03-09 09:03:38.109] RESOLVE_IPV6: Resolve IPv6 addresses
- [2018-03-09 09:03:38.109] RESOLVE_IPV4: Resolve IPv4 addresses
- [2018-03-09 09:03:38.109] DBINTERVAL: saving to DB file every minute
- [2018-03-09 09:03:38.109] DBFILE: Using /etc/pihole/pihole-FTL.db
- [2018-03-09 09:03:38.110] MAXLOGAGE: Importing up to 24.0 hours of log data
- [2018-03-09 09:03:38.110] Finished config file parsing
- [2018-03-09 09:03:38.119] Found no other running pihole-FTL process
- [2018-03-09 09:03:38.122] PID of FTL process: 9259
- [2018-03-09 09:03:38.122] Error: failed to read /etc/pihole/list.preEventHorizon
- [2018-03-09 09:03:38.122] Gravity list entries: -1
- [2018-03-09 09:03:38.122] No blacklist present
- [2018-03-09 09:03:38.123] No wildcard blocking list present
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 dnsmasq root 79549 Mar 9 09:15 /var/log/pihole.log
- -----head of pihole.log------
- Mar 9 09:03:33 dnsmasq[9073]: started, version 2.76 cachesize 10000
- Mar 9 09:03:33 dnsmasq[9073]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
- Mar 9 09:03:33 dnsmasq[9073]: warning: ignoring resolv-file flag because no-resolv is set
- Mar 9 09:03:33 dnsmasq[9073]: using nameserver 8.8.4.4#53
- Mar 9 09:03:33 dnsmasq[9073]: using nameserver 8.8.8.8#53
- Mar 9 09:03:33 dnsmasq[9073]: read /etc/hosts - 5 addresses
- Mar 9 09:03:33 dnsmasq[9073]: failed to load names from /etc/pihole/local.list: No such file or directory
- Mar 9 09:03:33 dnsmasq[9073]: failed to load names from /etc/pihole/black.list: No such file or directory
- Mar 9 09:03:33 dnsmasq[9073]: failed to load names from /etc/pihole/gravity.list: No such file or directory
- Mar 9 09:03:40 dnsmasq[9073]: 1 127.0.0.1/54213 query[AAAA] raw.githubusercontent.com from 127.0.0.1
- Mar 9 09:03:40 dnsmasq[9073]: 1 127.0.0.1/54213 forwarded raw.githubusercontent.com to 8.8.4.4
- Mar 9 09:03:40 dnsmasq[9073]: 1 127.0.0.1/54213 forwarded raw.githubusercontent.com to 8.8.8.8
- Mar 9 09:03:40 dnsmasq[9073]: 2 127.0.0.1/40449 query[PTR] 4.4.8.8.in-addr.arpa from 127.0.0.1
- Mar 9 09:03:40 dnsmasq[9073]: 2 127.0.0.1/40449 forwarded 4.4.8.8.in-addr.arpa to 8.8.4.4
- Mar 9 09:03:40 dnsmasq[9073]: 2 127.0.0.1/40449 forwarded 4.4.8.8.in-addr.arpa to 8.8.8.8
- Mar 9 09:03:41 dnsmasq[9073]: 3 127.0.0.1/47701 query[A] raw.githubusercontent.com from 127.0.0.1
- Mar 9 09:03:41 dnsmasq[9073]: 3 127.0.0.1/47701 forwarded raw.githubusercontent.com to 8.8.4.4
- Mar 9 09:03:41 dnsmasq[9073]: 3 127.0.0.1/47701 forwarded raw.githubusercontent.com to 8.8.8.8
- Mar 9 09:03:42 dnsmasq[9073]: 4 127.0.0.1/36338 query[AAAA] raw.githubusercontent.com from 127.0.0.1
- Mar 9 09:03:42 dnsmasq[9073]: 4 127.0.0.1/36338 forwarded raw.githubusercontent.com to 8.8.4.4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement