Guest User

Untitled

a guest
Jun 23rd, 2018
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.77 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] 2018-06-24:00:14:38 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: v3.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  15. [i] Branch: master
  16. [i] Commit: v3.3.1-0-gfbee18e
  17.  
  18. *** [ DIAGNOSING ]: Web version
  19. [i] Web: v3.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
  20. [i] Branch: master
  21. [i] Commit: v3.3-0-ge48aa295
  22.  
  23. *** [ DIAGNOSING ]: FTL version
  24. [✓] FTL: v3.0
  25.  
  26. *** [ DIAGNOSING ]: dnsmasq version
  27. [i] 2.76
  28.  
  29. *** [ DIAGNOSING ]: lighttpd version
  30. [i] 1.4.45
  31.  
  32. *** [ DIAGNOSING ]: php version
  33. [i] 7.0.27
  34.  
  35. *** [ DIAGNOSING ]: Operating system
  36. [✓] Debian GNU/Linux 9 (stretch)
  37.  
  38. *** [ DIAGNOSING ]: SELinux
  39. [i] SELinux not detected
  40.  
  41. *** [ DIAGNOSING ]: Processor
  42. [i] x86_64
  43.  
  44. *** [ DIAGNOSING ]: Networking
  45. [✗] No IPv4 address(es) found on the br0 interface.
  46.  
  47. [✗] No IPv6 address(es) found on the br0 interface.
  48.  
  49. [i] Default IPv4 gateway: 192.168.1.1
  50. * Pinging 192.168.1.1...
  51. [✗] Gateway did not respond. (https://discourse.pi-hole.net/t/why-is-a-default-gateway-important-for-pi-hole/3546)
  52.  
  53.  
  54. *** [ DIAGNOSING ]: Ports in use
  55. [53] is in use by dnsmasq
  56. [4711] is in use by pihole-FTL
  57.  
  58. *** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
  59. [✓] telefonanlagen.televis.at is 192.168.1.22 via localhost (127.0.0.1)
  60. [✗] Failed to resolve telefonanlagen.televis.at via Pi-hole (192.168.1.22)
  61. [✓] doubleclick.com is 172.217.3.174 via a remote, public DNS server (8.8.8.8)
  62.  
  63. *** [ DIAGNOSING ]: Pi-hole processes
  64. [✗] dnsmasq daemon is
  65. [✗] lighttpd daemon is
  66. [✗] pihole-FTL daemon is
  67.  
  68. *** [ DIAGNOSING ]: Setup variables
  69. IPV4_ADDRESS=192.168.1.22
  70. IPV6_ADDRESS=
  71. PIHOLE_INTERFACE=br0
  72. DNSMASQ_LISTENING=single
  73. PIHOLE_DNS_1=8.8.4.4
  74. DNS_FQDN_REQUIRED=true
  75. DNS_BOGUS_PRIV=true
  76. DNSSEC=false
  77. CONDITIONAL_FORWARDING=false
  78.  
  79. *** [ DIAGNOSING ]: Dashboard and block page
  80. [✓] X-Pi-hole: A black hole for Internet advertisements.
  81. [✓] X-Pi-hole: The Pi-hole Web interface is working!
  82.  
  83. *** [ DIAGNOSING ]: Gravity list
  84. -rw-r--r-- 1 root root 4544256 Jun 24 00:11 /etc/pihole/gravity.list
  85. -----head of gravity.list------
  86. 192.168.1.22 0.0.0.0
  87. 192.168.1.22 0.r.msn.com
  88. 192.168.1.22 0.start.bz
  89. 192.168.1.22 000.0x1f4b0.com
  90.  
  91. -----tail of gravity.list------
  92. 192.168.1.22 zzz.clickbank.net
  93. 192.168.1.22 zzzezeroe.fr
  94. 192.168.1.22 zzzpooeaz-france.com
  95. 192.168.1.22 zzzrtrcm2.com
  96.  
  97. *** [ DIAGNOSING ]: contents of /etc/pihole
  98.  
  99. -rw-r--r-- 1 root root 633 Jun 23 23:06 /etc/pihole/adlists.list
  100. https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
  101. https://mirror1.malwaredomains.com/files/justdomains
  102. http://sysctl.org/cameleon/hosts
  103. https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
  104. https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
  105. https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
  106. https://hosts-file.net/ad_servers.txt
  107.  
  108. -rw-r--r-- 1 root root 47 Jun 24 00:11 /etc/pihole/local.list
  109. 192.168.1.22 1cb0c6348b6e
  110. 192.168.1.22 pi.hole
  111.  
  112. *** [ DIAGNOSING ]: contents of /etc/dnsmasq.d
  113.  
  114. -rw-r--r-- 1 root root 1519 Jun 24 00:14 /etc/dnsmasq.d/01-pihole.conf
  115. addn-hosts=/etc/pihole/gravity.list
  116. addn-hosts=/etc/pihole/black.list
  117. addn-hosts=/etc/pihole/local.list
  118. localise-queries
  119. no-resolv
  120. cache-size=10000
  121. log-queries=extra
  122. log-facility=/var/log/pihole.log
  123. local-ttl=2
  124. log-async
  125. server=8.8.4.4
  126. domain-needed
  127. bogus-priv
  128. interface=br0
  129.  
  130. *** [ DIAGNOSING ]: contents of /etc/lighttpd
  131.  
  132. -rw-r--r-- 1 root root 2964 Jun 24 00:11 /etc/lighttpd/lighttpd.conf
  133. server.modules = (
  134. "mod_access",
  135. "mod_accesslog",
  136. "mod_auth",
  137. "mod_expire",
  138. "mod_compress",
  139. "mod_redirect",
  140. "mod_setenv",
  141. "mod_rewrite"
  142. )
  143. server.document-root = "/var/www/html"
  144. server.error-handler-404 = "pihole/index.php"
  145. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  146. server.errorlog = "/var/log/lighttpd/error.log"
  147. server.pid-file = "/var/run/lighttpd.pid"
  148. server.username = "www-data"
  149. server.groupname = "www-data"
  150. server.port = 80
  151. accesslog.filename = "/var/log/lighttpd/access.log"
  152. accesslog.format = "%{%s}t|%V|%r|%s|%b"
  153. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  154. url.access-deny = ( "~", ".inc", ".md", ".yml", ".ini" )
  155. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  156. compress.cache-dir = "/var/cache/lighttpd/compress/"
  157. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  158. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  159. include_shell "find /etc/lighttpd/conf-enabled -name '*.conf' -a ! -name 'letsencrypt.conf' -printf 'include \"%p\"
  160. ' 2>/dev/null"
  161. $HTTP["url"] =~ "^/admin/" {
  162.  
  163. setenv.add-response-header = (
  164. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  165. "X-Frame-Options" => "DENY"
  166. )
  167. $HTTP["url"] =~ ".ttf$" {
  168.  
  169. setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
  170. }
  171. }
  172. $HTTP["url"] =~ "^/admin/\.(.*)" {
  173. url.access-deny = ("")
  174. }
  175. include_shell "cat external.conf 2>/dev/null"
  176.  
  177. *** [ DIAGNOSING ]: contents of /etc/cron.d
  178.  
  179. -rw-r--r-- 1 root root 1495 Apr 10 15:54 /etc/cron.d/pihole
  180. 23 3 * * 7 root PATH="$PATH:/usr/local/bin/" pihole updateGravity
  181. 00 00 * * * root PATH="$PATH:/usr/local/bin/" pihole flush once quiet
  182. @reboot root /usr/sbin/logrotate /etc/pihole/logrotate
  183. */10 * * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker local
  184. 3 18 * * * root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote
  185. @reboot root PATH="$PATH:/usr/local/bin/" pihole updatechecker remote reboot
  186.  
  187. *** [ DIAGNOSING ]: contents of /var/log/lighttpd
  188.  
  189. -rw-r--r-- 1 www-data www-data 248 Jun 24 00:11 /var/log/lighttpd/error.log
  190. 2018-06-23 16:06:26: (log.c.217) server started
  191. 2018-06-23 17:10:59: (server.c.1534) logfiles cycled UID = 0 PID = 11204
  192. 2018-06-23 17:10:59: (server.c.1828) server stopped by UID = 0 PID = 11204
  193. 2018-06-23 17:11:20: (log.c.217) server started
  194.  
  195. *** [ DIAGNOSING ]: contents of /var/log
  196.  
  197. -rw-r--r-- 1 root root 10415 Jun 24 00:14 /var/log/pihole-FTL.log
  198. [2018-06-23 16:06:26.470]
  199. [2018-06-23 16:06:26.470] FTL branch: v3.0
  200. [2018-06-23 16:06:26.470] FTL version: v3.0
  201. [2018-06-23 16:06:26.470] FTL commit: a1b2fa03f8f3e3713b57a26a4e9a062fec0573d7
  202. [2018-06-23 16:06:26.470] FTL date: 2018-02-14 12:45:47 -0800
  203. [2018-06-23 16:06:26.470] FTL user: root
  204. [2018-06-23 16:06:26.470] Warning: Starting pihole-FTL directly is not recommended.
  205. [2018-06-23 16:06:26.470] Instead, use system commands for starting pihole-FTL as service (systemctl / service).
  206. [2018-06-23 16:06:26.470] Notice: Found no readable FTL config file
  207. [2018-06-23 16:06:26.470] Using default settings
  208. [2018-06-23 16:06:26.470] Starting config file parsing (/etc/pihole/pihole-FTL.conf)
  209. [2018-06-23 16:06:26.470] SOCKET_LISTENING: only local
  210. [2018-06-23 16:06:26.470] QUERY_DISPLAY: Show queries
  211. [2018-06-23 16:06:26.470] AAAA_QUERY_ANALYSIS: Show AAAA queries
  212. [2018-06-23 16:06:26.470] MAXDBDAYS: max age for stored queries is 365 days
  213. [2018-06-23 16:06:26.470] RESOLVE_IPV6: Resolve IPv6 addresses
  214. [2018-06-23 16:06:26.470] RESOLVE_IPV4: Resolve IPv4 addresses
  215. [2018-06-23 16:06:26.470] DBINTERVAL: saving to DB file every minute
  216. [2018-06-23 16:06:26.470] DBFILE: Using /etc/pihole/pihole-FTL.db
  217. [2018-06-23 16:06:26.471] MAXLOGAGE: Importing up to 24.0 hours of log data
  218. [2018-06-23 16:06:26.471] Finished config file parsing
  219. [2018-06-23 16:06:26.471] PID of FTL process: 423
  220. [2018-06-23 16:06:26.564] Gravity list entries: 127302
  221. [2018-06-23 16:06:26.564] No blacklist present
  222. [2018-06-23 16:06:26.564] No wildcard blocking list present
  223.  
  224. *** [ DIAGNOSING ]: Pi-hole log
  225. -rw-r--r-- 1 dnsmasq root 12835 Jun 24 00:14 /var/log/pihole.log
  226. -----head of pihole.log------
  227.  
  228. Jun 23 16:50:43 dnsmasq[3457]: 58 127.0.0.1/40758 query[A] pi.hole from 127.0.0.1
  229. Jun 23 16:50:43 dnsmasq[3457]: 58 127.0.0.1/40758 /etc/pihole/local.list pi.hole is 192.168.1.22
  230. Jun 23 16:51:13 dnsmasq[3457]: 59 127.0.0.1/57076 query[A] pi.hole from 127.0.0.1
  231. Jun 23 16:51:13 dnsmasq[3457]: 59 127.0.0.1/57076 /etc/pihole/local.list pi.hole is 192.168.1.22
  232. Jun 23 16:51:43 dnsmasq[3457]: 60 127.0.0.1/35608 query[A] pi.hole from 127.0.0.1
  233. Jun 23 16:51:43 dnsmasq[3457]: 60 127.0.0.1/35608 /etc/pihole/local.list pi.hole is 192.168.1.22
  234. Jun 23 16:52:14 dnsmasq[3457]: 61 127.0.0.1/57222 query[A] pi.hole from 127.0.0.1
  235. Jun 23 16:52:14 dnsmasq[3457]: 61 127.0.0.1/57222 /etc/pihole/local.list pi.hole is 192.168.1.22
  236. Jun 23 16:52:44 dnsmasq[3457]: 62 127.0.0.1/60379 query[A] pi.hole from 127.0.0.1
  237. Jun 23 16:52:44 dnsmasq[3457]: 62 127.0.0.1/60379 /etc/pihole/local.list pi.hole is 192.168.1.22
  238. Jun 23 16:53:14 dnsmasq[3457]: 63 127.0.0.1/39674 query[A] pi.hole from 127.0.0.1
  239. Jun 23 16:53:14 dnsmasq[3457]: 63 127.0.0.1/39674 /etc/pihole/local.list pi.hole is 192.168.1.22
  240. Jun 23 16:53:44 dnsmasq[3457]: 64 127.0.0.1/60334 query[A] pi.hole from 127.0.0.1
  241. Jun 23 16:53:44 dnsmasq[3457]: 64 127.0.0.1/60334 /etc/pihole/local.list pi.hole is 192.168.1.22
  242. Jun 23 16:54:15 dnsmasq[3457]: 65 127.0.0.1/39519 query[A] pi.hole from 127.0.0.1
  243. Jun 23 16:54:15 dnsmasq[3457]: 65 127.0.0.1/39519 /etc/pihole/local.list pi.hole is 192.168.1.22
  244. Jun 23 16:54:45 dnsmasq[3457]: 66 127.0.0.1/60902 query[A] pi.hole from 127.0.0.1
  245. Jun 23 16:54:45 dnsmasq[3457]: 66 127.0.0.1/60902 /etc/pihole/local.list pi.hole is 192.168.1.22
  246. Jun 23 16:55:15 dnsmasq[3457]: 67 127.0.0.1/53280 query[A] pi.hole from 127.0.0.1
  247.  
  248.  
  249. ********************************************
  250. ********************************************
  251. [✓] ** FINISHED DEBUGGING! **
  252.  
  253. * The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only.
  254. * For more information, see: https://pi-hole.net/2016/11/07/crack-our-medical-tricorder-win-a-raspberry-pi-3/
  255. * If available, we'll use openssl to upload the log, otherwise it will fall back to netcat.
  256. [i] Debug script running in automated mode
  257. * Using openssl for transmission.
  258.  
  259. ***********************************
  260. ***********************************
  261. [✓] Your debug token is: 8982gxim34
  262. ***********************************
  263. ***********************************
  264.  
  265. * Provide the token above to the Pi-hole team for assistance at
  266. * https://discourse.pi-hole.net
  267. * Your log will self-destruct on our server after 48 hours.
  268. * A local copy of the debug log can be found at: /var/log/pihole_debug-sanitized.log
Advertisement
Add Comment
Please, Sign In to add comment