From owner-freebsd-questions@FreeBSD.ORG Tue Jul 25 15:49:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5473A16A4E1 for ; Tue, 25 Jul 2006 15:49:19 +0000 (UTC) (envelope-from scphantm@yahoo.com) Received: from ms-smtp-03.tampabay.rr.com (ms-smtp-03.tampabay.rr.com [65.32.5.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E9443D53 for ; Tue, 25 Jul 2006 15:49:18 +0000 (GMT) (envelope-from scphantm@yahoo.com) Received: from [192.168.0.56] (94.146.205.68.cfl.res.rr.com [68.205.146.94]) by ms-smtp-03.tampabay.rr.com (8.13.6/8.13.6) with ESMTP id k6PFnFwi021147 for ; Tue, 25 Jul 2006 11:49:16 -0400 (EDT) Message-ID: <44C63BBE.90102@yahoo.com> Date: Tue, 25 Jul 2006 11:41:50 -0400 From: Steel City Phantom User-Agent: Thunderbird 1.5 (X11/20060226) To: freebsd-questions@freebsd.org References: <44C51D80.8060306@yahoo.com> <20060725011022.GD27489@jeeves.stilyagin.local> In-Reply-To: <20060725011022.GD27489@jeeves.stilyagin.local> Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Mailman-Approved-At: Tue, 25 Jul 2006 16:10:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: dumping net traffic to log file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 15:49:19 -0000 im trying the command tcpdump -i em0 > traffic.log and i get the response tcpdump: (no devices found) /dev/bpf0: No such file or directory im doing it as root. this is a dell poweredge 2850 and we are using the standard gigabit network cards that came onboard. here are the details on the nic em0: flags=8843 mtu 1500 options=b inet 192.168.245.246 netmask 0xffffff00 broadcast 192.168.245.255 ether 00:13:72:56:aa:ca media: Ethernet autoselect (100baseTX ) status: active in my dev directory em0 is mapped to net1. when i try the same command with net1, i get the same thing. Darrin Chandler wrote: On Mon, Jul 24, 2006 at 03:20:32PM -0400, Steel City Phantom wrote: i am troubleshooting an application and am having a hell of a time with it. with bsd 6.1 is there a way where i can dump all traffic coming over the nic to a log file so i can see exactly what is coming in? tcpdump works nicely for this. :)