From owner-freebsd-questions@FreeBSD.ORG Sat Apr 8 12:56:35 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 86A1316A404 for ; Sat, 8 Apr 2006 12:56:35 +0000 (UTC) (envelope-from fbsd_user@a1poweruser.com) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C6DE43D53 for ; Sat, 8 Apr 2006 12:56:34 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([70.39.69.56]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20060408125633.BQNT27529.mta13.adelphia.net@barbish> for ; Sat, 8 Apr 2006 08:56:33 -0400 From: "fbsd_user" To: "freebsd-questions@FreeBSD. ORG" Date: Sat, 8 Apr 2006 08:56:28 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <4435ADF5.4020102@vonostingroup.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478 Importance: Normal Cc: Subject: help with tcpdump cmd syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 12:56:35 -0000 I tried tcpdump -i rl0 src host 218.166.163.180 -w /usr/tcpdump.data tcpdump -i rl0 host 218.166.163.180 -w /usr/tcpdump.data tcpdump -i rl0 src ip 218.166.163.180 -w /usr/tcpdump.data but got syntax error msg with no hint of what was wrong If I remove the -w stuff it works. Meaning it prints to the screen. But I want to write to file Can you help me out here on the syntax error? One other thing. When does tcpdump get access to the packet? My firewall has a block log rule for that ip address. Does tcpdump see the packet before ipfilter ipnat does?