* 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
* Re: adding counters
2002-09-16 12:49 adding counters Roy Sigurd Karlsbakk
@ 2002-09-16 13:53 ` Antony Stone
0 siblings, 0 replies; 2+ messages in thread
From: Antony Stone @ 2002-09-16 13:53 UTC (permalink / raw)
To: Netfilter mailinglist
On Monday 16 September 2002 1:49 pm, Roy Sigurd Karlsbakk wrote:
> 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...
Is this a server, providing pop3s, irc, https, imap, pop3, http and smtp
services to other clients, or are you actually sending packets *through* this
machine and the link should be from the FORWARD chain ?
If this really is a server, and the INPUT chain is correct, please post your
ruleset (ie the commands which create the rules) instead of the output from
iptables -L.
Antony.
--
You can spend the whole of your life trying to be popular,
but at the end of the day the size of the crowd at your funeral
will be largely dictated by the weather.
- Frank Skinner
^ 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