[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #28702 [Core Tor/Tor]: bootstrapping slow at times
#28702: bootstrapping slow at times
--------------------------------+----------------------------------
Reporter: weasel | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version: Tor: 0.3.4.9
Severity: Normal | Resolution:
Keywords: s8-bootstrap-maybe | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor: Sponsor8-can
--------------------------------+----------------------------------
Comment (by weasel):
Should be easy to get timings and logs.
Run
{{{
while : ; do if ! ./time-tor-bootstrap TOR-TIMING ; then
d="tor.fail.$(date +%s)"; mkdir "$d"; mv -v tor-test/log* "$d"; fi; echo;
echo "X."; sleep 3; done
}}}
if all you care about is the cases when we went over the timeout. Run
{{{
while : ; do ./time-tor-bootstrap TOR-TIMING ; d="tor.logs.$(date +%s)";
mkdir "$d" && mv -v tor-test/log* "$d"; echo; echo "X."; sleep 3; done
}}}
if you care about them all.
Best to run this as a dedicated user, because the code drops files all
over . and/or ~.
To drop all but http(s), use something like
{{{
# iptables -I OUTPUT -m owner --uid-owner w-test -j DROP
# iptables -I OUTPUT -m owner --uid-owner w-test -p tcp -m multiport
--dports 80,443 -j ACCEPT
}}}
where w-test is the user in question.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28702#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs