It seems clear to me that Tor has some facility for discovering when connectivity within a circuit is lost. I'd like to find that point and add a log_debug
into it, as the current Tor logging does not seem to clearly and obviously call these things out. Can anyone point me into the correct source file?
So far I've been looking into the various onion_skin
methods, but those seem to be used most when creating new circuits. I'm looking for something more general: ideally, to log both "this circuit cannot be brought up because node X cannot be reached" and "this existing circuit is failing because node X cannot be reached."
Many thanks to anyone who can offer some light.