Ethereal-users: [Ethereal-users] Re: Saving an Ethereal Filter file

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

From: "Steve Winn" <stevewinn@xxxxxxxxx>
Date: Wed, 14 Mar 2001 14:52:57 -0600
I saw this when I upgraded from ver. 0.8.15 to 0.8.16 Win32 binaries.

I'm guessing that something might be slightly different about the
format/location of the filters/preferences files??

I got it to work by:
        1    rename the .ethereal folder to something else
        2    start ethereal, create and save a filter (ie let ethereal make
the files again)
        3    stop ethereal, cut and paste filters from old files into the
new files now created by ethereal
I was also getting strange "/.ethereal/preferences Line 66: No such
preference" and program crashes.

Doing the above fixed it. Everything's fine now.

HTH

>>> Question on ethereal:
>>>
>>> Everytime I try to save a filter file, it tells me something like
"cannot
>>> save file as ethereal.exe already exists" as if were trying to overwrite
>>> ethereal.exe or something. Hence, I cannot save a filter file. Do you
know
>>> why this is? A.

>> Probably because there's something wrong with the pathname construction
>> code, at least on Windows.
>>
>> I didn't have that precise problem; I fired up Ethereal once, added a
>> new display filter, and it saved it OK, but I then fired it up again,
>> deleted the new display filter, and when I tried to save it the dialog
>> box was
>>
>> Could not save to your display filter file "": File exists.

>...which may be the result of a bug in the "save_filter_list()" routine,
>wherein it stores through a pointer argument a pointer to the pathname
>of the filter file it was trying to save, and then frees the pathname
>string, so its caller, when it tries to use that pathname in an error
>message, may get junk from it.

>That wouldn't explain the error, but it would explain the bogus file
>name in the dialog box.