Control-D-Inc / ctrld

A highly configurable, multi-protocol DNS forwarding proxy
MIT License
403 stars 19 forks source link

Issues with Analytics and the Clients feature of ctrld after Anycast upgrade #99

Closed pmcarrion closed 9 months ago

pmcarrion commented 11 months ago

Cross-posting this issue from Control D Feedback as it also involves ctrld.

https://feedback.controld.com/posts/2300/issues-with-analytics-and-the-clients-feature-of-ctrld-after-anycast-upgrade

===

For the last 6 weeks, Control D Analytics and ctrld on the router and computer have been reporting "clients" that don’t exist.

My router is showing 1,488 clients (as of 2023-10-13). The number should be around 60 clients. The rest are IPv6 addresses and localhost.

My computer went from 2 clients (network interfaces) to 5: Wi-Fi, Ethernet, IPv6 address, localhost and kubernetes.

The issue started with ctrld version 1.3.0 right after the Control D Anycast upgrade and remains with ctrld version 1.3.1 released yesterday.

The routing issues caused by the Anycast upgrade also remain unsolved.

Related issue: https://feedback.controld.com/posts/2257/routing-issue-sice-last-network-update

yegors commented 11 months ago

Anycast changes would have no impact on this. You need to contact support and provide the data you see.

1,488 clients seems like a problem, are they all UUID hostnames that change randomly?

pmcarrion commented 11 months ago

1,488 clients seems like a problem, are they all UUID hostnames that change randomly?

The MAC addresses are the same but the IPv6 addresses change randomly. The Control D Dashboard reports them as separate devices.

image image
yegors commented 10 months ago

@pmcarrion Can you DM/email me the output from ctrld clients list

Thx

pmcarrion commented 10 months ago

The current ctrld version installed on my router is

root@RT-AX88U-XXXX:/jffs/controld# ./ctrld --version
ctrld version dev-33d77fc

However, I'm getting this error:

root@RT-AX88U-XXXX:/jffs/controld# ./ctrld clients list
Nov  9 20:48:04.000 FTL failed to get clients list error="Post \"http://unix/clients\": dial unix /jffs/controld/ctrld_control.sock: connect: connection refused"
pmcarrion commented 10 months ago

I had to reinstall ctrld on my router for some reason.

I just sent you the output of ctrld clients list by DM.

cuonglm commented 9 months ago

This is fixed in v1.3.2 release.