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-01-02:13:42:35 debug log has been initiated.
- *** [ INITIALIZING ] Sourcing setup variables
- [i] Sourcing /etc/pihole/setupVars.conf...
- *** [ DIAGNOSING ]: Core version
- [i] Core: v3.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v3.2.1-0-ge602008
- *** [ DIAGNOSING ]: Web version
- [i] Web: v3.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
- [i] Branch: master
- [i] Commit: v3.2.1-0-g31dddd8
- *** [ DIAGNOSING ]: FTL version
- [✓] FTL: v2.13.1
- *** [ DIAGNOSING ]: dnsmasq version
- [i] 2.76
- *** [ DIAGNOSING ]: lighttpd version
- [i] 1.4.44
- *** [ DIAGNOSING ]: php version
- [i] 7.0.22
- *** [ DIAGNOSING ]: Operating system
- [✓] Ubuntu 17.04
- *** [ DIAGNOSING ]: SELinux
- [i] SELinux not detected
- *** [ DIAGNOSING ]: Processor
- [i] x86_64
- *** [ DIAGNOSING ]: Networking
- [✓] IPv4 address(es) bound to the ens18 interface:
- 10.0.0.5/24 matches the IP found in /etc/pihole/setupVars.conf
- [✓] IPv6 address(es) bound to the ens18 interface:
- fe80::304d:83ff:fe6a:84b 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: 10.0.0.254
- * Pinging 10.0.0.254...
- [✓] Gateway responded.
- *** [ DIAGNOSING ]: Ports in use
- [] is in use by
- [22] is in use by sshd
- [5355] is in use by systemd-r
- [80] is in use by lighttpd
- [9100] is in use by node_expo
- [] is in use by
- [53] is in use by dnsmasq
- [4711] is in use by pihole-FTL
- [53] is in use by dnsmasq
- *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
- [✓] celibert.kegtux.org is 10.0.0.5 via localhost (127.0.0.1)
- [✓] celibert.kegtux.org is 10.0.0.5 via Pi-hole (10.0.0.5)
- [✓] doubleclick.com is 66.253.131.236 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
- TEMPERATUREUNIT=F
- WEBUIBOXEDLAYOUT=boxed
- DNSMASQ_LISTENING=single
- DNS_FQDN_REQUIRED=true
- DNS_BOGUS_PRIV=true
- DNSSEC=false
- PIHOLE_INTERFACE=ens18
- IPV4_ADDRESS=10.0.0.5/24
- IPV6_ADDRESS=
- PIHOLE_DNS_1=45.76.27.27
- PIHOLE_DNS_2=10.0.0.254
- 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
- Accept-Ranges: bytes
- ETag: "1161031336"
- Last-Modified: Mon, 20 Nov 2017 18:05:27 GMT
- Content-Length: 123
- Date: Tue, 02 Jan 2018 18:42:39 GMT
- Server: lighttpd/1.4.44
- [✓] X-Pi-hole: The Pi-hole Web interface is working!
- *** [ DIAGNOSING ]: Gravity list
- -rw-r--r-- 1 root root 3411289 Jan 2 10:59 /etc/pihole/gravity.list
- -----head of gravity.list------
- 10.0.0.5 0.0.0.0
- 10.0.0.5 0000mps.webpreview.dsl.net
- 10.0.0.5 0001.2waky.com
- 10.0.0.5 000dom.revenuedirect.com
- -----tail of gravity.list------
- 10.0.0.5 zzsyw.com
- 10.0.0.5 zztxdown.com
- 10.0.0.5 zzz.clickbank.net
- 10.0.0.5 zz.zeroredirect1.com
- *** [ DIAGNOSING ]: contents of /etc/pihole
- -rw-r--r-- 1 root root 672 Nov 20 13:26 /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
- http://someonewhocares.org/hosts/hosts
- -rw-r--r-- 1 root root 38 Jan 2 10:59 /etc/pihole/local.list
- 10.0.0.5 UbuntuS-DNS
- 10.0.0.5 pi.hole
- -rw-r--r-- 1 root root 238 Jan 2 10:59 /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 137 Nov 20 13:27 /etc/pihole/whitelist.txt
- raw.githubusercontent.com
- mirror1.malwaredomains.com
- sysctl.org
- zeustracker.abuse.ch
- s3.amazonaws.com
- hosts-file.net
- someonewhocares.org
- *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
- -rw-r--r-- 1 root root 1535 Jan 2 10:59 /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=45.76.27.27
- server=10.0.0.254
- domain-needed
- bogus-priv
- interface=ens18
- *** [ DIAGNOSING ]: contents of /etc/lighttpd
- -rw-r--r-- 1 root root 3027 Jan 2 10:59 /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 1630 Jan 2 10:59 /etc/cron.d/pihole
- 34 4 * * 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
- 27 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 195 Jan 2 10:59 /var/log/lighttpd/error.log
- 2018-01-01 06:25:01: (server.c.1534) logfiles cycled UID = 0 PID = 10475
- 2018-01-02 10:59:06: (server.c.1828) server stopped by UID = 0 PID = 1
- 2018-01-02 10:59:07: (log.c.217) server started
- *** [ DIAGNOSING ]: contents of /var/log
- -rw-r--r-- 1 pihole pihole 5176 Jan 2 12:46 /var/log/pihole-FTL.log
- [2018-01-02 00:00:01.439] NOTICE: pihole.log has been flushed
- [2018-01-02 00:00:01.439] Resetting internal data structure
- [2018-01-02 00:00:01.439] Queries in memory before flushing: 14947
- [2018-01-02 00:00:01.507] Gravity list entries: 107235
- [2018-01-02 00:00:01.507] No blacklist present
- [2018-01-02 00:00:01.507] No wildcard blocking list present
- [2018-01-02 00:00:01.507] Reading from /var/log/pihole.log.1 (rw-r--r--)
- [2018-01-02 00:00:01.507] Notice: Increasing queries struct size from 0 to 10000 (322.46 KB)
- [2018-01-02 00:00:01.507] Notice: Increasing overTime struct size from 0 to 100 (326.46 KB)
- [2018-01-02 00:00:01.507] Notice: Increasing domains struct size from 0 to 1000 (358.47 KB)
- [2018-01-02 00:00:01.507] Notice: Increasing clients struct size from 0 to 10 (358.73 KB)
- [2018-01-02 00:00:01.507] New client: 127.0.0.1 localhost (0/10)
- [2018-01-02 00:00:01.507] Notice: Increasing forwarded struct size from 0 to 4 (358.84 KB)
- [2018-01-02 00:00:01.903] New forward server: 10.0.0.254 gateway (0/4)
- [2018-01-02 00:00:02.056] New client: 10.1.0.2 (1/10)
- [2018-01-02 00:00:02.072] Notice: Increasing overTime struct size from 100 to 200 (365.85 KB)
- [2018-01-02 00:00:06.328] New forward server: 45.76.27.27 ns1.il.us.dns.opennic.glue (1/4)
- [2018-01-02 00:00:06.340] Reading from /var/log/pihole.log (rw-r--r--)
- [2018-01-02 08:14:42.284] Notice: Increasing queries struct size from 10000 to 20000 (691.84 KB)
- [2018-01-02 09:10:24.515] Notice: Increasing overTime struct size from 200 to 300 (695.89 KB)
- [2018-01-02 10:59:05.009] FATAL: FTL received SIGTERM from PID/UID 20951/0, scheduled to exit gracefully
- [2018-01-02 10:59:05.009] Shutting down...
- [2018-01-02 10:59:05.019]
- [2018-01-02 10:59:08.048]
- [2018-01-02 10:59:08.048] FTL branch: (no branch)
- *** [ DIAGNOSING ]: Pi-hole log
- -rw-r--r-- 1 dnsmasq root 1110429 Jan 2 13:42 /var/log/pihole.log
- -----head of pihole.log------
- Jan 2 00:00:01 dnsmasq[14891]: query[PTR] 254.0.0.10.in-addr.arpa from 127.0.0.1
- Jan 2 00:00:01 dnsmasq[14891]: config 10.0.0.254 is NXDOMAIN
- Jan 2 00:00:01 dnsmasq[14891]: query[PTR] 2.0.1.10.in-addr.arpa from 127.0.0.1
- Jan 2 00:00:01 dnsmasq[14891]: config 10.1.0.2 is NXDOMAIN
- Jan 2 00:00:02 dnsmasq[14891]: query[PTR] 27.27.76.45.in-addr.arpa from 127.0.0.1
- Jan 2 00:00:02 dnsmasq[14891]: forwarded 27.27.76.45.in-addr.arpa to 10.0.0.254
- Jan 2 00:00:02 dnsmasq[14891]: forwarded 27.27.76.45.in-addr.arpa to 45.76.27.27
- Jan 2 00:00:04 dnsmasq[14891]: query[PTR] 27.27.76.45.in-addr.arpa from 127.0.0.1
- Jan 2 00:00:04 dnsmasq[14891]: forwarded 27.27.76.45.in-addr.arpa to 10.0.0.254
- Jan 2 00:00:04 dnsmasq[14891]: forwarded 27.27.76.45.in-addr.arpa to 45.76.27.27
- Jan 2 00:00:05 dnsmasq[14891]: query[A] log.watson.io from 127.0.0.1
- Jan 2 00:00:05 dnsmasq[14891]: cached log.watson.io is 10.0.0.3
- Jan 2 00:00:06 dnsmasq[14891]: reply 45.76.27.27 is ns1.il.us.dns.opennic.glue
- Jan 2 00:00:06 dnsmasq[14891]: query[PTR] 2.0.1.10.in-addr.arpa from 127.0.0.1
- Jan 2 00:00:06 dnsmasq[14891]: config 10.1.0.2 is NXDOMAIN
- Jan 2 00:00:10 dnsmasq[14891]: query[A] a.fc.namequery.com from 10.1.0.2
- Jan 2 00:00:10 dnsmasq[14891]: forwarded a.fc.namequery.com to 10.0.0.254
- Jan 2 00:00:11 dnsmasq[14891]: reply a.fc.namequery.com is 209.53.113.5
- Jan 2 00:00:18 dnsmasq[14891]: query[A] log.watson.io from 127.0.0.1
- Jan 2 00:00:18 dnsmasq[14891]: cached log.watson.io is 10.0.0.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement