All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] tc actions and accounting
@ 2006-11-23 20:08 Carl-Daniel Hailfinger
  0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2006-11-23 20:08 UTC (permalink / raw)
  To: lartc

Hi,

I'd like to account the data going out to an interface after shaping
and policing. At the moment, I'm using ipt_ACCOUNT for per-IP
accounting, but it counts packets regardless if they are dropped or
not. Using tc counters directly would force me to install one tc rule
per IP which I'd rather avoid.
My idea was to use tc actions with ipt_ACCOUNT, but I have no idea
what will be counted and how to specify an action for only some of
the data *after* shaping and policing.
The tc action documentation seems to suggest that the actions
happen at the time of PREROUTING/POSTROUTING in netfilter, so
that would not work for me.

As an alternative, I searched for a tc equivalent of ipt_ACCOUNT,
but I found nothing. My previous attempt to solve a similar problem
is here: http://mailman.ds9a.nl/pipermail/lartc/2005q2/016271.html

Regards,
Carl-Daniel
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-23 20:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23 20:08 [LARTC] tc actions and accounting Carl-Daniel Hailfinger

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.