[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #16052 [Tor]: Hidden service socket exhaustion by opening many connections



#16052: Hidden service socket exhaustion by opening many connections
------------------------+------------------------------------------
     Reporter:  asn     |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-hs dos SponsorR SponsorU
Actual Points:          |  Parent ID:
       Points:          |
------------------------+------------------------------------------

Comment (by asn):

 Here is some profiling output of the attack without Yawning's patch:

 {{{
 +  58.34%  tor  circuit_receive_relay_cell
 +   5.11%  tor  logv
 +   4.93%  tor  smartlist_contains
 +   1.43%  tor  connection_bucket_refill
 +   1.15%  tor  curve25519_donna
 +   0.94%  tor  assert_circuit_ok
 +   0.91%  tor  scan_unsigned
 +   0.89%  tor  smartlist_remove
 +   0.88%  tor  log_fn_
 +   0.74%  tor  tor_vsnprintf
 +   0.64%  tor  tor_snprintf
 +   0.64%  tor  tor_memeq
 +   0.62%  tor  node_get_prim_orport
 +   0.62%  tor  tor_mutex_release
 +   0.57%  tor  write_all
 +   0.45%  tor  buf_datalen
 +   0.42%  tor  siphash24
 +   0.41%  tor  connection_exit_begin_conn
 +   0.39%  tor  assert_cpath_layer_ok
 +   0.35%  tor  run_connection_housekeeping
 +   0.34%  tor  relay_send_command_from_edge_
 +   0.34%  tor  assert_connection_ok
 +   0.33%  tor  compute_weighted_bandwidths
 +   0.31%  tor  connection_handle_read
 +   0.30%  tor  tor_gettimeofday
 +   0.28%  tor  node_is_dir
 +   0.27%  tor  command_process_cell
 +   0.26%  tor  connection_or_process_cells_from_inbuf
 +   0.26%  tor  tor_localtime_r
 +   0.25%  tor  rend_service_set_connection_addr_port
 +   0.25%  tor  circuitmux_find_map_entry
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16052#comment:16>
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