nyxnor / tor-ctrl

Raw use of tor's controller
Other
5 stars 3 forks source link

check if connection to tcp is refused #4

Closed nyxnor closed 2 years ago

nyxnor commented 2 years ago

add here

https://github.com/nyxnor/tor-ctrl/blob/2d40c46d8ea0cbe1fbe8e9b79c099080700d3d8a/bin/tor-ctrl#L120-L122

to do the same tests as here https://github.com/nyxnor/tor-ctrl/blob/2d40c46d8ea0cbe1fbe8e9b79c099080700d3d8a/bin/tor-ctrl#L129 and here https://github.com/nyxnor/tor-ctrl/blob/2d40c46d8ea0cbe1fbe8e9b79c099080700d3d8a/bin/tor-ctrl#L133


if this is not done from the beggining, it will fail n times after it but not exit the script till it is finished, this is not desired, better have a basic check.