Opened 6 years ago

Closed 5 years ago

#9640 closed defect (user disappeared)

assertion bug in directory_initiate_command_rend using tor2web mode

Reported by: cypherpunks Owned by:
Priority: High Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version: Tor: 0.2.4.16-rc
Severity: Keywords: tor-client tor-hs tor2web-mode
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

compiled tor-0.2.4.16-rc with --enable-tor2web-mode and set Tor2webMode 1

When opening a socks connection (e.g. usewithtor curl some.onion) it crashes:

[err] directory_initiate_command_rend(): Bug: src/or/directory.c:999: directory_initiate_command_rend: Assertion !(is_sensitive_dir_purpose(dir_purpose) && !anonymized_connection) failed; aborting.
src/or/directory.c:999 directory_initiate_command_rend: Assertion !(is_sensitive_dir_purpose(dir_purpose) && !anonymized_connection) failed; aborting.

Child Tickets

Change History (5)

comment:1 Changed 6 years ago by asn

Component: - Select a componentTor
Keywords: tor-client tor-hs tor2web-mode added

comment:2 Changed 6 years ago by arma

Milestone: Tor: 0.2.4.x-final

comment:3 Changed 6 years ago by nickm

Priority: normalmajor

Hm. That assertion is wrapped in:

#ifndef NON_ANONYMOUS_MODE_ENABLED
  tor_assert(!(is_sensitive_dir_purpose(dir_purpose) &&
               !anonymized_connection));
#else
  (void)is_sensitive_dir_purpose;
#endif

comment:4 Changed 6 years ago by nickm

Status: newneeds_information

Is it possible that you've somehow not compiled Tor in the way you think you have? I just tried building the 0.2.4 branch with --enable-tor2web-mode, and I found that the assertion that's failing for you isn't even getting compiled for me.

comment:5 Changed 5 years ago by nickm

Resolution: user disappeared
Status: needs_informationclosed
Note: See TracTickets for help on using tickets.