[tor-bugs] #9022 [Pluggable transport]: Create an XMPP pluggable transport

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jun 22 21:47:56 UTC 2013


#9022: Create an XMPP pluggable transport
---------------------------------+------------------------------------------
 Reporter:  asn                  |          Owner:  feynman 
     Type:  task                 |         Status:  accepted
 Priority:  normal               |      Milestone:          
Component:  Pluggable transport  |        Version:          
 Keywords:                       |         Parent:          
   Points:                       |   Actualpoints:          
---------------------------------+------------------------------------------

Comment(by feynman):

 I added threading and blocking capabilities to the connection phase-
 analogous to the threading and blocking that takes place in the disconnect
 phase. Now I have much better reliability. Videos do not seem to stop
 loading in the middle. I just made it through a 5 minute Youtube video
 with buffering only at the beginning. I used two JIDs for the client and
 server. Although the video was only 140p, I still think this is a big step
 forward.

 I also cleaned up the code. Though there are still few comments, I have
 better object oriented practices with separate client_socket and
 server_socket classes. I also took out the use of sys.maxsize in place of
 a global constant: 2^32-1. This is mostly for security (so people cannot
 profile the OS based on the sys.maxsize) but also for a slightly simpler
 protocol.

 For now, I think this is about as fast and reliable as it is going to get.
 It is probably time to start working on error handling and full GTalk
 compatibility (i.e. being able to send connect requests to people who are
 not necessarily on your contact list).

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


More information about the tor-bugs mailing list