[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #1693 [Tor - Tor client]: Hidden service v2 directory answers with "not a directory"?
#1693: Hidden service v2 directory answers with "not a directory"?
------------------------------+---------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Tor - Tor client | Version:
Keywords: | Parent:
------------------------------+---------------------------------------------
Accessing a hidden service from my Tor client (running 0.2.2.14-alpha).
Looks like the hsdir2 in question is refusing to answer begindir requests
because it's not a directory. Sure enough:
router hippies770 93.83.133.214 9001 0 0
the dirport is 0
But its descriptor also lists
opt hidden-service-dir
!
The consensus gave it the HSDir flag:
r hippies770 Pcf1uWeH+Da1QlidZwjYlMAPHSg TXLbNlSeQcpja60fXNguBHi/LMs
2010-07-13 16:01:32 93.83.133.214 9001 0
s Fast HSDir Named Running Stable Valid
v Tor 0.2.1.26
w Bandwidth=37
p reject 1-65535
Here are the logs that explain better:
Jul 14 01:51:31.116 [info] directory_get_from_hs_dir(): Sending fetch
request for v2 descriptor for service 'sw4cr...' with descriptor ID
'hwvfd...naahzlgxneji', auth type 0, and descriptor cookie '[none]' to
hidden service directory 'hippies770' on port 0.
...
Jul 14 01:51:33.743 [info] circuit_finish_handshake(): Finished building
circuit hop:
Jul 14 01:51:33.743 [info] exit circ (length 4, exit hippies770):
teunTest(open) staanii(open) stargrave(open) hippies770(open)
...
Jul 14 01:51:33.745 [info] circuit_send_next_onion_skin(): circuit built!
Jul 14 01:51:33.745 [debug] connection_ap_handshake_attach_circuit():
Attaching apconn to circ 34799 (stream 2 sec old).
Jul 14 01:51:33.745 [info] exit circ (length 4): teunTest(open)
staanii(open) stargrave(open) hippies770(open)
Jul 14 01:51:33.745 [debug] link_apconn_to_circ(): attaching new conn to
circ. n_circ_id 34799.
Jul 14 01:51:33.745 [debug] connection_ap_handshake_send_begin(): Sending
relay cell to begin stream 59895.
Jul 14 01:51:33.745 [debug] relay_send_command_from_edge(): delivering 13
cell forward.
Jul 14 01:51:33.745 [debug] relay_send_command_from_edge(): Sending a
RELAY_EARLY cell; 4 remaining.
...
Jul 14 01:51:35.660 [info] connection_ap_process_end_not_open(): Edge got
end (not a directory) before we're connected. Marking for close.
Jul 14 01:51:35.660 [info] exit circ (length 4): teunTest(open)
staanii(open) stargrave(open) hippies770(open)
Jul 14 01:51:35.660 [info] stream_end_reason_to_socks5_response(): Reason
for ending (526) not recognized; sending generic socks error.
...
Jul 14 01:51:35.660 [debug] conn_close_if_marked(): Cleaning up connection
(fd -1).
Jul 14 01:51:35.660 [debug] connection_remove(): removing socket -1 (type
Socks), n_conns now 8
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1693>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online