From owner-freebsd-questions Fri Apr 5 17:02:59 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA25582 for questions-outgoing; Fri, 5 Apr 1996 17:02:59 -0800 (PST) Received: from palmer.demon.co.uk (palmer.demon.co.uk [158.152.50.150]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id RAA25577 for ; Fri, 5 Apr 1996 17:02:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by palmer.demon.co.uk (sendmail/PALMER-1) with SMTP id BAA00976 ; Sat, 6 Apr 1996 01:13:46 +0100 (BST) To: dima@irs.riga.lv cc: questions@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Q on kernel In-reply-to: Your message of "Fri, 05 Apr 1996 20:54:58 +0200." <31656c84.irs@irs.riga.lv> Date: Sat, 06 Apr 1996 01:13:45 +0100 Message-ID: <974.828749625@palmer.demon.co.uk> Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Dmitry Solodov wrote in message ID <31656c84.irs@irs.riga.lv>: > how to enable logging of in/out IP packets in the kernel ? > We want FreeBSD code on our router to write a log of all in/out > packets. It's not clear from the above exactly WHAT sort of data you want logged. You could try the IP accounting stuff (part of IPFW - see man ipfw for more), but that won't log the packet details, just give a summary of traffic to/from specific hosts. Gary