Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Mailings'AT'netzwerk.cc" <mailings@netzwerk.cc>
To: netfilter@lists.netfilter.org
Subject: iptables match bits per second
Date: Mon, 10 Apr 2006 10:57:20 +0200	[thread overview]
Message-ID: <443A1DF0.70704@netzwerk.cc> (raw)

Hi list,

I am searching for an iptables target/match to account/measure the bits 
per second on two different lines.

I've got 2 WAN connections with traffic shaping. Now I need to 
differentiate how much the network load is on line a, so i can switch to 
line b if it is above xx/mbit/s.

I've got kernel 2.6.14.4 with iptables 1.2.11.

I found "iptables connbyte", but it is only for 2.4 kernels.
I found "iptables connrate", which is exactly what I need, but it is 
only designed for kernel <= 2.6.5? (I got rejects in 
ip_conntrack_standalone.c). It seems like the code in kernel 2.6.14 and 
in the diff is on an absolutly different base.

Does anybody have got an idea how I could measure the bytes ?

Thanks


                 reply	other threads:[~2006-04-10  8:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=443A1DF0.70704@netzwerk.cc \
    --to=mailings@netzwerk.cc \
    --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