rethink-app icon indicating copy to clipboard operation
rethink-app copied to clipboard

RethinkDNS log section show other apps connections

Open iulko opened this issue 1 year ago • 7 comments

I use always-on Rethink VPN with loopback enabled. In RethinkDNS log section is see entries of other apps. At beggining I thought that its the bypassed apps, but its also any app.

Maybe its the bug when using always-on connection.

iulko avatar Apr 03 '24 17:04 iulko

Hm, haven't seen this. But I also don't use Loopback for longer than 10m at a time for some light testing.

Can you post a screenshot/screengrab, it you're comfortable?

Also, do not recommend running Rethink in Loopback mode for long. You'll see weird connectivity issues, otherwise.

ignoramous avatar Apr 03 '24 17:04 ignoramous

I use always-on Rethink VPN with loopback enabled. In RethinkDNS log section is see entries of other apps. At beggining I thought that its the bypassed apps, but its also any app.

Maybe its the bug when using always-on connection.

Would you be comfortable sharing a screenshot of the issue you're experiencing?

hussainmohd-a avatar Apr 03 '24 18:04 hussainmohd-a

screenshots one:

ak two:

bk

This app is using standard allowed option. Google play services and Framework are using bypass so maybe they are the culprit or its just a bug.

I know this is not an important featue so please dont focus too much on it :)

EDIT: I looked back to logs after all connections stopped. And 2 of the connections have different transfer sizes upload/download in rethink and Network tabs.

iulko avatar Apr 04 '24 02:04 iulko

What you're seeing is expected, since with Loopback all traffic from other apps is handled by looping it back into Rethink (which then sends the connection out to the Internet / underlying network, if that makes sense). Rethink mirrors the traffic it handles, if you will.

Rethink's own connection logs (ie, the connections Rethink makes) should show up in the Network Log tab. We use a rough heuristic today to determine if a connection originated from Rethink or was being mirrored by Rethink.

EDIT: I looked back to logs after all connections stopped. And 2 of the connections have different transfer sizes upload/download in rethink and Network tabs.

We noticed this in testing too, but unsure why such mismatch occurs (Rethink reports whatever the underlying connection tells us was the total bandwidth in case of both mirrored and non-mirrored traffic... both of which are "different" connections).

ignoramous avatar Apr 04 '24 10:04 ignoramous

I thought the point of Loopback was to show Rethink's own connections so the extra tab would be only for that as the rest is already in Network tab.

Also does Rethink's own connection logs in Network tab only appear with Loopback enabled right?

iulko avatar Apr 05 '24 08:04 iulko

I thought the point of Loopback was to show Rethink's own connections so the extra tab would be only for that as the rest is already in Network tab.

To makes logs interesting we will mark out mirrored connections v non-mirrored (that actually originate from Rethink).

But generally, I expect Loopback to cause connectivity issues. Does it work smoothly for you always?

Also does Rethink's own connection logs in Network tab only appear with Loopback enabled right?

Yes, it does. You can see connections to DNS upstream in there (for example, if you're using Sky RDNS, then you'd see HTTPS entries hitting sky.rethinkdns.com).

ignoramous avatar Apr 05 '24 15:04 ignoramous

To makes logs interesting we will mark out mirrored connections v non-mirrored (that actually originate from Rethink).

Cool, that would be

But generally, I expect Loopback to cause connectivity issues. Does it work smoothly for you always?

I tried it for some days and it was ok I guess

iulko avatar Apr 09 '24 02:04 iulko