You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good idea.
FIY we've a -k flag that does not kill orjail namespace and attached tor instance (second time you use it, it takes 0 seconds to run as everything is already there)
If there is a already running Tor in the system or it's used sometimes, why don't reuse its cache for making orjail load faster?
if [ -d "/var/lib/tor" ]; then
mkdir /tmp/orjail-$NAME
if [ -f /tmp/orjail-$NAME/lock ]; then
rm /tmp/orjail-$NAME/lock
fi
cp -d -R /var/lib/tor/* /tmp/orjail-$NAME/
chmod -R 700 /tmp/orjail-$NAME/
chown -R "$USERNAME:$USERNAME" /tmp/orjail-$NAME/
fi
In a script I created here, Tor gets connected in less than 5 seconds by reusing the cache, while not using takes 30~40 seconds.
=)
The text was updated successfully, but these errors were encountered: