[tor-bugs] #5280 [Obfsproxy]: obfsproxy transport functions do not understand TCP

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Feb 29 23:21:40 UTC 2012


#5280: obfsproxy transport functions do not understand TCP
-----------------------+----------------------------------------------------
 Reporter:  asn        |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by hellais):

 I am not sure how to rephrase this in terms of syscalls, but I can tell
 you how I ran into this problem.

 Basically when writing the HTTP transport I need to slap some header on
 top of packets I send that are managed inside of an evbuffer. I add
 headers both at the beginning of the packet and at the end of it. The
 problem is that when a packet is bigger than 4096 bytes it gets fragmented
 and I should be able to slap the begin header on the first fragment and
 the end header on the last one.
 If I don't do this there are problems when stripping the headers off of
 the packets and reading the content.

 Is there a way to understand if the current chunk is the last one?

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


More information about the tor-bugs mailing list