r/TerraMaster • • 6h ago

Discussion Is this tracking?

3 Upvotes

Hello,

Today I spent some time working on my network to route all DNS queries through Pi-hole.

While looking at the top queried domains, I noticed quite a few suspicious requests. First to Baidu, then to several public IP identification services.

After digging into it, I traced all these requests back to the TerraMaster OS.

So far, I've blocked 14 root domains (including all their subdomains):

  • `(^|\.)baidu\.com$`
  • `(^|\.)shifen\.com$`
  • `(^|\.)wshifen\.com$`
  • `(^|\.)seeip\.org$`
  • `(^|\.)ipify\.org$`
  • `(^|\.)ipv6\.gg$`
  • `(^|\.)ipv4\.gg$`
  • `(^|\.)ipapi\.co$`
  • `(^|\.)ifconfig\.me$`
  • `(^|\.)ifconfig\.co$`
  • `(^|\.)whatismyip\.akamai\.com$`
  • `(^|\.)icanhazip\.com$`
  • `(^|\.)3322\.org$`
  • `(^|\.)myexternalip\.com$`

What surprises me is that I don't use any of TerraMaster's online services (TNAS.online, DDNS, etc.). None of them.

After digging quite a bit deeper (with a lot of help from AI):

  • Even with TNAS.online disabled, `onlined.service` keeps running in the background and performing periodic checks.
  • The public IP lookup requests are initiated by a binary: `/usr/bin/public_ip`, using the configuration file `/etc/tos/get_public_ip.conf`.
  • `public_ip` itself is managed by TOSDaemon, and I haven't found a way to disable this mechanism independently.

One possible workaround would be to modify `/etc/tos/get_public_ip.conf` and point it to a fake IP lookup service. Personally, I chose to make use of Pi-hole and block the domains directly.

If anyone has more information about why Baidu (and Shifen) are being queried, or why there are 11 different public IP lookup services configured, I'd really like to know.

I had been wondering for a while whether this was simply a bug, but the fact that this functionality is so deeply embedded in TOSDaemon makes it rather suspicious.

Take care of your data ❤️