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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs