[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

How to Increase Frequency of Tor Bootstrap Test?

Is there was way to make the Tor bootstrap test run more often than the default settings?

Am I correct after a successful test at startup, if there are issues later with Tor bootstrap, all Tor Browser activity will fail, so perhaps there’s no need for more tests after the test at startup?

What type of error message will the user receive if a Tor bootstrap failure occurs during Tor Browser activity?

1 Like

Lidecker78:

Is there was way to make the Tor bootstrap test run more often
than the default settings?

How often whonixcheck runs is currently hardcoded in
/usr/lib/whonixcheckdaemon.

Two times it uses:
sleep 3600 &

(In seconds.)

You could change it to something else, but then whole whonixcheck
would run more often.

You could also set up a script to run

whonixcheck --function check_tor_bootstrap

as often as you see fit.

You could even set up custom notifications. Use this “API” style etc.

Have a look at:
https://github.com/Whonix/whonixcheck/blob/master/usr/lib/whonixcheck/check_tor_bootstrap

The check_tor_bootstrap script is a user of:
/usr/lib/anon-shared-helper-scripts/tor_bootstrap_check.bsh

source /usr/lib/anon-shared-helper-scripts/tor_bootstrap_check.bsh
check_tor_bootstrap_helper

That it essentially. Then you have access to variable
$tor_bootstrap_percent. If it’s 100, then bootstrap is 100% and
perfectly fine. Otherwise, something else.

Am I correct after a successful test at startup, if there are
issues later with Tor bootstrap, all Tor Browser activity will
fail, so perhaps there’s no need for more tests after the test at
startup?

Yes. You would figure out pretty easy that Tor is not bootstrapped,
because no more internet connections would be possible from the
workstation [or gateway].

What type of error message will the user receive if a Tor
bootstrap failure occurs during Tor Browser activity?

Stop Tor or shut down Whonix-Gateway to find out.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]