[tor-bugs] #6465 [Tor Relay]: Build abstraction layer around TLS

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Sep 11 12:30:26 UTC 2012


#6465: Build abstraction layer around TLS
-----------------------+----------------------------------------------------
 Reporter:  andrea     |          Owner:  andrea            
     Type:  project    |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Relay  |        Version:  Tor: unspecified  
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------

Comment(by andrea):

 Sample debug log with some extra logging added for the tmp == cell_ewma
 assert:

 Sep 11 04:25:16.000 [debug] conn_write_callback(): socket 26 wants to
 write.
 Sep 11 04:25:16.000 [debug] flush_chunk_tls(): flushed 512 bytes, 0 ready
 to flush, 0 remain.
 Sep 11 04:25:16.000 [debug] connection_handle_write_impl(): After TLS
 write of 512: 0 read, 586 written
 Sep 11 04:25:16.000 [debug] channel_write_packed_cell(): Writing
 packed_cell_t 0xd921b8 to channel 0x1996790 with global ID 206
 Sep 11 04:25:16.000 [debug] conn_write_callback(): socket 26 wants to
 write.
 Sep 11 04:25:16.000 [debug] flush_chunk_tls(): flushed 512 bytes, 0 ready
 to flush, 0 remain.
 Sep 11 04:25:16.000 [debug] connection_handle_write_impl(): After TLS
 write of 512: 0 read, 586 written
 Sep 11 04:25:16.000 [debug] channel_write_packed_cell(): Writing
 packed_cell_t 0xd923c8 to channel 0x1996790 with global ID 206
 Sep 11 04:25:16.000 [debug] conn_write_callback(): socket 26 wants to
 write.
 Sep 11 04:25:16.000 [debug] flush_chunk_tls(): flushed 512 bytes, 0 ready
 to flush, 0 remain.
 Sep 11 04:25:16.000 [debug] connection_handle_write_impl(): After TLS
 write of 512: 0 read, 586 written
 Sep 11 04:25:16.000 [debug] channel_write_packed_cell(): Writing
 packed_cell_t 0xd8b468 to channel 0x1996790 with global ID 206
 Sep 11 04:25:16.000 [debug] channel_write_packed_cell(): Writing
 packed_cell_t 0xd8b678 to channel 0x1996790 with global ID 206
 Sep 11 04:25:16.000 [debug] channel_flush_from_first_active_circuit(): tmp
 == cell_ewma assert about to be hit: 0x19af218, 0x1b568b8
 Sep 11 04:25:16.000 [err] channel_flush_from_first_active_circuit(): Bug:
 relay.c:2480: channel_flush_from_first_active_circuit: Assertion tmp ==
 cell_ewma failed; aborting.

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


More information about the tor-bugs mailing list