Hi Tobias, Thanks a lot.
Best Regards, Ivan Cheng -----Original Message----- From: Tobias Klauser [mailto:[email protected]] Sent: Thursday, August 20, 2015 3:50 PM To: [email protected] Cc: Ivan Cheng Subject: Re: [netsniff-ng] Can the netsniff-ng limit the number of rotated dump files that get created? Hi Ivan On 2015-08-18 at 12:14:36 +0200, Ivan Cheng <[email protected]> wrote: > Hi Expects, > > Can the netsniff-ng support below feature which is extracted from the > tcpdump manpage: > > -W Used in conjunction with the -C option, this will limit the > number of files created to the specified number, and > begin overwriting files from the beginning, thus > creating a 'rotating' buffer. In addition, it will name the files > with enough leading 0s to support the maximum number of > files, allowing them to sort correctly. > > Used in conjunction with the -G option, this will limit > the number of rotated dump files that get created, exiting > with status 0 when reaching the limit. If used with > -C as well, the behavior will result in cyclical files per > timeslice. No, this is currently not possible with netsniff-ng. However, I think it should be fairly easy to implement. I created a github issue about this [1] and will work on it as soon as I found some time. [1] https://github.com/netsniff-ng/netsniff-ng/issues/147 Thanks Tobias -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
