Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hachreak/adsmute
A utility to manage advertising blacklist files on linux.
https://github.com/hachreak/adsmute
ads advertisements blacklist dnsmasq hostsfile linux malware-protection
Last synced: 11 days ago
JSON representation
A utility to manage advertising blacklist files on linux.
- Host: GitHub
- URL: https://github.com/hachreak/adsmute
- Owner: hachreak
- License: other
- Created: 2020-03-30T11:28:45.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T14:42:39.000Z (over 4 years ago)
- Last Synced: 2024-11-06T13:00:46.574Z (about 2 months ago)
- Topics: ads, advertisements, blacklist, dnsmasq, hostsfile, linux, malware-protection
- Language: Python
- Size: 27.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ads Mute
A utility to manage advertising blacklist files on linux.
### How install
Download updated version of the ads server blacklists and create on dnsmasq
configuration file.```
cd adsmute
# install the utils
pip install -e .
mkdir raw
# Download the blacklist files inside a "raw" directory
adsmute-cli download data/sources.json raw/
# Extract server list from them into a unique file
adsmute-cli servers data/sources.json raw/ servers.list
# Create a dnsmasq config file
adsmute-cli dnsmasq servers.list 00-adsmute.conf
# Install new configuration
sudo mv 00-adsmute.conf /etc/dnsmasq.d/
# restart dnsmasq
sudo systemctl restart dnsmasq```
### DnsMasq vs Network Manager know issues
To install into dnsmasq, please remember that (at least in debian) could go
in conflict with network manager dnsmasq plugin and set manually the dns
`127.0.0.1`.It's recommended to disable network manager plugin and restart both,
because network manager is not able to manage correctly dnsmasq.### Acknowledgment
See original [source file](https://github.com/hectorm/hmirror/).
And `notracking` blacklist
[repository](https://github.com/notracking/hosts-blocklists).