From: Ralf Spenneberg <lists@spenneberg.org>
To: Klaus Boehm <k.boehm@ewt.de>
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: accounting
Date: 09 Oct 2003 18:19:09 +0200 [thread overview]
Message-ID: <1065716349.5873.19.camel@kermit> (raw)
In-Reply-To: <3F856645.2030609@ewt.de>
Hi,
Am Don, 2003-10-09 um 15.44 schrieb Klaus Boehm:
> I want use the iptables for accounting.
> 1. How looks the iptable rules.
> 2. In which file under the proc filesystem I could read the counter values.
There are probably better applications to do accounting, but if you want
to do that:
1. This rule will cover all HTTP-traffic
iptables -A FORWARD -p tcp --port 80
2. You can read the counters using
iptables -vnL
3. You can reset the counters using
iptables -Z
Cheers,
Ralf
--
Ralf Spenneberg
RHCE, RHCX
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
next prev parent reply other threads:[~2003-10-09 16:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-09 13:44 accounting Klaus Boehm
2003-10-09 16:19 ` Ralf Spenneberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-13 6:12 accounting Brent Clark
2008-02-13 7:34 ` accounting Rob Sterenborg
2003-03-11 6:03 Incomming packets Eugene Joubert
2003-03-11 7:21 ` Accounting Andrew Barbara
2003-02-15 1:10 accounting Andrej Ricnik
2003-02-12 23:27 accounting Andrej Ricnik
2003-02-13 0:02 ` accounting DarKRaveR
2003-02-13 16:46 ` accounting Thomas Poehnitzsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1065716349.5873.19.camel@kermit \
--to=lists@spenneberg.org \
--cc=k.boehm@ewt.de \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.