Date: Mon, 13 Apr 2015 09:20:36 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD questions <freebsd-questions@freebsd.org> Subject: tcpdump -C option, pilot error or genuine bug? Message-ID: <alpine.BSF.2.20.1504130903420.61687@mail.fig.ol.no>
next in thread | raw e-mail | index | archive | help
Hi, I'm attempting to run: tcpdump -C 100 -U -i re0 -s 0 -v -w some-dump-file on stable/10 r281235, the 20150407 amd64 snapshot. The re0 interface is in monitor and permanent promiscuous mode, i.e. ifconfig_re0="up monitor promisc". I'm expecting to see files named: some-dump-file some-dump-file1 some-dump-file2 some-dump-file3 some-dump-file4 ... each file about 100 MB large, i.e. ~100,000,000 bytes. I only see the some-dump-file, and it has now reached 15 GB. As a contrast, the -G option expects the -w argument to contain strftime(3) time formatting to enable timestamping of each file. The -C option has no such requirement documented. Is this a pilot error or a genuine bug? I could switch to using: -G 3600 -w 'some-dump-file-%Y-%m-%dT%H-%M-%s.pcap' but I want a fixed file size more than a fixed time interval for each file. Any thoughts? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 08:26:40 2015 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5C2E6B5 for <freebsd-questions@freebsd.org>; Mon, 13 Apr 2015 08:26:40 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2376C330 for <freebsd-questions@freebsd.org>; Mon, 13 Apr 2015 08:26:38 +0000 (UTC) Received: from curlew.milibyte.co.uk ([80.229.31.82]) by avasout07 with smtp id FLSa1q0071mJoLY01LSb0G; Mon, 13 Apr 2015 09:26:36 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=fZwjyigF c=1 sm=1 tr=0 a=cd0K7rcWwnZFf6xQxRobyA==:117 a=cd0K7rcWwnZFf6xQxRobyA==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=19pAxiUZ1PoA:10 a=8nJEP1OIZ-IA:10 a=e9J7MTPGsLIA:10 a=p2QsaepqAAAA:8 a=gg2ym0ybLdb3Ekb18LQA:9 a=wPNLvfGTeEIA:10 a=yrv8EZ_X4YwA:10 a=2D3JzW5PaiMA:10 a=t21KVecFwPAA:10 a=FULAhrDbHCYA:10 Received: from curlew.lan ([192.168.1.13] helo=milibyte.co.uk) by curlew.milibyte.co.uk with esmtp (Exim 4.85) (envelope-from <jmc-freebsd2@milibyte.co.uk>) id 1YhZhS-0000jo-ER; Mon, 13 Apr 2015 09:26:34 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: freebsd-questions@freebsd.org, nightrecon@hotmail.com Date: Mon, 13 Apr 2015 09:26:05 +0100 Message-ID: <12992858.X4bFETrUAX@curlew.lan> User-Agent: KMail/4.14.3 (FreeBSD/10.1-RELEASE-p9; KDE/4.14.3; amd64; ; ) In-Reply-To: <mgfhhg$9h9$1@ger.gmane.org> References: <CAGBxaX=yE_Pn_vp-2n-hwK+JOqd=nMw5xK0WA5c0vVYbpX3TzA@mail.gmail.com> <mgfhhg$9h9$1@ger.gmane.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: OT: how to simulate USB on a windows virtual box guest Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 13 Apr 2015 08:26:40 -0000 On Monday 13 Apr 2015 00:43:25 Michael Powell wrote: > Download and install VirtualBox 4.3.26 Oracle VM VirtualBox Extension Pack > from: > > https://www.virtualbox.org/wiki/Downloads > > Make sure version matches. It should also be noted that the extensions should be installed on the guest, not the host. -- Mike Clarke
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1504130903420.61687>