Git Product home page Git Product logo

angela-d / autohosts Goto Github PK

View Code? Open in Web Editor NEW
79.0 6.0 6.0 627 KB

Automate hosts file updates on Linux and MacOS. Block Firefox telemetry, Google snooping and web trackers at the root.

License: GNU General Public License v2.0

Shell 94.25% Roff 5.58% Makefile 0.17%
hosts hostsfile adblocking privacy privacy-tools tracking-protection firefox-telemetry privacy-enhancing-technologies bash bash-script

autohosts's Issues

Install error and custom_filters not found

Hi,
Thanks for the programme. But I have some problems.

Install on Linux Mint 19.1 half works.
On install I get this

$sudo apt install ./autohosts.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'autohosts' instead of './autohosts.deb'
autohosts is already the newest version (2.0.0).
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra gir1.2-geoclue-2.0 gir1.2-geocodeglib-1.0
gir1.2-gweather-3.0 gjs libgjs0g python3-mutagen youtube-dl
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 55 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up autohosts (2.0.0) ...
dpkg: error processing package autohosts (--configure):
installed autohosts package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
autohosts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Grep version gives:

──╼ $grep "VERSION=" /usr/local/bin/autohosts
grep: /usr/local/bin/autohosts: No such file or directory

Then running autohosts returns:

_- 100%[===================>] 5,48K --.-KB/s in 0s

2019-06-02 01:34:34 (44,8 MB/s) - written to stdout [5609/5609]

No custom filters found at home_user, skipping...
Checking if devdom is installed (will execute devdom hosts update, if so)
Devdom is not installed; skipping.
Hosts update complete!_

Not sure where to go from here.

Also, is it possible to alter which version of Steven Black's hosts file is used?

Thanks!

mozilla.org is blocked?

i am unable to access mozilla.org with autohosts installed. i removed autohosts to confirm this issue.
i grepped the /etc/hosts file

cat /etc/hosts | grep mozilla.org
0.0.0.0 incoming.telemetry.mozilla.org
0.0.0.0 crash-stats.mozilla.org
0.0.0.0 experiments.mozilla.org
0.0.0.0 incoming.telemetry.mozilla.org
0.0.0.0 input.mozilla.org
0.0.0.0 self-repair.mozilla.org
0.0.0.0 tbpl.mozilla.org
0.0.0.0 telemetry.mozilla.org
0.0.0.0 reps.mozilla.org
0.0.0.0 intranet.mozilla.org
0.0.0.0 activations.mozilla.org
0.0.0.0 dnt.mozilla.org
0.0.0.0 www.mozilla.org.cdn.cloudflare.net
0.0.0.0 ftp.mozilla.org
0.0.0.0 mxr.mozilla.org
0.0.0.0 nightly.mozilla.org
0.0.0.0 pfs.mozilla.org
0.0.0.0 planet.mozilla.org
0.0.0.0 static-san.mozilla.org
0.0.0.0 videos.mozilla.org
0.0.0.0 mana.mozilla.org
0.0.0.0 symbols.mozilla.org
0.0.0.0 dxr.mozilla.org

why and how is mozilla.org blocked?
all of the output has subdomains of mozilla.org blocked but not mozilla.org blocked. how do i unblock this?

Cannot uninstall Autohosts

Angela, I installed Autohosts (Ah) yesterday, but found today that I cannot install Firefox (Ff) extensions anymore. I moved the Ff subfolder from the Ah folder, restarted Ff, but still no joy so put the Ff subfolder back in the Ah folder.
I tried to uninstall Ah altogether but the Terminal tells me there is no Ah folder. I deleted the entire Ah folder, restarted Ff, no joy. I checked the etc/hosts folder: only the original entries are there, though there is a text at the top mentioning the merged lists.
Ubuntu will not uninstall Ah, and I am stuck with Ff to which I cannot extensions. Please advise.

P.S. I am new to Linux, hence my clumsiness.

Uninstalling on mac

Hi there
Newbie...:)
need help for command line in terminal for uninstalling
thanks
Ronnie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.