Closed nyxnor closed 2 years ago
the major problem of this issue was fixed with changing the mode of tor-ctrl -w from enter to INT signal. Commit coming soon.
now it will be print the whole stream event, there are sensitive fields there such as SOCKS_USERNAME and SOCKS_PASSWORD contents if any.
@adrelanos if that is not what the behavior you wante, reopen the issue.
trap kill 0 is not killing all process running on the background called by the script, this is printing async replies even after quiting the script.
from https://github.com/nyxnor/tor-ctrl/issues/13#issuecomment-1016432749
Adrelanos said: I didn't know what that IP is. Can be found on search engines (check.torproject.org) but that isn't comfortable to find out about unwanted connections. Could you please add reverse DNS as an additional field?
The case is that
GETINFO stream-status
just show one line per request and change at every new stream update, and that is horrible, very different than GETINFO circuit-status that dumps a lot of lines. Maybe because stream time of life is much shorter than circuits, but anyway... Removing sleep time does not solve it :(, the streams updates faster than that loop can run. So don't know yet what to do here.About resolving dns, I don't want to send another request to tor-resolve or listening ADDRMAP as I tried here, I would prefer to not use
GETINFO stream-status
, the method I wish it worked was to show raw streams withSETEVENTS STREAM
without closing the connecitons.