Re: how to rotate a tcpdump file

2009-05-24 Thread Matthew Seaman
Frank Shute wrote: On Sat, May 23, 2009 at 08:52:14PM +0100, Frank Shute wrote: I was thinking of using the -C and -w options to tcpdump(1). From the manpage: -C Before writing a raw packet to a savefile, check whether the file is currently larger than file_size and, if so,

how to rotate a tcpdump file

2009-05-23 Thread Yavuz Maşlak
I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kişiler listesine özeldir. Eğer adınız gönderilen kişiler listesinde yer almıyorsa, lütfen derhal gönderen kişiyi bilgilendiriniz ve

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at newsyslog.conf(5) to craft a line to put

Re: how to rotate a tcpdump file

2009-05-23 Thread Morgan Wesström
Frank Shute wrote: On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at newsyslog.conf(5) to

Re: how to rotate a tcpdump file

2009-05-23 Thread Matthew Seaman
Morgan Wesström wrote: Frank Shute wrote: On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 07:26:37PM +0200, Morgan Wesstrm wrote: Frank Shute wrote: On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? You should be able to set up newsyslog(8)

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 08:52:14PM +0100, Frank Shute wrote: On Sat, May 23, 2009 at 07:26:37PM +0200, Morgan Wesstrm wrote: Frank Shute wrote: On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which