From: "Gáspár Lajos" <swifty@freemail.hu>
To: Marco Coda <marco.coda7@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: [half_OT]Traffic shaping with tc and iptables
Date: Thu, 08 Sep 2011 14:22:53 +0200 [thread overview]
Message-ID: <4E68B39D.60703@freemail.hu> (raw)
In-Reply-To: <CAGRr-qnYAGqqw8pt2CAzffs+9aL9LCQ9dcVN1NL61NzKHP9ZkA@mail.gmail.com>
2011-09-08 14:10 keltezéssel, Marco Coda írta:
> With this rule it does not work at all.. :(
What do you mean it does not work at all???
Does the packet counter shows that the rule got any hit??? (iptables
-vnL OUTPUT -t mangle)
Can you see the mark in the conntrack??? (conntrack -L | grep 'mark=1')
> At least before, even if I understand that concectually is not
> correct, with --sport, traffic was shaped, in some manner, whth a
> strange rate..
- You can only shape those traffic that leaves your system...
- If you send an e-mail then you connect from your system (from a random
port) to a mail server (to 25)...
- If you set your upload limit to 10kbit then you can send 1,25KByte per
sec. (It is veeerrryy slooow.) Would you try with my proposed settings???
Swifty
next prev parent reply other threads:[~2011-09-08 12:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 7:44 [half_OT]Traffic shaping with tc and iptables Marco Coda
2011-09-08 9:14 ` Gáspár Lajos
2011-09-08 9:17 ` Gáspár Lajos
2011-09-08 10:54 ` Marco Coda
2011-09-08 11:20 ` Gáspár Lajos
2011-09-08 12:10 ` Marco Coda
2011-09-08 12:22 ` Gáspár Lajos [this message]
2011-09-08 14:00 ` Marco Coda
2011-09-08 14:52 ` Gáspár Lajos
2011-09-08 14:57 ` Nikolay Kichukov
2011-09-08 15:38 ` Marco Coda
2011-09-08 12:40 ` Nikolay Kichukov
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=4E68B39D.60703@freemail.hu \
--to=swifty@freemail.hu \
--cc=marco.coda7@gmail.com \
--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.