From owner-freebsd-security Mon Oct 1 13:34:21 2001 Delivered-To: freebsd-security@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 0DF4B37B409 for ; Mon, 1 Oct 2001 13:34:17 -0700 (PDT) Received: from blossom.cjclark.org (dialup-209.245.140.234.Dial1.SanJose1.Level3.net [209.245.140.234]) by pintail.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA18826; Mon, 1 Oct 2001 13:33:24 -0700 (PDT) Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id f91KWnA01152; Mon, 1 Oct 2001 13:32:49 -0700 (PDT) (envelope-from cjc) Date: Mon, 1 Oct 2001 13:32:49 -0700 From: "Crist J. Clark" To: Martin Hermanowski Cc: security@FreeBSD.ORG Subject: Re: ipfw logging complete packets Message-ID: <20011001133249.D304@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20010929223004.M70637@mh57.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010929223004.M70637@mh57.net>; from martin@mh57.net on Sat, Sep 29, 2001 at 10:30:05PM +0200 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Sep 29, 2001 at 10:30:05PM +0200, Martin Hermanowski wrote: > Hi list, > I would like not only to log some ip packets with ipfw, but to write > them to a file, preferred in a format compatible to tcpdump. > > Is there a way to do this? Not within ipfw(8). But there are ways to do this. One obvious choice is Snort, but this completely bypasses ipfw(8). Another idea is to write a very lightweight daemon that gets fed packets from a divert(4) rule and writes the packets to a file. I've considered writing something to do this and a few other capabilities, but have never gotten around to it. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message