Ethereal-dev: [Ethereal-dev] some questiones about checksum and memery

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Buding Chen" <budingc@xxxxxxxxxxxx>
Date: Tue, 4 Jun 2002 10:32:52 +0800
Hi, all:
    I have studied the ethereal source code for about one month. Now I have
several questions described below:
    1) I want to debug ethereal smoothly, then how to remove "-O2" argument
of gcc in all Makefile files including all subdirectory? Are there some
convenient ways such as add some argument when excuting ./configure?
    2) If a IP packet based TCP fails in TCP checksum in function
dissect_tcp(...), why is it allowed to pass to subdissector without dropping
it? So does IP header checksum. I think this packet is damaged and not worth
dissecting.
    3) Ethereal eats a lot of memery when and after loading a big file. I
find the size of memery is bigger than file's. I search the source code and
find some useless memery is freeed in function wtap_sequential_close(...)
after loading the file. Who eats these large memery? And are there some ways
to reduce the size of the memery?
    Thanks for any advice.

B.R.
Buding