Bitcoin Forum
May 08, 2024, 01:00:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Listing subdomains of [social media] websites for /etc/hosts blackhole-ing  (Read 146 times)
NotATether (OP)
Legendary
*
Offline Offline

Activity: 1596
Merit: 6730


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 13, 2022, 06:59:10 AM
 #1

Forked from a different thread - why not list all subdomains of a website you don't want to use, and then blacklist them all?

Quote
And on top of that, many famous services (Google, Facebook etc.) ask for your mobile number... why is that? Well, tracking becomes easier. They can associate phone numbers with social media profiles. You gain safety, but you lose freedom.
That doesn't provide safety, it increases the risk of a sim swap attack.
This is how you get safety from them:
Code:
grep facebook.com /etc/hosts
~

I'll stop going off-topic now Smiley


I have an idea for improving privacy - For each privacy-invading website, someone should track all its subdomains in a text file, which can then be copied and pasted into the /etc/hosts file automatically.

I'd still prefer some folder like /etc/hosts.d where you can put files for any website in individual files. That'll make it much simpler to add new subdomains without breaking everything. Maybe using something like https://unix.stackexchange.com/questions/60549/etc-hosts-file-refer-to-another-configuration-file
1715130051
Hero Member
*
Offline Offline

Posts: 1715130051

View Profile Personal Message (Offline)

Ignore
1715130051
Reply with quote  #2

1715130051
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715130051
Hero Member
*
Offline Offline

Posts: 1715130051

View Profile Personal Message (Offline)

Ignore
1715130051
Reply with quote  #2

1715130051
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16618


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 13, 2022, 01:11:10 PM
Merited by ABCbits (1)
 #2

someone should track all its subdomains in a text file
Someone did that already Smiley Allow me to quote myself:
Someone ~ should maintain a list
Someone already did that: https://github.com/StevenBlack/hosts (scroll down a bit to see many different categories hosts files).

I'd still prefer some folder like /etc/hosts.d where you can put files for any website in individual files. That'll make it much simpler to add new subdomains without breaking everything. Maybe using something like https://unix.stackexchange.com/questions/60549/etc-hosts-file-refer-to-another-configuration-file
I would have suggested exactly what it shows there already:
Code:
cat /etc/hosts.d/*.conf > /etc/hosts
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!