Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
To: Netfilter mailinglist <netfilter@lists.netfilter.org>
Subject: adding counters
Date: Mon, 16 Sep 2002 14:49:58 +0200	[thread overview]
Message-ID: <200209161449.58221.roy@karlsbakk.net> (raw)

hi

I've created a new table with the following lines, and inserted a -j counters 
on top of INPUT. Wouldn't this allow me to count packets per port? All I get 
is the -j counters line increasing it's byte count, but none of the below 
does...

roy

Chain counters (1 references)
target     prot opt source               destination
RETURN     tcp  --  anywhere             anywhere           tcp dpt:pop3s
RETURN     tcp  --  anywhere             anywhere           tcp dpt:ircs
RETURN     tcp  --  anywhere             anywhere           tcp dpt:https
RETURN     tcp  --  anywhere             anywhere           tcp dpt:imap
RETURN     tcp  --  anywhere             anywhere           tcp dpt:pop3
RETURN     tcp  --  anywhere             anywhere           tcp dpt:http
RETURN     tcp  --  anywhere             anywhere           tcp dpt:smtp

and 
-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.



             reply	other threads:[~2002-09-16 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 12:49 Roy Sigurd Karlsbakk [this message]
2002-09-16 13:53 ` adding counters Antony Stone

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=200209161449.58221.roy@karlsbakk.net \
    --to=roy@karlsbakk.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox