Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Adam Rice <adamrice@ntlworld.com>
To: netfilter@lists.netfilter.org
Subject: per-connection byte counts
Date: Sun, 18 Jan 2004 14:09:03 +0000	[thread overview]
Message-ID: <20040118140903.GA3351@glympton.airtime.co.uk> (raw)

I'd like to be able to get per-connection byte-counts from the kernel, so I
can create a sort of top program showing what processes and users are
currently using the network and how much. Since I want this to be something I
can keep running all the time, I don't want to do it by snooping the
interface. Is there some way to do this with netfilter? Sadly
/proc/net/ip_conntrack doesn't appear to provide this information.

Thanks,
  Adam

-- 
Adam Rice -- adamrice@ntlworld.com -- Blackburn, Lancashire, England


             reply	other threads:[~2004-01-18 14:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18 14:09 Adam Rice [this message]
2004-01-18 14:44 ` [despammed] per-connection byte counts Andreas Kretschmer
2004-01-18 15:07   ` Antony Stone
2004-01-18 20:16 ` Carlos Carvalho
2004-01-19  0:14   ` bino-psn
2004-01-19  0:31     ` Antony Stone
2004-01-19  0:50       ` bino-psn
2004-01-19 23:59         ` Ted Kaczmarek
2004-01-19 14:27 ` Nuno Miguel Pais Fernandes
2004-01-20 22:12   ` Adam Rice
2004-01-27  1:56     ` Harald Welte

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=20040118140903.GA3351@glympton.airtime.co.uk \
    --to=adamrice@ntlworld.com \
    --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