core icon indicating copy to clipboard operation
core copied to clipboard

Stop iroh when it is not used

Open link2xt opened this issue 5 months ago • 3 comments

To make sure that Iroh is not using the network and e.g. does not measure the connection to relay, we need to stop Iroh when it is not used.

@flub started doing it at https://github.com/chatmail/core/tree/flub/peer-channels

Another related issue is that apps that don't need Iroh use mDNS: https://github.com/chatmail/core/issues/6443

link2xt avatar Jul 31 '25 18:07 link2xt

Hm, isn't this sort of a pressing issue due to the potential IP address leaks? Or would that not happen unless there is actual data being sent?

ell1e avatar Oct 31 '25 14:10 ell1e

I think the only thing that happens if we keep Iroh around is that it constantly pings the relay, which is the same as chatmail server. Or even if a global relay, the only thing that is leaked is that you are using Iroh.

link2xt avatar Oct 31 '25 14:10 link2xt

If I'm using my own mail server, it would still be a leak on some level, wouldn't it? But I agree, that seems less problematic than I thought it might be.

ell1e avatar Oct 31 '25 15:10 ell1e