[tor-bugs] #2205 [Tor Relay]: private network of nodes running master doesn't allow client requests to complete

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Nov 30 10:44:51 UTC 2010


#2205: private network of nodes running master doesn't allow client requests to
complete
-----------------------+----------------------------------------------------
 Reporter:  Sebastian  |       Owner:                    
     Type:  defect     |      Status:  needs_review      
 Priority:  major      |   Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay  |     Version:                    
 Keywords:             |      Parent:                    
-----------------------+----------------------------------------------------

Comment(by cypherpunks):

 Replying to [comment:26 cypherpunks]:
 > Openssl calling a callback with another type for SSL_ST_OK:

 Skiped to much, skiped another cb too:
 {{{
                 case SSL_ST_OK:
                         /* clean a few things up */
                         ssl3_cleanup_key_block(s);

                         BUF_MEM_free(s->init_buf);
                         s->init_buf=NULL;

                         /* remove buffering on output */
                         ssl_free_wbio_buffer(s);

                         s->init_num=0;

                         if (s->new_session == 2) /* skipped if we just
 sent a HelloRequest */
                                 {
                                 /* actually not necessarily a 'new'
 session unless
                                  *
 SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION is set */

                                 s->new_session=0;

                                 ssl_update_cache(s,SSL_SESS_CACHE_SERVER);

                                 s->ctx->stats.sess_accept_good++;
                                 /* s->server=1; */
                                 s->handshake_func=ssl3_accept;

                                 if (cb != NULL)
 cb(s,SSL_CB_HANDSHAKE_DONE,1);
                                 }

                         ret = 1;
                         goto end;
                         /* break; */
 }}}
 SSL_CB_HANDSHAKE_DONE more usefull for fixing of "bug2205_idea".

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


More information about the tor-bugs mailing list