-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ALL: entries in superhosts.deny #657
Comments
I think there is a misunderstanding here, where you are confusing between
The script for the hosts file is here linux-hosts-installer.sh Userfrendly alternative is to use the dns server instead
|
@smed79: Thank you for your prompt reply! And I apologize for my misunderstanding. The word deny says it all, right?... But, well... Sure I'm aware of the regular /etc/hosts file, which is being used by dnsmasq. But I added the directive addn-hosts=super_hosts_deny in it as well to do exactly this: to block external sources of ads and bad web sites, thus protecting my Linux system from being infected with Malware or Ransomware. On this page you mention the following, among other things:
Nowhere in that page is stated this file was created for use with iptables instead. Yeah, the deny word implies that, right?... I used to create iptables in Cisco routers 20 years ago, but never in Linux. My MX-Linux has iptables v1.8.7 installed by default, guess I will have to learn about it to use this file, which is not a problem at all. And just so you know, I want to use and experiment with superhosts.deny because it is the most comprehensive and complete collection of addresses to block, and in a machine which is apart from my private home network, for learning purposes. I think of your hosts as a subset of it. And yes, I'm using your IPv4 dns servers on a regular basis on my home nw (my dd-wrt router dnsmasq does not like more than 3 dns, so unable to add IPv6 as well). Thank you for such a great option! |
Hi @smed79! Just FYI, I had inetd restarted and now /etc/hosts.allow and /etc/hosts.deny are working as expected. Thank you for your heads up! And sorry for any misunderstanding. Cheers |
Happy to hear that you have fixed your issue. Do not hesitate to report any issue, an answer will necessarily be provided to you. Regards, |
Hi, this is my first 2 cts...
Hopefully not breaking any rule...
Just downloaded superhosts.deny using this script to use with dnsmasq on latest MX-Linux, but all 776522 entries starting with
ALL:
instead of0.0.0.0
, so dnsmasq is unable to read anything in it...Not sure what am I missing?...
Thanks!
Plurix
The text was updated successfully, but these errors were encountered: