Ambarisha B skrev 2013-05-01 17:01:
File backed tvbuffs are perhaps not the right name, lets go back and
examine the problem we want to solve.
Wireshark uses a lot of memory when a capture file is read as it
keeps information about every packet in memory
a large part of that is "reassembly data". If that data could be
left in the file(and re read when needed) or stored in a new file
less memory would be used. One question is if this is feasible from
a performance point of view.
After the first read to build information of the packets, packets
are randomly accessed(re-read from file) as needed when displayed to
the user.
>What will this data member contain in case of a reassembly
implementation which uses file backed tvbuffs?
file pointer(s) and length
It may be problematic to obtain the fragments from the original file
in case it is gziped or if the fragments are
parts of decrypted packets so writing to a new file might be the
best option.
Regards
Anders
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
|