Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] Reassembly of HTTP packets

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Abhik Sarkar" <sarkar.abhik@xxxxxxxxx>
Date: Sun, 10 Aug 2008 20:15:53 +0400

On Sun, Aug 10, 2008 at 7:25 PM, Daniel Gramsch <daniel.gramsch@xxxxxx> wrote:
> Hello Abhik,
>
> very fast ;-) - thank you! But I am not looking for the content of the reassembled packets, just for the overall packet size.
Sorry, that was not quite clear in the original mail.

> The window under the menu (File > Export > Object > HTTP) seems to contain these information, so how can I exctract the two columns (packet num and bytes)
> from there? Just copy it and save this window content into a text file is not possible or am I wrong?
>
> What I want to have at last is a kind of list in the following way:
>
> http packet size 100    ( this packet does not need to be reassembled, cause it fits in a single tcp packet )
> http packet size 1460   ( this packet does not need to be reassembled, cause it fits in a single tcp packet )
> http packez size 1461   ( one http packet but from reassembled tcp packets )
> http packet size 2083   ( one http packet but from reassembled tcp packets )
Something like this _might_ give you what you want...
tshark -r filename.pcap -T fields -e frame.number -e tcp.len -e
tcp.segments -e http.content_length [-d tcp.port==10021,http]
The part in the [] brackets is optional if your HTTP port is not 80.
You might have to play around with the fields a bit and some scripting
and that should get it done.
>
> And is it possible to get the "File > Export > Object > HTTP" information via tshark?
Not that I am aware of but I could be wrong.

> As I said I just need the reassembled packet sizes and of course the packet number.
Within Wireshark, you could also use the custom columns feature to achieve this.

  • References:
    • Re: [Wireshark-users] Reassembly of HTTP packets
      • From: Daniel Gramsch
  • Prev by Date: Re: [Wireshark-users] Reassembly of HTTP packets
  • Next by Date: [Wireshark-users] Betr: Re: Reassembly of HTTP packets
  • Previous by thread: Re: [Wireshark-users] Reassembly of HTTP packets
  • Next by thread: [Wireshark-users] Betr: Re: Reassembly of HTTP packets
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation