Linux Netfilter discussions
 help / color / mirror / Atom feed
* adding counters
@ 2002-09-16 12:49 Roy Sigurd Karlsbakk
  2002-09-16 13:53 ` Antony Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-09-16 12:49 UTC (permalink / raw)
  To: Netfilter mailinglist

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-16 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-16 12:49 adding counters Roy Sigurd Karlsbakk
2002-09-16 13:53 ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox