If you could give me a logrotate script that could be be placed logrotate.d and used for Netsniff-NG it would be great.
What I am looking for is a way to rotate the logs without any packet capture loss within Netsniff-ng. On Wednesday, February 5, 2014 3:43:16 PM UTC-6, John wrote: > > Hi, > > I would like to have netsniff-ng rotate the capture file if a particular > time has passed or a particular size has been reached. > > The options are: --interval 60sec --interval 10MiB > > The full line is: > > /usr/sbin/netsniff-ng -V --silent --in em1 --filter icmp and host x.x.x.x > --ring-size 25MiB --interval 60sec --interval 10MiB --prefix eth1. --out > /var/opt/capture/ --bind-cpu 4 > > > It seems to be taking the size and not the time when rotating. > > I use a similar thing on tshark and I am trying to duplicate it here. > > Ideas? > > Thanks in advance! > > John > > -- 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/groups/opt_out.
