*BSD News Article 48652


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!paladin.american.edu!howland.reston.ans.net!news.sprintlink.net!dispatch.news.demon.net!demon!palmer.demon.co.uk!palmer.demon.co.uk!not-for-mail
From: gary@palmer.demon.co.uk (Gary Palmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How can I use IPACCT ?
Date: 14 Aug 1995 23:31:31 +0100
Organization: none
Lines: 19
Message-ID: <40ois3$3gk@palmer.demon.co.uk>
References: <40o3md$b6r@news.cs.tu-berlin.de>
NNTP-Posting-Host: pc.my.org
X-NNTP-Posting-Host: palmer.demon.co.uk

In article <40o3md$b6r@news.cs.tu-berlin.de>,
Lars Hentschke <nuggets@cs.tu-berlin.de> wrote:
>How can I count selected packets? 
>(options IPACCT in kernel-config)

You need to use the `ipfw' program, which sets the accounting chain
entries as well as the firewall entries. Sorry, but I can't
remember the syntax.

>But I dont wanna parse the output of 'tcpdump'
>:)

:-)

Gary
-- 
FreeBSD Core Member
E-Mail: Gary@Palmer.Demon.co.uk, gpalmer@FreeBSD.org