Pi-hole 2.9 Released With Important Bug Fixes Plus Some Cool New Stuff
We’re happy to release a new version of Pi-hole core.
With this release, please accept our apologies for the pihole -d
command. You pointed out that it uploads some sensitive information without permission. We put a fix in place quickly, but we were a bit slow on the release.
So if we lost your trust, we are very sorry and we hope we can earn it back. We hope our fast response time counts for something, especially since we are all part time, volunteer devs.
What’s New
An updater!
Long time Pi-hole users can rejoice that there is a way to update your Pi-hole without running through the installer again. Just run pihole -up
. Of course, it won’t work for this release because you don’t have version 2.9 yet. So enjoy our quirky update method for the last time. (Which, in case we haven’t driven it home hard enough already is curl -L https://install.pi-hole.net | bash
)
List Query
Use pihole -q <domain>
to find out what list a domain is on. This is useful for debugging or to just find know what sources think a domain should be blocked.
Auto-close Pop-up Windows
Just a nice little addition to close some pop-up windows that are loaded with an advertisement to make your browsing experience a little better.
More
Check out the full changelog here.
Thanks
Finally, we just wanted to say thanks for being a Pi-hole user. You help keep us going. If you have suggestions, questions, or comments, we’re around, so just let us know.
27 Responses
Nice Pi temperature implementation ; )
Nice Pi temperature implementation ; )
Glad you like it.
Glad you like it.
Great update! I directly added the pihole -up to a script that runs every week automatically to update the pihole. Every night a script runs to update the lists.
So unless real manual intervention is needed, my pihole has become an install and enjoy with little to no maintenance experience.
Very cool!
Hi Stefan, can you maybe share with us how you configured that?
I created two scripts, one to update the lists daily (pihole-update.sh) and one to weekly update the raspberry (pi-update.sh). I scheduled to run these scripts via crontab -e
pi-hole-update.sh:
#!/bin/bash
echo “”
echo “”
echo “******************************”
echo “*** updating pi-hole lists ***”
echo “******************************”
pihole -g
pihole -u
clear
date >> pihole-update.log
echo “******************************”
echo “*** pi-hole lists updated ***”
echo “******************************”
echo “”
echo “”
pi-update.sh:
#!/bin/bash
echo “*********************************”
echo “**** Starting update ****”
echo “*********************************”
sudo apt-get -y update
echo “”
echo “”
echo “*********************************”
echo “**** starting upgrade ****”
echo “*********************************”
sudo apt-get -y upgrade
echo “”
echo “”
echo “*********************************”
echo “*** starting firmware upgrade ***”
echo “*********************************”
echo “current firmware:”
date >> pi-update.log
uname -r >> pi-update.log
echo “*********************************”
echo “*********************************”
echo “***** starting pihole update ****”
echo “*********************************”
sudo pihole -up
echo “*********************************”
sudo rpi-update
date >> pi-update.log
uname -r >> pi-update.log
echo “”
echo “”
echo “*********************************”
echo “*** rebooting any second…. ***”
echo “*********************************”
sudo reboot
Add at the end of contab -e:
# This is for updating the pihole lists
#
45 23 * * * /home/pi/pihole-update.sh
# This is for updating the pi itself
#
15 1 * * 0 /home/pi/pi-update.sh
I’m pretty sure you don’t need to bother with extra scripts. pihole -up already takes care of updating the ads lists (which you also do with pihole -g) so all you’d need is one entry in the crontab.
Something like:
45 23 * * * /usr/local/bin/pihole -up
Great update! I directly added the pihole -up to a script that runs every week automatically to update the pihole. Every night a script runs to update the lists.
So unless real manual intervention is needed, my pihole has become an install and enjoy with little to no maintenance experience.
Suggestion: password protection on the admin page blacklist/whitelist function.
Maybe it is easily done , if so, can someone give me a hint.
Currently a ‘non admin rights’ user can reach the pi-hole admin page and mess around with the lists…
See chapter 8 of this document (not mine btw, and note that other sections are outdated!): http://users.telenet.be/MySQLplaylist/pi-hole.pdf
thank you! Jacob seems to have everything covered… : )
thank you! Jacob seems to have everything covered… : )
My pi-hole is suddenly letting a lot of ads trough. It’s way too many to manually blacklist. Why?
Is this a new install or an upgrade? The first step to figuring it out is to send us the output of
pihole -d
Hi, I just upgraded to the latest release but I’ve been using pi-hole for six months. The problem started recently but I can’t say for sure it has to do with the update.
I’ll send you the output soon! Thanks.
Your Pi-hole seems to be working fine based on the log…however, there were some non-domain entries in your blacklist such as flashback.org/ads/. Did you manually add these in instead of using
pihole -b
?Also, are there specific sites you are having problems with/
Thanks for this awesome support!
I removed the non-domain entries now, I think I added them before I knew exactly how to do it properly.
However, these were not the sites I’ve got problems with. Ads has started to show on aftonbladet.se, sydsvenskan.se and skd.se. Large ads for Volvo, Leo Vegas online casino and such.
I suggest you use DNSThingy Whitelist Assistant to find the domains you need to blacklist to stop ads on this page. As there are quite a few, it may take some experimentation to get the right ones. Below are the ones I found using that Chrome extension.
http://www.aftonbladet.se/
s3.lvlt.dash.us.aiv-cdn.net
http://www.aftonbladet.se
aftonbladet-se.c.richmetrics.com
s2.adform.net
gfx.aftonbladet-cdn.se
session.login.schibsted.com
wwwapp.aftonbladet.se
adv.aftonbladet.se
aka-cdn-ns.adtechus.com
se.pliing.com
googleads4.g.doubleclick.net
z.moatads.com
cdn.adnxs.com
external.tv.nu
ib.adnxs.com
tpc.googlesyndication.com
http://www.klart.se
pp.lp4.io
ab-web-notifications.herokuapp.com
panel2.research-int.se
aka-cdn-ns.adtech.de
translate.googleapis.com
d1nf1ogr7o23z7.cloudfront.net
script.hotjar.com
apx.moatads.com
annonsdax3.se
sifomedia.aftonbladet.se
http://www.gstatic.com
translate.google.com
imgs.aftonbladet-cdn.se
pagead2.googlesyndication.com
http://www.blocket.se
eu.npario-inc.net
collector.schibsted.io
logs2.xiti.com
ajax.googleapis.com
http://www.sydsvenskan.se/
translate.googleapis.com
track.adform.net
http://www.sydsvenskan.se
sydsvenskan-se.c.richmetrics.com
s2.adform.net
http://www.google-analytics.com
sync.richmetrics.com
scdn.cxense.com
ssl.resultify.com
fusion.sydsvenskan.se
hds.imgix.net
comcluster.cxense.com
ad.doubleclick.net
bn-01.adtomafusion.com
cdn.cxense.com
apps.sydsvenskan.se
s0-cdn.hittahem.se
googleads4.g.doubleclick.net
translate.google.com
cdn.cxpublic.com
tpc.googlesyndication.com
fonts.googleapis.com
code.jquery.com
s3.lvlt.dash.us.aiv-cdn.net
pagead2.googlesyndication.com
mail.google.com
fonts.gstatic.com
adserver.cxad.cxense.com
http://www.hittahem.se
c0-cdn.hittahem.se
hittahem.table.core.windows.net
cdn-bff-geobox.hittahem.se
ajax.googleapis.com
http://skd.se/
http://www.google.com
http://www.skd.se
track.adform.net
fonts.googleapis.com
widgets.sprinkletxt.com
http://www.e-pages.dk
fonts.gstatic.com
skd-1e9a.kxcdn.com
plugin.adonnews.com
e2.emediate.se
d2s91iffsebk9p.cloudfront.net
aka-cdn-ns.adtech.de
http://www.google-analytics.com
sifomedia.skd.se
eas.mediekompaniet.com
adserver.adtech.de
panel2.research-int.se
skanskanse.disqus.com
mail.google.com
cdnjs.cloudflare.com
s3.lvlt.dash.us.aiv-cdn.net
s.gravatar.com
translate.googleapis.com
s2.adform.net
p2-api2-402040511.eu-west-1.elb.amazonaws.com
http://www.gstatic.com
sync.userreport.com
scripts.host.bannerflow.com
ads.rubiconproject.com
pubsub-shard1-5-2.zendesk.com
ih.adscale.de
optimized-by.rubiconproject.com
dpm.demdex.net
x.bidswitch.net
loadm.exelator.com
bbnaut.ibillboard.com
idsync.rlcdn.com
sync.analytics.brandcrumb.com
d.turn.com
few-agency-scandlines.bannerflow.com
targeting.unrulymedia.com
load.s3.amazonaws.com
tracker.bannerflow.com
c1.adform.net
cm.g.doubleclick.net
api.adrtx.net
ps.eyeota.net
ads.yahoo.com
pdw-adf.userreport.com
ads.stickyadstv.com
sy.eu.angsrvr.com
dsp.adfarm1.adition.com
pm.w55c.net
tags.bluekai.com
cdn.adonstudio.com
rtb-csync.smartadserver.com
dmp.adform.net
pixel.mathtag.com
eu-u.openx.net
bcp.crwdcntrl.net
tapestry.tapad.com
t4.liverail.com
http://www.facebook.com
p2-search-882203368.eu-west-1.elb.amazonaws.com
audex.userreport.com
image2.pubmatic.com
translate.google.com
p2-stats-794827617.eu-west-1.elb.amazonaws.com
http://www.youtube.com
eas4.emediate.eu
s.ytimg.com
scontent.lrcdn.net
mlpimagearchive.s3.amazonaws.com
static.chartbeat.com
ajax.googleapis.com
Ahh, thanks a lot! I’ll see what I can do with the chrome extension.
I think though that my pi-hole took care of all these ads by itself just before the update, but I could be wrong. It also could be that this sites changed the way they advertise, I guess.
Thanks again!
One of the lists recently fell off the net, so some of those domains may have been on that list. There are plenty other lists you can add to your install for more ad blocking power. We just add some basic ones that have a decent reputation.
Hi again,
Something is weird. I see a lot of ads from the domain bn-01.adtomafusion.net and I’ve got it in the black list.
Also, trying to delete an entry from the blacklist via web UI doesn’t work. It’s back again soon after. Meeeh.
May try to reinstall the whole Pi soon.
Holy crap… I solved this frustrating issue. My chrome had “data saving” on! I don’t know if it has to do with the recent update to Android Nougat or if it’s because I was abroad a few days ago.
Now everything works as usual! Should make another donation just because of this…. 🙂
Glad to hear it. I’m not sure about the data saving feature, but good to note for future issues. And your donation will definitely keep us motivated!
http://termbin.com/f11k
Is this a new install or an upgrade? The first step to figuring it out is to send us the output of
pihole -d
Comments are closed.