From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 07:20:44 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E48E6A8 for ; Mon, 13 Apr 2015 07:20:44 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D10B4C5E for ; Mon, 13 Apr 2015 07:20:43 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t3D7KaKM058683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 13 Apr 2015 09:20:36 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t3D7KaeI058680 for ; Mon, 13 Apr 2015 09:20:36 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 13 Apr 2015 09:20:36 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD questions Subject: tcpdump -C option, pilot error or genuine bug? Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 07:20:44 -0000 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: 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 ; 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 ; 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 ) id 1YhZhS-0000jo-ER; Mon, 13 Apr 2015 09:26:34 +0100 From: Mike Clarke 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: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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