From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Re: Confuse, putting packets in wrong mangle table.
Date: Mon, 31 Jan 2005 23:17:14 +0000 [thread overview]
Message-ID: <41FEBC7A.5030405@dsl.pipex.com> (raw)
In-Reply-To: <200501191657.15767.rio@martin.mu>
Rio Martin. wrote:
> On Saturday 29 January 2005 00:55, Andy Furniss wrote:
>
>>>I ve tried this before, but never succeed. I didnt know where should i
>>>attach the 10:100 class. In the document, just told to add this class in
>>>tc, without giving some information which interface should i attach this
>>>class.
>>
>>I've not used squid, but think the idea is to shape on eth0 traffic from
>>inet to lan and miss traffic from squid to lan. The patch lets you
>>classify miss traffic from squid which you make an htb class for and you
>>can then involve it in sharing/priorotising etc with other inet to lan
>>traffic.
>>Andy.
>
>
>
> Thanks Andy for the info u gave,
> But the patch is totally missed with Squid-2.5.STABLE7, so i have to do it
> manually.
>
> I tried to placed this 10:100 class into eth0 (inet interface) and
> successfully do some shaping on outgoing request from squid to origin server
> where client request.
> It wont shape the incoming from origin server to squid.
> As u see, this is tcp_outgoing_priority, not tcp_incoming_priority.. :))
>
> so i still have to figure out more how to shape incoming packets to this squid
> proxy.
Ahh - I thought that squid could limit connections based on the rate the
client could sustain.
You can shape incoming to squid with imq if hooked after nat, because
its traffic will have real dst address - other will have been denatted.
If you want to further shape traffic to squid (eg by what local address
requested or connected to/was directed to) then I can't think of a way.
Andy.
>
> - Rio.Martin -
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2005-01-31 23:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-19 10:05 [LARTC] Re: Confuse, putting packets in wrong mangle table Rio Martin.
2005-01-25 12:41 ` Andy Furniss
2005-01-26 11:08 ` Rio Martin.
2005-01-27 12:37 ` Andy Furniss
2005-01-28 6:48 ` Rio Martin.
2005-01-29 0:55 ` Andy Furniss
2005-01-29 11:30 ` Rio Martin.
2005-01-31 23:17 ` Andy Furniss [this message]
2005-02-01 5:41 ` Rio Martin.
2005-02-05 12:30 ` Andy Furniss
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=41FEBC7A.5030405@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--cc=lartc@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.