Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44380

Re: TCP reassembly

Date 2013-04-25 23:35 -0400
From Dave Angel <davea@davea.name>
Subject Re: TCP reassembly
References <ee05b72e-86dc-4744-a733-64a804a41af8@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.1078.1366947366.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 04/25/2013 07:35 PM, Hasil Sharma wrote:
> Hi everyone ,
> How to reassemble the TCP data packets into objects viz. html , css , js image files etc . I have no idea how to implement it using python , please help ?
>


TCP reassembly has a specific meaning, and I doubt if that's what you 
mean.  If you reach down below the tcp layer in your OS, and get raw IP 
packets, then you have to do the reassembly yourself.  But if you open a 
TCP connection, the OS will already do any reordering, retrying, and 
reassembly for you.

Give a specific example of what you're trying, and what piece of it is 
failing for you.

tcpdump or wireshark can be used to examine low level protocol issues, 
if you really have such.  And python + scapy can generate pretty 
arbitrary packets.  But I rather doubt that's what you want.


-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

TCP reassembly Hasil Sharma <hasilsharma7@gmail.com> - 2013-04-25 16:35 -0700
  Re: TCP reassembly Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-25 19:05 -0500
  Re: TCP reassembly Dave Angel <davea@davea.name> - 2013-04-25 23:35 -0400

csiph-web