[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1944 [Torperf]: Set up a Torperf to a hidden service
#1944: Set up a Torperf to a hidden service
-------------------------+----------------------
Reporter: arma | Owner:
Type: task | Status: assigned
Priority: normal | Milestone:
Component: Torperf | Version:
Resolution: | Keywords: SponsorR
Actual Points: | Parent ID: #2552
Points: 3 |
-------------------------+----------------------
Comment (by karsten):
I made more progress on this, but need to clean up my notes and code
before posting them here. Preliminary results are
- a simple tor controller that connects to a local tor process and logs
events to disk including their exact arrival time and
- a parser that reads these event logs and reconstructs successful hidden
service requests and substeps from STREAM, CIRC, and CIRC_MINOR events.
Substeps are:
- from `STREAM NEW`: started request
- to `CIRC|CIRC_MINOR HSCR_CONNECTING`: fetched descriptor
- to `CIRC|CIRC_MINOR HSCR_ESTABLISHED_IDLE`: established rendezvous
point
- to `STREAM SENTCONNECT`: connected to hidden service
- to `STREAM SUCCEEDED`: connected to webserver
- to `STREAM CLOSED`: completed request
Events that I didn't include yet are
- `CIRC|CIRC_MINOR HSCI*`, because I couldn't reliably reconstruct which
introduction circuit was used for a request (edge case: RENDEZVOUS2
arrives before INTRO_ACK),
- `HS_DESC`, because they didn't seem to add much information, and
- `CIRC|CIRC_MINOR HSSR*`, becase I didn't combine event logs from two
tor processes and because I'm not sure how interesting this would be
anyway.
Some quick stats from 86 requests:
{{{
fetchdesc estrend connecths connectapp
Min. :0.000175 Min. :0.05247 Min. : 0.3594 Min. :0.1390
1st Qu.:0.674754 1st Qu.:0.11881 1st Qu.: 0.9616 1st Qu.:0.3184
Median :1.013537 Median :0.19153 Median : 1.3313 Median :0.4999
Mean :1.402095 Mean :0.23187 Mean : 2.3325 Mean :0.5026
3rd Qu.:1.981897 3rd Qu.:0.26136 3rd Qu.: 2.0389 3rd Qu.:0.6207
Max. :6.312293 Max. :1.86909 Max. :48.6318 Max. :1.5455
completereq total
Min. : 0.7379 Min. : 2.017
1st Qu.: 1.0330 1st Qu.: 3.694
Median : 1.2486 Median : 4.847
Mean : 1.5136 Mean : 5.983
3rd Qu.: 1.5413 3rd Qu.: 6.273
Max. :15.6800 Max. :53.806
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1944#comment:17>
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