[tor-bugs] #10849 [Tor]: tunneldirconns 0 makes hidden services publish descriptors over http -- and they're refused

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 12 02:44:39 UTC 2014


#10849: tunneldirconns 0 makes hidden services publish descriptors over http -- and
they're refused
------------------------+---------------------------------
     Reporter:  arma    |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  normal  |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-hs 024-backport
Actual Points:          |  Parent ID:
       Points:          |
------------------------+---------------------------------

Comment (by isis):

 Replying to [comment:11 isis]:
 > Replying to [comment:9 nickm]:
 > > Isis, could you test bug10849_024 in my public repository?
 >
 > Yep, compiling and testing now.

 I looked at those lines when trying to debug on my own, and the problem
 seemed to stem from `directory_command_should_use_begindir()`, but I
 couldn't pinpoint it.

 The patch in `bug10849_024` seems not to fix the problem, or at least
 compiling this branch (with this torrc; just directories and port numbers
 changed, and debug logs enabled) the logs show the following:

 {{{
 Feb 11 23:56:41.000 [debug] {REND} rend_add_service(): Configuring service
 with directory "/var/www/hstest/"
 Feb 11 23:56:41.000 [debug] {REND} rend_add_service(): Service maps port
 7013 to 127.0.0.1:80
 Feb 11 23:56:56.000 [info] {REND} rend_service_load_all_keys(): Loading
 hidden-service keys from "/var/www/hstest/"
 Feb 11 23:57:06.000 [info] {REND} rend_services_introduce(): Picked router
 [scrubbed] as an intro point for [scrubbed].
 Feb 11 23:57:06.000 [info] {REND} rend_services_introduce(): Picked router
 [scrubbed] as an intro point for [scrubbed].
 Feb 11 23:57:06.000 [info] {REND} rend_services_introduce(): Picked router
 [scrubbed] as an intro point for [scrubbed].
 Feb 11 23:57:06.000 [info] {REND} rend_services_introduce(): Picked router
 [scrubbed] as an intro point for [scrubbed].
 Feb 11 23:57:06.000 [info] {REND} rend_services_introduce(): Picked router
 [scrubbed] as an intro point for [scrubbed].
 Feb 11 23:57:06.000 [info] {REND} rend_service_launch_establish_intro():
 Launching circuit to introduction point [scrubbed] for service
 dl2erovyzq7kob4n
 Feb 11 23:57:06.000 [info] {REND} rend_service_launch_establish_intro():
 Launching circuit to introduction point [scrubbed] for service
 dl2erovyzq7kob4n
 Feb 11 23:57:06.000 [info] {REND} rend_service_launch_establish_intro():
 Launching circuit to introduction point [scrubbed] for service
 dl2erovyzq7kob4n
 Feb 11 23:57:06.000 [info] {REND} rend_service_launch_establish_intro():
 Launching circuit to introduction point [scrubbed] for service
 dl2erovyzq7kob4n
 Feb 11 23:57:06.000 [info] {REND} rend_service_launch_establish_intro():
 Launching circuit to introduction point [scrubbed] for service
 dl2erovyzq7kob4n
 Feb 11 23:57:07.000 [info] {REND} rend_service_intro_has_opened():
 Established circuit 31060 as introduction point for service
 dl2erovyzq7kob4n
 Feb 11 23:57:07.000 [info] {REND} rend_service_intro_has_opened():
 Established circuit 31062 as introduction point for service
 dl2erovyzq7kob4n
 Feb 11 23:57:08.000 [info] {REND} rend_service_intro_established():
 Received INTRO_ESTABLISHED cell on circuit 31060 for service
 dl2erovyzq7kob4n
 Feb 11 23:57:08.000 [info] {REND} rend_service_intro_established():
 Received INTRO_ESTABLISHED cell on circuit 31062 for service
 dl2erovyzq7kob4n
 Feb 11 23:57:08.000 [info] {REND} rend_service_intro_has_opened():
 Established circuit 31061 as introduction point for service
 dl2erovyzq7kob4n
 Feb 11 23:57:08.000 [info] {REND} rend_service_intro_established():
 Received INTRO_ESTABLISHED cell on circuit 31061 for service
 dl2erovyzq7kob4n
 Feb 11 23:57:16.000 [info] {REND,CIRC} rend_service_intro_has_opened(): We
 have just finished an introduction circuit, but we already have enough.
 Redefining purpose to general; leaving as internal.
 Feb 11 23:57:16.000 [info] {REND,CIRC} rend_service_intro_has_opened(): We
 have just finished an introduction circuit, but we already have enough.
 Redefining purpose to general; leaving as internal.
 Feb 11 23:57:16.000 [info] {REND} rend_services_introduce(): Giving up on
 [scrubbed] as intro point for [scrubbed] (circuit disappeared).
 Feb 11 23:57:16.000 [info] {REND} rend_services_introduce(): Giving up on
 [scrubbed] as intro point for [scrubbed] (circuit disappeared).
 Feb 11 23:57:39.000 [info] {REND} rend_encode_v2_descriptors():
 Successfully encoded a v2 descriptor and confirmed that it is parsable.
 Feb 11 23:57:39.000 [info] {REND} upload_service_descriptor(): Launching
 upload for hidden service dl2erovyzq7kob4n
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'rumpelstilzchen' on 144.76.117.148:9001.
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'ballerina' on 82.170.185.9:9001.
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'default' on 78.101.53.2:443.
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'TorMenta2' on 200.75.228.92:9001.
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'Tor1ByHostplanetME' on 37.59.150.178:443.
 Feb 11 23:57:39.000 [info] {REND} directory_post_to_hs_dir(): Launching
 upload for v2 descriptor for service '[scrubbed]' with descriptor ID
 '[scrubbed]' with validity of 77766 seconds to hidden service directory
 'BearNecessities' on 46.38.57.196:443.
 Feb 11 23:57:39.000 [info] {REND} upload_service_descriptor():
 Successfully uploaded v2 rend descriptors!
 Feb 11 23:57:40.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Nonauthoritative directory
 does not accept posted server descriptors"))
 Feb 11 23:57:40.000 [warn] {REND} http status 400 ("Nonauthoritative
 directory does not accept posted server descriptors") response from
 dirserver '144.76.117.148:9030'. Malformed rendezvous descriptor?
 Feb 11 23:57:41.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Nonauthoritative directory
 does not accept posted server descriptors"))
 Feb 11 23:57:41.000 [warn] {REND} http status 400 ("Nonauthoritative
 directory does not accept posted server descriptors") response from
 dirserver '46.38.57.196:80'. Malformed rendezvous descriptor?
 Feb 11 23:57:41.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Nonauthoritative directory
 does not accept posted server descriptors"))
 Feb 11 23:57:41.000 [warn] {REND} http status 400 ("Nonauthoritative
 directory does not accept posted server descriptors") response from
 dirserver '78.101.53.2:9030'. Malformed rendezvous descriptor?
 Feb 11 23:57:41.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Nonauthoritative directory
 does not accept posted server descriptors"))
 Feb 11 23:57:41.000 [warn] {REND} http status 400 ("Nonauthoritative
 directory does not accept posted server descriptors") response from
 dirserver '82.170.185.9:9030'. Malformed rendezvous descriptor?
 Feb 11 23:57:41.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Bad Request"))
 Feb 11 23:57:41.000 [warn] {REND} http status 400 ("Bad Request") response
 from dirserver '37.59.150.178:80'. Malformed rendezvous descriptor?
 Feb 11 23:57:42.000 [info] {REND} connection_dir_client_reached_eof():
 Uploaded rendezvous descriptor (status 400 ("Nonauthoritative directory
 does not accept posted server descriptors"))
 Feb 11 23:57:42.000 [warn] {REND} http status 400 ("Nonauthoritative
 directory does not accept posted server descriptors") response from
 dirserver '200.75.228.92:9030'. Malformed rendezvous descriptor?
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10849#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list