[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 arma):
Replying to [comment:25 arma]:
> We could get a NACK response from the intro point, meaning "the hidden
service you asked me to introduce you to didn't have an intro circuit open
to me, sorry".
For added fun, the NACK comes in the form of an
RELAY_COMMAND_INTRODUCE_ACK cell that has non-zero length. From the
control port you can tell because you get
{{{
650 CIRC_MINOR 16 PURPOSE_CHANGED
$3C79699D4FBC37DE1A212D5033B56DAE079AC0EF~bauruine203,$F73B3830B42FEFBA61524A7A3D99CFD83C57E3C9~rmblack,$0145DA9E666663E9E59B400DC6110239560DFC2A~archangelgabriel,$F528DED21EACD2E4E9301EC0AABD370EDCAD2C47~ryro
BUILD_FLAGS=IS_INTERNAL,NEED_CAPACITY,NEED_UPTIME PURPOSE=HS_CLIENT_INTRO
HS_STATE=HSCI_CONNECTING REND_QUERY=jfpm7mbwdnyzwgfx
TIME_CREATED=2014-09-24T21:38:02.263585 OLD_PURPOSE=HS_CLIENT_INTRO
OLD_HS_STATE=HSCI_INTRO_SENT
}}}
where it used to be in OLD_HS_STATE=HSCI_INTRO_SENT but now it's in
HS_STATE=HSCI_CONNECTING. That's because we just extend that circuit one
more hop and try introducing again. But if that circuit already has too
many hops, you instead just see a direct transition from HSCI_CONNECTING
to CLOSED:
{{{
650 CIRC_MINOR 8 PURPOSE_CHANGED
$3C79699D4FBC37DE1A212D5033B56DAE079AC0EF~bauruine203,$87C1E26B58E72906A6413AD3DDD29E867B6F3339~scottishpornstar,$AAB884CD032C27923198F3B3671819B522D44CA3~SakharovTorNodeA01x,$5A16F7E31B26F286889F20027F57A5E253AF3F23~servbr4a,$F8D27B163B9247B232A2EEE68DD8B698695C28DE~fluxe3,$F528DED21EACD2E4E9301EC0AABD370EDCAD2C47~ryro
BUILD_FLAGS=IS_INTERNAL,NEED_CAPACITY PURPOSE=HS_CLIENT_INTRO
HS_STATE=HSCI_CONNECTING REND_QUERY=jfpm7mbwdnyzwgfx
TIME_CREATED=2014-09-24T21:37:40.375965 OLD_PURPOSE=HS_CLIENT_INTRO
OLD_HS_STATE=HSCI_INTRO_SENT
650 CIRC 8 CLOSED
$3C79699D4FBC37DE1A212D5033B56DAE079AC0EF~bauruine203,$87C1E26B58E72906A6413AD3DDD29E867B6F3339~scottishpornstar,$AAB884CD032C27923198F3B3671819B522D44CA3~SakharovTorNodeA01x,$5A16F7E31B26F286889F20027F57A5E253AF3F23~servbr4a,$F8D27B163B9247B232A2EEE68DD8B698695C28DE~fluxe3,$F528DED21EACD2E4E9301EC0AABD370EDCAD2C47~ryro
BUILD_FLAGS=IS_INTERNAL,NEED_CAPACITY PURPOSE=HS_CLIENT_INTRO
HS_STATE=HSCI_CONNECTING REND_QUERY=jfpm7mbwdnyzwgfx
TIME_CREATED=2014-09-24T21:37:40.375965 REASON=FINISHED
}}}
I wonder if we want to add an explicit CIRC_MINOR event for the nack case?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1944#comment:26>
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