TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Ban All ByteDance and Tencent Domains

13 pointsby seethishatalmost 2 years ago
Some U.S. states have passed laws that ban apps and websites developed by ByteDance or Tencent Holdings on state devices and networks. Yet, none of them provide a list of domains to block. If you were asked to implement this block on your network, how would you do it? And, how would you create a list of domains owned by these companies? How would you keep it up2date and accurate?

4 comments

toast0almost 2 years ago
&gt; If you were asked to implement this block on your network, how would you do it?<p>Depends. Do I want to do a good job, or do I want to comply?<p>If I just want to comply, I will ask them what to block, and block exactly that, and not care what makes it through. I&#x27;m in the network connection business, not the network blocking business, so not my problem if I did what you asked.<p>If I&#x27;m trying to block the service, then watch dns and other traffic on an otherwise clean phone, and block things that are obviously related. If the service still works, start blocking other stuff. Check with other services to make sure they still work. You&#x27;ll need to test frequently in case they try to avoid blocks.<p>Sooner or later, you&#x27;ll have to make hard decisions about collateral damage.
spharsalmost 2 years ago
Here&#x27;s a good starting list of TikTok hosts, of which overlaps a few of ByteDance&#x27;s domains: <a href="https:&#x2F;&#x2F;github.com&#x2F;blocklistproject&#x2F;Lists&#x2F;blob&#x2F;master&#x2F;tiktok.txt">https:&#x2F;&#x2F;github.com&#x2F;blocklistproject&#x2F;Lists&#x2F;blob&#x2F;master&#x2F;tiktok...</a>
hello_computeralmost 2 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;BourgeoisBear&#x2F;nicsearch">https:&#x2F;&#x2F;github.com&#x2F;BourgeoisBear&#x2F;nicsearch</a><p><pre><code> nicsearch &#x27;na bytedance +&#x27; nicsearch &#x27;na tencent +&#x27; </code></pre> Also, add a cron job to update nicsearch&#x27;s database from the RIRs:<p><pre><code> nicsearch -download</code></pre>
3N51N3almost 2 years ago
Maybe start compiling in a Notion doc.