Ethereal-users: Re: [Ethereal-users] streaming capture to multiple files

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

From: "Grant Williams" <grant.williams@xxxxxxxxxx>
Date: Fri, 31 Oct 2003 09:14:16 +1100
On Oct 29, 2003, at 2:16 PM, Ian Schorr wrote:

> What you can't do currently, however, is instruct Ethereal to stop 
>> after it writes a certain number of files or bytes.  You can tell it 
>> to stop after a certain number of frames, and after a certain number 
>> of seconds, but not tell it to record up to a certain number of bytes 
>> if saving to multiple files.

On Oct 30, 2003 01:40:45 Guy Harris wrote:

> would say "switch files every 1,000,000 bytes, stop capturing when you 
> reach 10,000,000 bytes".  If "n" is omitted, all capture files are 
> kept; if "test:value" isn't specified but "n" is, that'd be an error.

You could try making it not a ring buffer, but just write say 100 files of
1,000,000 without writing over the files. When you reach the 100th file just
stop.


Regards
Grant