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


Groups > comp.lang.python > #44380

Re: TCP reassembly

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.161
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.00; 'failing': 0.07; 'python': 0.11; 'packets.': 0.16; 'received:74.208.4.195': 0.16; 'tcp': 0.16; 'wrote:': 0.18; 'example': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'css': 0.30; 'layer': 0.31; 'os,': 0.31; 'piece': 0.31; 'such.': 0.31; 'yourself.': 0.31; 'open': 0.33; 'everyone': 0.33; 'raw': 0.33; 'etc': 0.35; 'objects': 0.35; 'but': 0.35; 'really': 0.36; 'doubt': 0.36; 'level': 0.37; 'implement': 0.38; 'to:addr:python- list': 0.38; 'files': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'issues,': 0.61; "you're": 0.61; 'you.': 0.62; 'reach': 0.63; 'received:74.208': 0.68; 'low': 0.83; 'mean.': 0.91; 'examine': 0.93; 'connection,': 0.95
Date Thu, 25 Apr 2013 23:35:25 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version 1.0
To python-list@python.org
Subject Re: TCP reassembly
References <ee05b72e-86dc-4744-a733-64a804a41af8@googlegroups.com>
In-Reply-To <ee05b72e-86dc-4744-a733-64a804a41af8@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:LSWh8f3o4XCqLEU8JJYtvs1L+tezLB/bY+nLz//l8Cg VuWVjijR/+dPFZh1PNFTkfgq7li0vrLTenZI+7FyevDsBMqus7 EONxyqQlBTQruNLYq0KpGE+3hubDI1XoIF0HxIZu4iDovVnKcY hdhnFgo93arYiaOUaOCVfvUIzQogmhbdF7Ad8xY3Ur5ElWlZVV okavFiJy/+WLIa7bCkJtNYPiGwxBgkx1JW/x53rIay6cezTPLM yLtJuyRBxqywzQDQ+TVvak6JQZfh8v/bpmwhwC70WBBjqg9VTB 9nbI+b57AETE4VCvo3QvnhucLpObs96LERJGAIptlFzG/WhXA= =
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1078.1366947366.3114.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366947366 news.xs4all.nl 15868 [2001:888:2000:d::a6]:51547
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44380

Show key headers only | 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