Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #1693

Closed (moved)
Open
Opened Jul 14, 2010 by Roger Dingledine@arma

Hidden service v2 directory answers with "not a directory"?

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

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#1693