Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
- [s6-init] ensuring user provided files have correct perms...exited 0.,
- [fix-attrs.d] applying ownership & permissions fixes...,
- [fix-attrs.d] 01-resolver-resolv: applying... ,
- [fix-attrs.d] 01-resolver-resolv: exited 0.,
- [fix-attrs.d] done.,
- [cont-init.d] executing container initialization scripts...,
- [cont-init.d] 20-start.sh: executing... ,
- ::: Starting docker specific setup for docker pihole/pihole,
- [i] Existing PHP installation detected : PHP version 7.0.30-0+deb9u1,
- [i] Installing configs from /etc/.pihole...,
- [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!,
- [i] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf...
- [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf,
- + [[ leet1337 == '' ]],
- + pihole -a -p leet1337 leet1337,
- [✓] New password set,
- + '[' 0 -gt 0 ']',
- + setup_dnsmasq '' '' '',
- + local dns1=,
- + local dns2=,
- + local interface=,
- + setup_dnsmasq_config_if_missing,
- + '[' '!' -f /etc/dnsmasq.d/01-pihole.conf ']',
- + setup_dnsmasq_dns '' '',
- + . /opt/pihole/webpage.sh,
- ++ setupVars=/etc/pihole/setupVars.conf,
- ++ dnsmasqconfig=/etc/dnsmasq.d/01-pihole.conf,
- ++ dhcpconfig=/etc/dnsmasq.d/02-pihole-dhcp.conf,
- ++ FTLconf=/etc/pihole/pihole-FTL.conf,
- ++ dhcpstaticconfig=/etc/dnsmasq.d/04-pihole-static-dhcp.conf,
- ++ coltable=/opt/pihole/COL_TABLE,
- ++ [[ -f /opt/pihole/COL_TABLE ]],
- ++ source /opt/pihole/COL_TABLE,
- +++ [[ -t 1 ]],
- +++ COL_BOLD=,
- +++ COL_ULINE=,
- +++ COL_NC=,
- +++ COL_GRAY=,
- +++ COL_RED=,
- +++ COL_GREEN=,
- +++ COL_YELLOW=,
- +++ COL_BLUE=,
- +++ COL_PURPLE=,
- +++ COL_CYAN=,
- +++ COL_WHITE=,
- +++ COL_BLACK=,
- +++ COL_LIGHT_BLUE=,
- +++ COL_LIGHT_GREEN=,
- +++ COL_LIGHT_CYAN=,
- +++ COL_LIGHT_RED=,
- +++ COL_URG_RED=,
- +++ COL_LIGHT_PURPLE=,
- +++ COL_BROWN=,
- +++ COL_LIGHT_GRAY=,
- +++ COL_DARK_GRAY=,
- +++ TICK='[✓]',
- +++ CROSS='[✗]',
- +++ INFO='[i]',
- +++ QST='[?]',
- +++ DONE=' done!',
- +++ OVER='\r',
- + local DNS1=8.8.8.8,
- + local DNS2=8.8.4.4,
- + local dnsType=default,
- + '[' 8.8.8.8 '!=' 8.8.8.8 ']',
- + '[' 8.8.4.4 '!=' 8.8.4.4 ']',
- + '[' '!' -f /.piholeFirstBoot ']',
- Using default DNS servers: 8.8.8.8 & 8.8.4.4,
- + echo 'Using default DNS servers: 8.8.8.8 & 8.8.4.4',
- + [[ -n 8.8.8.8 ]],
- + [[ -z '' ]],
- + change_setting PIHOLE_DNS_1 8.8.8.8,
- + delete_setting PIHOLE_DNS_1,
- + sed -i /PIHOLE_DNS_1/d /etc/pihole/setupVars.conf,
- + add_setting PIHOLE_DNS_1 8.8.8.8,
- + echo PIHOLE_DNS_1=8.8.8.8,
- + [[ -n 8.8.4.4 ]],
- + [[ -z '' ]],
- + '[' 8.8.4.4 = no ']',
- + change_setting PIHOLE_DNS_2 8.8.4.4,
- + delete_setting PIHOLE_DNS_2,
- + sed -i /PIHOLE_DNS_2/d /etc/pihole/setupVars.conf,
- + add_setting PIHOLE_DNS_2 8.8.4.4,
- + echo PIHOLE_DNS_2=8.8.4.4,
- + setup_dnsmasq_interface '',
- + local interface=eth0,
- + local interfaceType=default,
- + '[' eth0 '!=' eth0 ']',
- + echo 'DNSMasq binding to default interface: eth0',
- DNSMasq binding to default interface: eth0,
- + '[' -n eth0 ']',
- + change_setting PIHOLE_INTERFACE eth0,
- + delete_setting PIHOLE_INTERFACE,
- + sed -i /PIHOLE_INTERFACE/d /etc/pihole/setupVars.conf,
- + add_setting PIHOLE_INTERFACE eth0,
- + echo PIHOLE_INTERFACE=eth0,
- + ProcessDNSSettings,
- + source /etc/pihole/setupVars.conf,
- ++ TEMPERATUREUNIT=C,
- ++ WEBUIBOXEDLAYOUT=boxed,
- ++ DNSMASQ_LISTENING=all,
- ++ DNS_FQDN_REQUIRED=true,
- ++ DNS_BOGUS_PRIV=true,
- ++ DNSSEC=false,
- ++ CONDITIONAL_FORWARDING=false,
- ++ DHCP_ACTIVE=true,
- ++ DHCP_START=192.168.1.201,
- ++ DHCP_END=192.168.1.251,
- ++ DHCP_ROUTER=192.168.1.1,
- ++ DHCP_LEASETIME=24,
- ++ PIHOLE_DOMAIN=lan,
- ++ DHCP_IPv6=false,
- ++ QUERY_LOGGING=true,
- ++ INSTALL_WEB_SERVER=true,
- ++ INSTALL_WEB_INTERFACE=true,
- ++ LIGHTTPD_ENABLED=,
- ++ IPV4_ADDRESS=192.168.1.50,
- ++ IPV6_ADDRESS=,
- ++ WEBPASSWORD=6f89e6dfa84481a7e7a886a44fc09f972429ae0f2da29b523ac1bc7a146b87c2,
- ++ PIHOLE_DNS_1=8.8.8.8,
- ++ PIHOLE_DNS_2=8.8.4.4,
- ++ PIHOLE_INTERFACE=eth0,
- + delete_dnsmasq_setting server,
- + sed -i /server/d /etc/dnsmasq.d/01-pihole.conf,
- + COUNTER=1,
- + [[ -n 1 ]],
- + var=PIHOLE_DNS_1,
- + '[' -z 8.8.8.8 ']',
- + add_dnsmasq_setting server 8.8.8.8,
- + [[ 8.8.8.8 != '' ]],
- + echo server=8.8.8.8,
- + let COUNTER=COUNTER+1,
- + [[ -n 1 ]],
- + var=PIHOLE_DNS_2,
- + '[' -z 8.8.4.4 ']',
- + add_dnsmasq_setting server 8.8.4.4,
- + [[ 8.8.4.4 != '' ]],
- + echo server=8.8.4.4,
- + let COUNTER=COUNTER+1,
- + [[ -n 1 ]],
- + var=PIHOLE_DNS_3,
- + '[' -z '' ']',
- + break,
- + '[' '!' -z '' ']',
- + delete_dnsmasq_setting domain-needed,
- + sed -i /domain-needed/d /etc/dnsmasq.d/01-pihole.conf,
- + [[ true == true ]],
- + add_dnsmasq_setting domain-needed,
- + [[ '' != '' ]],
- + echo domain-needed,
- + delete_dnsmasq_setting bogus-priv,
- + sed -i /bogus-priv/d /etc/dnsmasq.d/01-pihole.conf,
- + [[ true == true ]],
- + add_dnsmasq_setting bogus-priv,
- + [[ '' != '' ]],
- + echo bogus-priv,
- + delete_dnsmasq_setting dnssec,
- + sed -i /dnssec/d /etc/dnsmasq.d/01-pihole.conf,
- + delete_dnsmasq_setting trust-anchor=,
- + sed -i /trust-anchor=/d /etc/dnsmasq.d/01-pihole.conf,
- + [[ false == true ]],
- + delete_dnsmasq_setting host-record,
- + sed -i /host-record/d /etc/dnsmasq.d/01-pihole.conf,
- + '[' '!' -z '' ']',
- + delete_dnsmasq_setting interface,
- + sed -i /interface/d /etc/dnsmasq.d/01-pihole.conf,
- + delete_dnsmasq_setting local-service,
- + sed -i /local-service/d /etc/dnsmasq.d/01-pihole.conf,
- + [[ all == \a\l\l ]],
- + add_dnsmasq_setting except-interface nonexisting,
- + [[ nonexisting != '' ]],
- + echo except-interface=nonexisting,
- + [[ false == true ]],
- + setup_php_env,
- + '[' -z '' ']',
- + VIRTUAL_HOST=192.168.1.50,
- + local 'vhost_line=\t\t\t"VIRTUAL_HOST" => "192.168.1.50",',
- + local 'serverip_line=\t\t\t"ServerIP" => "192.168.1.50",',
- + local 'php_error_line=\t\t\t"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",',
- + grep -qP '\t\t\t"VIRTUAL_HOST" => "192.168.1.50",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + sed -i '/bin-environment/ a\\t\t\t"VIRTUAL_HOST" => "192.168.1.50",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + grep -qP '\t\t\t"ServerIP" => "192.168.1.50",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + sed -i '/bin-environment/ a\\t\t\t"ServerIP" => "192.168.1.50",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + grep -qP '\t\t\t"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + sed -i '/bin-environment/ a\\t\t\t"PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- + echo 'Added ENV to php:',
- + grep -E '(VIRTUAL_HOST|ServerIP|PHP_ERROR_LOG)' /etc/lighttpd/conf-enabled/15-fastcgi-php.conf,
- Added ENV to php:,
- "PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",,
- "ServerIP" => "192.168.1.50",,
- "VIRTUAL_HOST" => "192.168.1.50",,
- + setup_dnsmasq_hostnames 192.168.1.50 '' allfather,
- + local IPV4_ADDRESS=192.168.1.50,
- + local IPV6_ADDRESS=,
- + local hostname=allfather,
- + local dnsmasq_pihole_01_location=/etc/dnsmasq.d/01-pihole.conf,
- + '[' -z allfather ']',
- + [[ 192.168.1.50 != '' ]],
- + tmp=192.168.1.50,
- + sed -i s/@IPV4@/192.168.1.50/ /etc/dnsmasq.d/01-pihole.conf,
- + [[ '' != '' ]],
- + sed -i '/^address=\/pi.hole\/@IPv6@/d' /etc/dnsmasq.d/01-pihole.conf,
- + sed -i '/^address=\/@HOSTNAME@\/@IPv6@/d' /etc/dnsmasq.d/01-pihole.conf,
- + [[ allfather != '' ]],
- + sed -i s/@HOSTNAME@/allfather/ /etc/dnsmasq.d/01-pihole.conf,
- + setup_ipv4_ipv6,
- + local 'ip_versions=IPv4 and IPv6',
- + '[' False '!=' True ']',
- + ip_versions=IPv4,
- + sed -i '/use-ipv6.pl/ d' /etc/lighttpd/lighttpd.conf,
- Using IPv4,
- + echo 'Using IPv4',
- + setup_lighttpd_bind 192.168.1.50,
- + local serverip=192.168.1.50,
- + grep -q docker /proc/net/dev,
- + grep -q server.bind /etc/lighttpd/lighttpd.conf,
- + sed -i -E 's/server\.port\s+\=\s+([0-9]+)/server.bind\t\t = "192.168.1.50"\nserver.port\t\t = \1\n$SERVER\["socket"\] == "127\.0\.0\.1:\1" \{\}/' /etc/lighttpd/lighttpd.conf,
- + setup_blocklists,
- ::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early)),
- + local blocklists=,
- + exit_string='(exiting setup_blocklists early)',
- + '[' -n '' ']',
- + '[' -f /etc/pihole/adlists.list ']',
- + echo '::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early))',
- + cat /etc/pihole/adlists.list,
- # The below list amalgamates several lists we used previously.,
- # See `https://github.com/StevenBlack/hosts` for details,
- ##StevenBlack's list,
- https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts,
- ##MalwareDomains,
- https://mirror1.malwaredomains.com/files/justdomains,
- ##Cameleon,
- http://sysctl.org/cameleon/hosts,
- + return,
- ##Zeustracker,
- https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist,
- + test_configs,
- ##Disconnect.me Tracking,
- https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt,
- ##Disconnect.me Ads,
- + set -e,
- https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt,
- + echo -n '::: Testing pihole-FTL configs: ',
- + pihole-FTL test,
- ##Hosts-file.net,
- https://hosts-file.net/ad_servers.txt,
- tps://tspprs.com/dl/ads,
- #https://tspprs.com/dl/malware,
- #https://tspprs.com/dl/tracking,
- ::: Testing pihole-FTL configs: FTL started!,
- + echo -n '::: Testing pihole-dnsmasq configs: ',
- + pihole-FTL dnsmasq-test,
- dnsmasq: syntax check OK.,
- + echo -n '::: Testing lighttpd config: ',
- + lighttpd -t -f /etc/lighttpd/lighttpd.conf,
- ::: Testing pihole-dnsmasq configs: ::: Testing lighttpd config: Syntax OK,
- + set +e,
- ::: All config checks passed, cleared for startup ...,
- + echo '::: All config checks passed, cleared for startup ...',
- + '[' -f /.piholeFirstBoot ']',
- + rm /.piholeFirstBoot,
- ::: Docker start setup complete,
- + echo ' ::: Docker start setup complete',
- [i] Neutrino emissions detected...,
- [✓] Pulling blocklist source list into range,
- [i] Target: raw.githubusercontent.com (hosts),
- [i] Status: Pending...
- [✓] Status: Retrieval successful,
- [i] Target: mirror1.malwaredomains.com (justdomains),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Target: sysctl.org (hosts),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Target: s3.amazonaws.com (simple_tracking.txt),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Target: s3.amazonaws.com (simple_ad.txt),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Target: hosts-file.net (ad_servers.txt),
- [i] Status: Pending...
- [✓] Status: No changes detected,
- [i] Consolidating blocklists...
- [✓] Consolidating blocklists,
- [i] Extracting domains from blocklists...
- [✓] Extracting domains from blocklists,
- [i] Number of domains being pulled in by gravity: 153681,
- [i] Removing duplicate domains...
- [✓] Removing duplicate domains,
- [i] Number of unique domains trapped in the Event Horizon: 130557,
- [i] Number of whitelisted domains: 6...
- [i] Number of whitelisted domains: 6,
- [i] Number of blacklisted domains: 1,
- [i] Number of regex filters: 0,
- [i] Parsing domains into hosts format...
- [✓] Parsing domains into hosts format,
- [i] Cleaning up stray matter...
- [✓] Cleaning up stray matter,
- [✓] DNS service is running,
- [✓] Pi-hole blocking is Enabled,
- [cont-init.d] 20-start.sh: exited 0.,
- [cont-init.d] done.,
- [services.d] starting services,
- Starting pihole-FTL (no-daemon),
- Starting lighttpd,
- Starting crond,
- [services.d] done.,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement