Advertisement
deadgar

pihole_debug-sanitised_201902271628

Feb 26th, 2019
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.06 KB | None | 0 0
  1. This process collects information from your Pi-hole, and optionally uploads it to a unique and random directory on tricorder.pi-hole.net.
  2.  
  3. 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.
  4.  
  5. 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.
  6.  
  7. *** [ INITIALIZING ]
  8. [i] 2019-02-10:14:36:17 debug log has been initialized.
  9.  
  10. *** [ INITIALIZING ] Sourcing setup variables
  11. [i] Sourcing /etc/pihole/setupVars.conf...
  12.  
  13. *** [ DIAGNOSING ]: Core version
  14. [i] Core: v4.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  15. [i] Branch: master
  16. [i] Commit: v4.2.1-0-ge967fe2
  17.  
  18. *** [ DIAGNOSING ]: Web version
  19. [i] Web: v4.2 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  20. [i] Branch: master
  21. [i] Commit: v4.2-0-g347994d
  22.  
  23. *** [ DIAGNOSING ]: FTL version
  24. [✓] FTL: v4.2.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  25.  
  26. *** [ DIAGNOSING ]: dnsmasq version
  27. [i] 2.75
  28.  
  29. *** [ DIAGNOSING ]: lighttpd version
  30. [i] 1.4.35
  31.  
  32. *** [ DIAGNOSING ]: php version
  33. [i] 7.0.30
  34.  
  35. *** [ DIAGNOSING ]: Operating system
  36. [✓] Ubuntu 16.04.5 LTS
  37.  
  38. *** [ DIAGNOSING ]: SELinux
  39. [i] SELinux not detected
  40.  
  41. *** [ DIAGNOSING ]: Processor
  42. [✓] armv7l
  43.  
  44. *** [ DIAGNOSING ]: Networking
  45. [✓] IPv4 address(es) bound to the eth0 interface:
  46. 192.168.20.27/24 matches the IP found in /etc/pihole/setupVars.conf
  47.  
  48. [✓] IPv6 address(es) bound to the eth0 interface:
  49. fe80::b057:9eff:fe9b:2e97 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)
  50.  
  51. ^ Please note that you may have more than one IP address listed.
  52. As long as one of them is green, and it matches what is in /etc/pihole/setupVars.conf, there is no need for concern.
  53.  
  54. The link to the FAQ is for an issue that sometimes occurs when the IPv6 address changes, which is why we check for it.
  55.  
  56. [i] Default IPv4 gateway: 192.168.20.1
  57. * Pinging 192.168.20.1...
  58. [✓] Gateway responded.
  59. [i] Default IPv6 gateway: fe80::1af1:45ff:fe90:b67f
  60. * Pinging fe80::1af1:45ff:fe90:b67f...
  61. [✓] Gateway responded.
  62.  
  63. *** [ DIAGNOSING ]: Ports in use
  64. *:22 sshd (IPv4)
  65. *:22 sshd (IPv6)
  66. 127.0.1.1:53 dnsmasq (IPv4)
  67. 192.168.20.27:53 pihole-FTL (IPv4)
  68. 127.0.0.1:53 pihole-FTL (IPv4)
  69. [fe80::b057:9eff:fe9b:2e97]:53 pihole-FTL (IPv6)
  70. [::1]:53 pihole-FTL (IPv6)
  71. 127.0.0.1:4711 pihole-FTL (IPv4)
  72. [::1]:4711 pihole-FTL (IPv6)
  73.  
  74. *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
  75. [✓] affiliates.5dimes.com is 0.0.0.0 via localhost (127.0.0.1)
  76. [✓] affiliates.5dimes.com is 0.0.0.0 via Pi-hole (192.168.20.27)
  77. [✓] doubleclick.com is 216.58.200.110 via a remote, public DNS server (8.8.8.8)
  78.  
  79. *** [ DIAGNOSING ]: Pi-hole processes
  80. [✗] dnsmasq daemon is inactive
  81. [✗] lighttpd daemon is failed
  82. [✓] pihole-FTL daemon is active
  83.  
  84. *** [ DIAGNOSING ]: Setup variables
  85. DNSMASQ_LISTENING=single
  86. DNS_FQDN_REQUIRED=true
  87. DNS_BOGUS_PRIV=true
  88. DNSSEC=true
  89. CONDITIONAL_FORWARDING=false
  90. PIHOLE_INTERFACE=eth0
  91. IPV4_ADDRESS=192.168.20.27/24
  92. IPV6_ADDRESS=
  93. PIHOLE_DNS_1=1.1.1.1
  94. PIHOLE_DNS_2=1.0.0.1
  95. QUERY_LOGGING=false
  96. INSTALL_WEB_SERVER=true
  97. INSTALL_WEB_INTERFACE=true
  98. LIGHTTPD_ENABLED=true
  99. TEMPERATUREUNIT=C
  100.  
  101. *** [ DIAGNOSING ]: Dashboard and block page
  102. [✗] Block page X-Header: X-Header does not match or could not be retrieved.
  103.  
  104. [✗] Web interface X-Header: X-Header does not match or could not be retrieved.
  105.  
  106.  
  107. *** [ DIAGNOSING ]: Gravity list
  108. -rw-r--r-- 1 root root 2641491 Feb 10 13:52 /etc/pihole/gravity.list
  109. -----head of gravity.list------
  110. 0.0.0.0
  111. 0.r.msn.com
  112. 0.start.bz
  113. 000.0x1f4b0.com
  114.  
  115. -----tail of gravity.list------
  116. zzz.clickbank.net
  117. zzzezeroe.fr
  118. zzzpooeaz-france.com
  119. zzzrtrcm2.com
  120.  
  121. *** [ DIAGNOSING ]: contents of /etc/pihole
  122.  
  123. -rw-r--r-- 1 root root 381 Sep 15 15:58 /etc/pihole/adlists.list
  124. https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  125. https://mirror1.malwaredomains.com/files/justdomains
  126. http://sysctl.org/cameleon/hosts
  127. https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
  128. https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
  129. https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
  130. https://hosts-file.net/ad_servers.txt
  131.  
  132. -rw-r--r-- 1 root root 0 Oct 1 13:10 /etc/pihole/blacklist.txt
  133.  
  134. -rw-r--r-- 1 root root 45 Feb 10 13:52 /etc/pihole/local.list
  135. 192.168.20.27 sizzlepi
  136. 192.168.20.27 pi.hole
  137.  
  138. -rw-r--r-- 1 root root 238 Sep 26 21:43 /etc/pihole/logrotate
  139. /var/log/pihole.log {
  140. su root syslog
  141. daily
  142. copytruncate
  143. rotate 5
  144. compress
  145. delaycompress
  146. notifempty
  147. nomail
  148. }
  149. /var/log/pihole-FTL.log {
  150. su root syslog
  151. weekly
  152. copytruncate
  153. rotate 3
  154. compress
  155. delaycompress
  156. notifempty
  157. nomail
  158. }
  159.  
  160. -rw-r--r-- 1 root root 0 Oct 1 13:09 /etc/pihole/whitelist.txt
  161.  
  162. *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
  163.  
  164. -rw-r--r-- 1 root root 1722 Oct 1 15:56 /etc/dnsmasq.d/01-pihole.conf
  165. addn-hosts=/etc/pihole/gravity.list
  166. addn-hosts=/etc/pihole/black.list
  167. addn-hosts=/etc/pihole/local.list
  168. localise-queries
  169. no-resolv
  170. cache-size=10000
  171. log-facility=/var/log/pihole.log
  172. local-ttl=2
  173. log-async
  174. server=1.1.1.1
  175. server=1.0.0.1
  176. domain-needed
  177. bogus-priv
  178. dnssec
  179. trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
  180. trust-anchor=.,20326,8,2,E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D
  181. interface=eth0
  182.  
  183. *** [ DIAGNOSING ]: contents of /etc/lighttpd
  184.  
  185. -rw-r--r-- 1 root root 3027 Sep 26 21:43 /etc/lighttpd/lighttpd.conf
  186. server.modules = (
  187. "mod_access",
  188. "mod_accesslog",
  189. "mod_auth",
  190. "mod_expire",
  191. "mod_compress",
  192. "mod_redirect",
  193. "mod_setenv",
  194. "mod_rewrite"
  195. )
  196. server.document-root = "/var/www/html"
  197. server.error-handler-404 = "pihole/index.php"
  198. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  199. server.errorlog = "/var/log/lighttpd/error.log"
  200. server.pid-file = "/var/run/lighttpd.pid"
  201. server.username = "www-data"
  202. server.groupname = "www-data"
  203. server.port = 80
  204. accesslog.filename = "/var/log/lighttpd/access.log"
  205. accesslog.format = "%{%s}t|%V|%r|%s|%b"
  206. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  207. url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
  208. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  209. compress.cache-dir = "/var/cache/lighttpd/compress/"
  210. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  211. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  212. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  213. include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
  214. ' 2>/dev/null"
  215. $HTTP["url"] =~ "^/admin/" {
  216.  
  217. setenv.add-response-header = (
  218. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  219. "X-Frame-Options" => "DENY"
  220. )
  221. $HTTP["url"] =~ ".ttf$" {
  222.  
  223. setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
  224. }
  225. }
  226. $HTTP["url"] =~ "^/admin/\.(.*)" {
  227. url.access-deny = ("")
  228. }
  229. include_shell "cat external.conf 2>/dev/null"
  230.  
  231. *** [ DIAGNOSING ]: contents of /etc/cron.d
  232.  
  233. -rw-r--r-- 1 root root 1496 Sep 26 21:43 /etc/cron.d/pihole
  234. 31 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity
  235. 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
  236. @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
  237. */10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
  238. 54 18 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
  239. @reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
  240.  
  241. *** [ DIAGNOSING ]: contents of /var/log/lighttpd
  242.  
  243. -rw-r--r-- 1 root root 0 Dec 11 20:00 /var/log/lighttpd/error.log
  244.  
  245. *** [ DIAGNOSING ]: contents of /var/log
  246.  
  247. -rw-r--r-- 1 pihole pihole 13944 Feb 10 13:52 /var/log/pihole-FTL.log
  248. -----head of pihole-FTL.log------
  249. [2019-02-09 04:07:13.681] Using log file /var/log/pihole-FTL.log
  250. [2019-02-09 04:07:13.682] ########## FTL started! ##########
  251. [2019-02-09 04:07:13.682] FTL branch: master
  252. [2019-02-09 04:07:13.687] FTL version: v4.2.1
  253. [2019-02-09 04:07:13.687] FTL commit: 5f98312
  254. [2019-02-09 04:07:13.687] FTL date: 2019-02-06 18:36:55 -0800
  255. [2019-02-09 04:07:13.687] FTL user: pihole
  256. [2019-02-09 04:07:13.690] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
  257. [2019-02-09 04:07:13.690] SOCKET_LISTENING: only local
  258. [2019-02-09 04:07:13.691] AAAA_QUERY_ANALYSIS: Show AAAA queries
  259. [2019-02-09 04:07:13.691] MAXDBDAYS: max age for stored queries is 365 days
  260. [2019-02-09 04:07:13.691] RESOLVE_IPV6: Resolve IPv6 addresses
  261. [2019-02-09 04:07:13.692] RESOLVE_IPV4: Resolve IPv4 addresses
  262. [2019-02-09 04:07:13.692] DBINTERVAL: saving to DB file every minute
  263. [2019-02-09 04:07:13.692] DBFILE: Using /etc/pihole/pihole-FTL.db
  264. [2019-02-09 04:07:13.693] MAXLOGAGE: Importing up to 24.0 hours of log data
  265. [2019-02-09 04:07:13.693] PRIVACYLEVEL: Set to 0
  266. [2019-02-09 04:07:13.693] IGNORE_LOCALHOST: Show queries from localhost
  267. [2019-02-09 04:07:13.694] BLOCKINGMODE: Null IPs for blocked domains
  268. [2019-02-09 04:07:13.694] REGEX_DEBUGMODE: Inactive
  269. [2019-02-09 04:07:13.695] ANALYZE_ONLY_A_AND_AAAA: Disabled. Analyzing all queries
  270. [2019-02-09 04:07:13.695] DBIMPORT: Importing history from database
  271. [2019-02-09 04:07:13.696] PIDFILE: Using /var/run/pihole-FTL.pid
  272. [2019-02-09 04:07:13.696] PORTFILE: Using /var/run/pihole-FTL.port
  273. [2019-02-09 04:07:13.696] SOCKETFILE: Using /var/run/pihole/FTL.sock
  274. [2019-02-09 04:07:13.697] WHITELISTFILE: Using /etc/pihole/whitelist.txt
  275. [2019-02-09 04:07:13.697] BLACKLISTFILE: Using /etc/pihole/black.list
  276. [2019-02-09 04:07:13.697] GRAVITYFILE: Using /etc/pihole/gravity.list
  277. [2019-02-09 04:07:13.698] REGEXLISTFILE: Using /etc/pihole/regex.list
  278. [2019-02-09 04:07:13.698] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
  279. [2019-02-09 04:07:13.698] AUDITLISTFILE: Using /etc/pihole/auditlog.list
  280. [2019-02-09 04:07:13.699] Finished config file parsing
  281. [2019-02-09 04:07:13.699] Compiled 0 Regex filters and 0 whitelisted domains in 0.4 msec (0 errors)
  282. [2019-02-09 04:07:13.709] Database successfully initialized
  283. [2019-02-09 04:07:13.713] New forward server: 1.0.0.1 (0/4096)
  284.  
  285. -----tail of pihole-FTL.log------
  286. [2019-02-10 13:17:23.971] Resizing "/FTL-strings" from 20480 to 24576
  287. [2019-02-10 13:17:24.025] Resizing "/FTL-queries" from 229376 to 458752
  288. [2019-02-10 13:17:24.072] Resizing "/FTL-strings" from 24576 to 28672
  289. [2019-02-10 13:17:24.347] Resizing "/FTL-strings" from 28672 to 32768
  290. [2019-02-10 13:17:24.564] Resizing "/FTL-strings" from 32768 to 36864
  291. [2019-02-10 13:17:24.686] Resizing "/FTL-queries" from 458752 to 688128
  292. [2019-02-10 13:17:24.766] Resizing "/FTL-strings" from 36864 to 40960
  293. [2019-02-10 13:17:24.988] Resizing "/FTL-strings" from 40960 to 45056
  294. [2019-02-10 13:17:25.791] Resizing "/FTL-queries" from 688128 to 917504
  295. [2019-02-10 13:17:27.221] Resizing "/FTL-queries" from 917504 to 1146880
  296. [2019-02-10 13:17:28.093] Resizing "/FTL-queries" from 1146880 to 1376256
  297. [2019-02-10 13:17:28.905] Resizing "/FTL-queries" from 1376256 to 1605632
  298. [2019-02-10 13:17:29.757] Resizing "/FTL-queries" from 1605632 to 1835008
  299. [2019-02-10 13:17:30.853] Resizing "/FTL-queries" from 1835008 to 2064384
  300. [2019-02-10 13:17:31.419] Imported 35624 queries from the long-term database
  301. [2019-02-10 13:17:31.423] -> Total DNS queries: 35624
  302. [2019-02-10 13:17:31.423] -> Cached DNS queries: 1436
  303. [2019-02-10 13:17:31.423] -> Forwarded DNS queries: 7036
  304. [2019-02-10 13:17:31.423] -> Exactly blocked DNS queries: 2837
  305. [2019-02-10 13:17:31.423] -> Unknown DNS queries: 24315
  306. [2019-02-10 13:17:31.423] -> Unique domains: 1877
  307. [2019-02-10 13:17:31.424] -> Unique clients: 15
  308. [2019-02-10 13:17:31.424] -> Known forward destinations: 2
  309. [2019-02-10 13:17:31.424] Successfully accessed setupVars.conf
  310. [2019-02-10 13:17:31.485] PID of FTL process: 1152
  311. [2019-02-10 13:17:31.486] Listening on port 4711 for incoming IPv4 telnet connections
  312. [2019-02-10 13:17:31.490] Listening on port 4711 for incoming IPv6 telnet connections
  313. [2019-02-10 13:17:31.491] Listening on Unix socket
  314. [2019-02-10 13:17:31.500] Compiled 0 Regex filters and 0 whitelisted domains in 0.3 msec (0 errors)
  315. [2019-02-10 13:17:31.509] /etc/pihole/black.list: parsed 0 domains (took 0.3 ms)
  316. [2019-02-10 13:17:35.181] /etc/pihole/gravity.list: parsed 112857 domains (took 3669.3 ms)
  317. [2019-02-10 13:48:20.660] Resizing "/FTL-queries" from 2064384 to 2293760
  318. [2019-02-10 13:52:33.311] Compiled 0 Regex filters and 0 whitelisted domains in 0.2 msec (0 errors)
  319. [2019-02-10 13:52:33.770] /etc/pihole/black.list: parsed 0 domains (took 0.2 ms)
  320. [2019-02-10 13:52:35.915] /etc/pihole/gravity.list: parsed 112857 domains (took 2144.6 ms)
  321.  
  322. *** [ DIAGNOSING ]: Locale
  323. LANG=en_US.UTF-8
  324. LANGUAGE=en_US.UTF-8
  325. LC_CTYPE="en_US.UTF-8"
  326. LC_NUMERIC="en_US.UTF-8"
  327. LC_TIME="en_US.UTF-8"
  328. LC_COLLATE="en_US.UTF-8"
  329. LC_MONETARY="en_US.UTF-8"
  330. LC_MESSAGES=en_US.UTF-8
  331. LC_PAPER="en_US.UTF-8"
  332. LC_NAME="en_US.UTF-8"
  333. LC_ADDRESS="en_US.UTF-8"
  334. LC_TELEPHONE="en_US.UTF-8"
  335. LC_MEASUREMENT="en_US.UTF-8"
  336. LC_IDENTIFICATION="en_US.UTF-8"
  337. LC_ALL=
  338.  
  339. *** [ DIAGNOSING ]: Pi-hole log
  340. -rw-r--r-- 1 pihole pihole 3571 Feb 10 13:52 /var/log/pihole.log
  341. -----head of pihole.log------
  342. Feb 9 04:06:58 dnsmasq[6332]: exiting on receipt of SIGTERM
  343. Feb 9 04:07:13 dnsmasq[6560]: started, version pi-hole-2.80 cachesize 10000
  344. Feb 9 04:07:13 dnsmasq[6560]: 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 dumpfile
  345. Feb 9 04:07:13 dnsmasq[6560]: DNSSEC validation enabled
  346. Feb 9 04:07:13 dnsmasq[6560]: configured with trust anchor for <root> keytag 20326
  347. Feb 9 04:07:13 dnsmasq[6560]: configured with trust anchor for <root> keytag 19036
  348. Feb 9 04:07:13 dnsmasq[6560]: using nameserver 1.0.0.1#53
  349. Feb 9 04:07:13 dnsmasq[6560]: using nameserver 1.1.1.1#53
  350. Feb 9 04:07:13 dnsmasq[6560]: read /etc/hosts - 6 addresses
  351. Feb 9 04:07:13 dnsmasq[6560]: read /etc/pihole/local.list - 2 addresses
  352. Feb 9 04:07:13 dnsmasq[6560]: read /etc/pihole/black.list - 0 addresses
  353. Feb 9 04:07:20 dnsmasq[6560]: read /etc/pihole/gravity.list - 112784 addresses
  354. Feb 9 04:07:56 dnsmasq[6560]: read /etc/hosts - 6 addresses
  355. Feb 9 04:07:56 dnsmasq[6560]: read /etc/pihole/local.list - 2 addresses
  356. Feb 9 04:07:56 dnsmasq[6560]: read /etc/pihole/black.list - 0 addresses
  357. Feb 9 04:07:59 dnsmasq[6560]: read /etc/pihole/gravity.list - 112857 addresses
  358. Feb 10 02:17:55 dnsmasq[1074]: started, version pi-hole-2.80 cachesize 10000
  359. Feb 10 02:17:55 dnsmasq[1074]: 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 dumpfile
  360. Feb 10 02:17:55 dnsmasq[1074]: DNSSEC validation enabled
  361. Feb 10 02:17:55 dnsmasq[1074]: configured with trust anchor for <root> keytag 20326
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement