Advertisement
Guest User

-d

a guest
Jan 26th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.82 KB | None | 0 0
  1. Detecting Installed Package Versions:
  2.  
  3. Pi-hole: v2.11.2
  4. WebUI: v2.3.1
  5. lighttpd/1.4.35
  6. PHP 5.6.29-0+deb8u1 (cli) (built: Dec 17 2016 06:04:43)
  7.  
  8. Detecting existence of /etc/pihole/setupVars.conf:
  9.  
  10. PIHOLE_INTERFACE=eth0
  11. IPV4_ADDRESS=10.0.0.48
  12. IPV6_ADDRESS=2601:98a:4203:2930:c018:cf53:ab9:552d
  13. PIHOLE_DNS_1=8.8.8.8
  14. PIHOLE_DNS_2=8.8.4.4
  15. QUERY_LOGGING=true
  16. WEBPASSWORD=2f653836cbe217b4e50c400039e6bfde085acefcb583a1bda1187843408ccb37
  17.  
  18.  
  19. Detecting installed OS Distribution
  20.  
  21. PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
  22. NAME="Raspbian GNU/Linux"
  23. VERSION_ID="8"
  24. VERSION="8 (jessie)"
  25. ID=raspbian
  26. ID_LIKE=debian
  27. HOME_URL="http://www.raspbian.org/"
  28. SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
  29. BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
  30.  
  31. Checking processor variety
  32.  
  33. armv7l
  34.  
  35. IP Address Information
  36.  
  37. ::1/128
  38. 2601:98a:4203:2930:c018:cf53:ab9:552d/64
  39. fe80::1d58:3c4c:1df2:1b8d/64
  40. fe80::3763:ea8c:eaf9:cc6d/64
  41.  
  42.  
  43. 127.0.0.1/8
  44. 10.0.0.48/24
  45. 10.0.0.48/32
  46. --- 10.0.0.1 ping statistics ---
  47. 3 packets transmitted, 3 received, 0% packet loss, time 2000ms
  48. rtt min/avg/max/mdev = 0.691/0.773/0.916/0.106 ms
  49. --- 8.8.8.8 ping statistics ---
  50. 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
  51. rtt min/avg/max/mdev = 31.985/33.686/35.274/1.353 ms
  52.  
  53. Daemon Process Information
  54.  
  55. Found user pi with process chromium-browse
  56. Found user pi with process chromium-browse
  57.  
  58. Daemon Process Information
  59.  
  60. Found user dnsmasq with process dnsmasq
  61. Found user dnsmasq with process dnsmasq
  62.  
  63. Processes Check
  64.  
  65.  
  66. lighttpd
  67. processes status:
  68. ● lighttpd.service - Lighttpd Daemon
  69. Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled)
  70. Active: active (running) since Thu 2017-01-26 03:30:57 UTC; 19h ago
  71. Main PID: 9182 (lighttpd)
  72. CGroup: /system.slice/lighttpd.service
  73. ├─9182 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
  74. ├─9195 /usr/bin/php-cgi
  75. ├─9197 /usr/bin/php-cgi
  76. ├─9198 /usr/bin/php-cgi
  77. ├─9199 /usr/bin/php-cgi
  78. └─9200 /usr/bin/php-cgi
  79.  
  80. Jan 26 22:24:00 raspberrypi sudo[32530]: pam_unix(sudo:session): session closed for user root
  81. Jan 26 22:27:08 raspberrypi sudo[1001]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
  82. Jan 26 22:27:08 raspberrypi sudo[1001]: pam_unix(sudo:session): session opened for user root by (uid=0)
  83. Jan 26 22:27:08 raspberrypi sudo[1001]: pam_unix(sudo:session): session closed for user root
  84. Jan 26 22:29:30 raspberrypi sudo[1796]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
  85. Jan 26 22:29:30 raspberrypi sudo[1796]: pam_unix(sudo:session): session opened for user root by (uid=0)
  86. Jan 26 22:29:30 raspberrypi sudo[1796]: pam_unix(sudo:session): session closed for user root
  87. Jan 26 22:30:35 raspberrypi sudo[2155]: www-data : TTY=unknown ; PWD=/var/www/html/admin ; USER=root ; COMMAND=/usr/local/bin/pihole status web
  88. Jan 26 22:30:35 raspberrypi sudo[2155]: pam_unix(sudo:session): session opened for user root by (uid=0)
  89. Jan 26 22:30:35 raspberrypi sudo[2155]: pam_unix(sudo:session): session closed for user root
  90.  
  91. dnsmasq
  92. processes status:
  93. ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
  94. Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  95. Drop-In: /run/systemd/generator/dnsmasq.service.d
  96. └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
  97. Active: active (running) since Thu 2017-01-26 22:24:00 UTC; 19min ago
  98. Process: 32537 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exited, status=0/SUCCESS)
  99. Process: 32610 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS)
  100. Process: 32604 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS)
  101. Process: 32600 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
  102. Main PID: 32609 (dnsmasq)
  103. CGroup: /system.slice/dnsmasq.service
  104. └─32609 /usr/sbin/dnsmasq -x /var/run/dnsmasq/dnsmasq.pid -u dnsmasq -r /var/run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service
  105.  
  106. Jan 26 22:24:00 raspberrypi dnsmasq[32600]: dnsmasq: syntax check OK.
  107. Jan 26 22:24:00 raspberrypi systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
  108.  
  109.  
  110. Resolver Functions Check
  111.  
  112. Resolution of doubleclick.com from Pi-hole:
  113.  
  114. ; <<>> DiG 9.9.5-9+deb8u9-Raspbian <<>> doubleclick.com @127.0.0.1
  115. ;; global options: +cmd
  116. ;; Got answer:
  117. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11311
  118. ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
  119.  
  120. ;; OPT PSEUDOSECTION:
  121. ; EDNS: version: 0, flags:; udp: 4096
  122. ;; QUESTION SECTION:
  123. ;doubleclick.com. IN A
  124.  
  125. ;; ANSWER SECTION:
  126. doubleclick.com. 300 IN A 10.0.0.48
  127.  
  128. ;; Query time: 3 msec
  129. ;; SERVER: 127.0.0.1#53(127.0.0.1)
  130. ;; WHEN: Thu Jan 26 22:43:05 UTC 2017
  131. ;; MSG SIZE rcvd: 60
  132.  
  133. Resolution of doubleclick.com from 8.8.8.8:
  134.  
  135. ; <<>> DiG 9.9.5-9+deb8u9-Raspbian <<>> doubleclick.com @8.8.8.8
  136. ;; global options: +cmd
  137. ;; Got answer:
  138. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64894
  139. ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
  140.  
  141. ;; OPT PSEUDOSECTION:
  142. ; EDNS: version: 0, flags:; udp: 512
  143. ;; QUESTION SECTION:
  144. ;doubleclick.com. IN A
  145.  
  146. ;; ANSWER SECTION:
  147. doubleclick.com. 299 IN A 216.58.217.110
  148.  
  149. ;; Query time: 67 msec
  150. ;; SERVER: 8.8.8.8#53(8.8.8.8)
  151. ;; WHEN: Thu Jan 26 22:43:05 UTC 2017
  152. ;; MSG SIZE rcvd: 60
  153.  
  154. Pi-hole dnsmasq specific records lookups
  155. Cache Size:
  156. "10000"
  157. Upstream Servers:
  158. "8.8.4.4#53 68 0" "8.8.8.8#53 31 0"
  159.  
  160.  
  161. Detecting existence of /etc/lighttpd/lighttpd.conf:
  162.  
  163. server.modules = (
  164. "mod_access",
  165. "mod_accesslog",
  166. "mod_auth",
  167. "mod_expire",
  168. "mod_compress",
  169. "mod_redirect",
  170. "mod_setenv",
  171. "mod_rewrite"
  172. )
  173. server.document-root = "/var/www/html"
  174. server.error-handler-404 = "pihole/index.php"
  175. server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
  176. server.errorlog = "/var/log/lighttpd/error.log"
  177. server.pid-file = "/var/run/lighttpd.pid"
  178. server.username = "www-data"
  179. server.groupname = "www-data"
  180. server.port = 80
  181. accesslog.filename = "/var/log/lighttpd/access.log"
  182. accesslog.format = "%{%s}t|%V|%r|%s|%b"
  183. index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
  184. url.access-deny = ( "~", ".inc" )
  185. static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
  186. compress.cache-dir = "/var/cache/lighttpd/compress/"
  187. compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" )
  188. include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
  189. include_shell "/usr/share/lighttpd/create-mime.assign.pl"
  190. include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
  191. $HTTP["url"] =~ "^/admin/" {
  192. setenv.add-response-header = (
  193. "X-Pi-hole" => "The Pi-hole Web interface is working!",
  194. "X-Frame-Options" => "DENY"
  195. )
  196. }
  197. url.rewrite = ( "^(?!/admin/).*\.js$" => "pihole/index.js" )
  198. $HTTP["url"] =~ "^(?!/admin)/.*" {
  199. setenv.add-response-header = ( "X-Pi-hole" => "A black hole for Internet advertisements." )
  200. }
  201. include_shell "cat external.conf 2>/dev/null"
  202.  
  203.  
  204. Detecting existence of /var/log/lighttpd/error.log:
  205.  
  206. 2017-01-26 03:30:05: (log.c.164) server started
  207. 2017-01-26 03:30:56: (server.c.1558) server stopped by UID = 0 PID = 1
  208. 2017-01-26 03:30:57: (log.c.164) server started
  209. 2017-01-26 03:30:57: (server.c.1045) WARNING: unknown config-key: alias.url (ignored)
  210. 2017-01-26 03:31:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Notice: Undefined variable: auth in /var/www/html/admin/scripts/pi-hole/php/header.php on line 218
  211. 2017-01-26 03:31:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Notice: Undefined variable: auth in /var/www/html/admin/scripts/pi-hole/php/header.php on line 350
  212. 2017-01-26 03:31:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Notice: Undefined variable: auth in /var/www/html/admin/scripts/pi-hole/php/header.php on line 454
  213. 2017-01-26 03:31:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Notice: Undefined variable: auth in /var/www/html/admin/scripts/pi-hole/php/header.php on line 467
  214. 2017-01-26 03:31:42: (mod_fastcgi.c.2702) FastCGI-stderr: PHP Notice: Undefined variable: auth in /var/www/html/admin/scripts/pi-hole/php/header.php on line 493
  215.  
  216.  
  217. Detecting existence of /etc/dnsmasq.conf:
  218.  
  219. conf-dir=/etc/dnsmasq.d
  220.  
  221.  
  222. Detecting existence of /etc/dnsmasq.d/01-pihole.conf:
  223.  
  224. addn-hosts=/etc/pihole/gravity.list
  225. addn-hosts=/etc/pihole/local.list
  226. domain-needed
  227. bogus-priv
  228. no-resolv
  229. server=8.8.8.8
  230. server=8.8.4.4
  231. interface=eth0
  232. cache-size=10000
  233. log-queries
  234. log-facility=/var/log/pihole.log
  235. local-ttl=300
  236. log-async
  237.  
  238.  
  239. Detecting existence of /etc/pihole/whitelist.txt:
  240.  
  241. raw.githubusercontent.com
  242. mirror1.malwaredomains.com
  243. sysctl.org
  244. zeustracker.abuse.ch
  245. s3.amazonaws.com
  246. hosts-file.net
  247.  
  248.  
  249. Detecting existence of /etc/pihole/blacklist.txt:
  250.  
  251. /etc/pihole/blacklist.txt not found!
  252.  
  253. Detecting existence of /etc/pihole/adlists.list:
  254.  
  255. /etc/pihole/adlists.list not found!
  256.  
  257. Analyzing gravity.list
  258.  
  259. /etc/pihole/gravity.list is 193334 /etc/pihole/gravity.list lines long.
  260.  
  261. pihole.log
  262.  
  263. Jan 26 22:43:12 dnsmasq[32609]: query[A] clients4.google.com from 127.0.0.1
  264. Jan 26 22:43:12 dnsmasq[32609]: forwarded clients4.google.com to 8.8.4.4
  265. Jan 26 22:43:12 dnsmasq[32609]: forwarded clients4.google.com to 8.8.8.8
  266. Jan 26 22:43:12 dnsmasq[32609]: query[AAAA] clients4.google.com from 127.0.0.1
  267. Jan 26 22:43:12 dnsmasq[32609]: forwarded clients4.google.com to 8.8.4.4
  268. Jan 26 22:43:12 dnsmasq[32609]: reply clients4.google.com is <CNAME>
  269. Jan 26 22:43:12 dnsmasq[32609]: reply clients.l.google.com is 172.217.1.14
  270. Jan 26 22:43:12 dnsmasq[32609]: reply clients4.google.com is <CNAME>
  271. Jan 26 22:43:12 dnsmasq[32609]: reply clients.l.google.com is 2607:f8b0:4004:80c::200e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement