You are not logged in.
This util written by wintervenom has actually been in the AUR for going on 2 years now.
What it does:
Updates /etc/hosts with the mvps blocklist to prevent thousands of parasites, hijackers and unwanted adware/spyware/privacy websites from working.
Operation is trivial:
1) Edit /etc/hosts.local to match the hostname of your system and adjust the domainname as needed. Also add any hosts that you wish to keep i.e. other PCs on your network.
2) Run /usr/bin/update_hosts as root which will append /etc/hosts.local to the mvps blocklist and apply some post processing writing the final file to /etc/hosts automatically.
3) (Optional) Add a cronjob under root crontab at some interval to keep your /etc/hosts fresh.
AUR: https://aur.archlinux.org/packages/hosts-update
Github: https://github.com/graysky2/hosts-update
Original thread: https://bbs.archlinux.org/viewtopic.php?id=106367
Enjoy!
Last edited by graysky (2013-12-11 17:09:06)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
does this protect me from anty-piracy ogranisations, like Moblock does?
Jaki koniec świata.Ziemia to nie cały świat ,a tylko mały Wąchock we wszechświecie.
Offline
I don't believe so... I believe it is targeted at ads and malware. You can inspect the list at the upstream URL. As an aside... moblock? I thought that was a dead project replaced by pgl?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
yes, you're right, pgl is the new one, i didn't remember his name, so i mentioned moblock, wchich i used long time ago... is there any possibility to use pgl's lists in etc/hosts ?
Jaki koniec świata.Ziemia to nie cały świat ,a tylko mały Wąchock we wszechświecie.
Offline
Sure you can, but not in this particular tool. There is a script written by haarp designed to run on a tomato-usb powered router that does just this. I host the code here: https://github.com/graysky2/adblock
EDIT: I can't remember if it pulls from the same urls as pgl does but you can certainly modify the code to do it.
Last edited by graysky (2013-12-11 19:52:02)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
o, thanks! and now i found that there's something called hostsblock, it seems exactly waht i'm looking for, I'll try i today.
Jaki koniec świata.Ziemia to nie cały świat ,a tylko mały Wąchock we wszechświecie.
Offline