All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Marcone <fabio.marcone@duet.it>
To: netfilter@vger.kernel.org
Subject: tc and CONNMARK
Date: Mon, 05 Oct 2009 11:32:30 +0200	[thread overview]
Message-ID: <4AC9BD2E.301@duet.it> (raw)

Hi!
I'm building a firewall/traffic shaper using tc and connmark but I note 
a strange behaviour.

Configuration:
eth0 - lan interface - rate 600kbit/s connection with mark X (download)
eth1 - wan interface - rate 600kbit/s connection with mark X (upload)

Starting a single connection (upload or download) traffic is limited 
correctly but if I start two connection (one in upload and the other in 
download) I note that the one in upload runs correctly (how in the 
previous test) but the one in download stalls and then send some packets 
and then stalls alternatively.

I don't understand why!

always (and only) the download connection has this behaviour.


two connection have the same mark (in netfilter table), is it a problem 
for the shaper?
also I think about ack packets but they have a very short size (66 
bytes) so I believe they are not the cause for this problem.

thanks in advance,
Fabio Marcone

             reply	other threads:[~2009-10-05  9:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05  9:32 Fabio Marcone [this message]
     [not found] ` <4AC9FF4E.5010307@unipex.it>
2009-10-05 14:38   ` tc and CONNMARK Fabio Marcone
2009-10-05 16:22     ` Michele Petrazzo - Unipex
2009-10-06 11:53       ` Fabio Marcone
     [not found]         ` <56378e320910060516x596cf5abv20e916ae9f694e6d@mail.gmail.com>
2009-10-06 12:21           ` Richard Horton
2009-10-06 13:08         ` Michele Petrazzo - Unipex
2009-10-06 13:32           ` Fabio Marcone
2009-10-07 11:41 ` tc and CONNMARK [SOLVED] Fabio Marcone

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=4AC9BD2E.301@duet.it \
    --to=fabio.marcone@duet.it \
    --cc=netfilter@vger.kernel.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 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.