* [LARTC] Differentiating between http downloads and interactive
@ 2005-10-22 9:17 Paul J. Smith
2005-10-22 9:22 ` Andreas Unterkircher
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Paul J. Smith @ 2005-10-22 9:17 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
--===============1590602684==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C5D6E9.7E18B730"
This is a multi-part message in MIME format.
[-- Attachment #2: Type: text/plain, Size: 356 bytes --]
Hi,
I've been wondering if anyone has thought of a way to differentiate
between an established http download and interactive http traffic? I
would like to give interactive http traffic priority over someone
downloading large files.
Has anyone any ideas how to detect packets that are part of a download
like this?
Thanks.
[-- Attachment #3: Type: text/html, Size: 2172 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Differentiating between http downloads and interactive
2005-10-22 9:17 [LARTC] Differentiating between http downloads and interactive Paul J. Smith
@ 2005-10-22 9:22 ` Andreas Unterkircher
2005-10-22 15:23 ` BUCHMULLER Norbert
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Andreas Unterkircher @ 2005-10-22 9:22 UTC (permalink / raw)
To: lartc
I don't know how you really can differ between them. But I guess easy
way would be using HTB burst.
So the first (small?) packets get a high bandwidth immediately trough
burst settings. If more data is requested,
it will be slown down to defined ceil bandwidth.
Cheers,
Andreas
Paul J. Smith wrote:
> Hi,
>
> I’ve been wondering if anyone has thought of a way to differentiate
> between an established http download and interactive http traffic? I
> would like to give interactive http traffic priority over someone
> downloading large files.
>
> Has anyone any ideas how to detect packets that are part of a download
> like this?
>
> Thanks.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>LARTC mailing list
>LARTC@mailman.ds9a.nl
>http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
>
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Differentiating between http downloads and interactive
2005-10-22 9:17 [LARTC] Differentiating between http downloads and interactive Paul J. Smith
2005-10-22 9:22 ` Andreas Unterkircher
@ 2005-10-22 15:23 ` BUCHMULLER Norbert
2005-10-23 3:31 ` Grant Taylor
2005-11-02 16:22 ` [LARTC] Differentiating between http downloads and LinuXKiD
3 siblings, 0 replies; 5+ messages in thread
From: BUCHMULLER Norbert @ 2005-10-22 15:23 UTC (permalink / raw)
To: lartc
On Sat, 22 Oct 2005 10:17:56 +0100
"Paul J. Smith" <pjsmith@mtgsy.net> wrote:
> I've been wondering if anyone has thought of a way to differentiate
> between an established http download and interactive http traffic? I
> would like to give interactive http traffic priority over someone
> downloading large files.
Hello,
you may give the "connbytes" Netfilter extension a try. With that
extension, you can mark those TCP connections which have transmitted a
certain number of bytes. Then you can use the fwmark QoS filter to
differentiate them. (The drawback is that someone can bypass it with
closing the connection after the limit, and resuming the download with
another connection.)
Currenty connbytes is in the extra section, so you must patch the kernel
(and possibly iptables) to use it.
Alternatively, you can use delay pool feature of the Squid HTTP proxy,
which does almost the same on application level.
norbi
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Differentiating between http downloads and interactive
2005-10-22 9:17 [LARTC] Differentiating between http downloads and interactive Paul J. Smith
2005-10-22 9:22 ` Andreas Unterkircher
2005-10-22 15:23 ` BUCHMULLER Norbert
@ 2005-10-23 3:31 ` Grant Taylor
2005-11-02 16:22 ` [LARTC] Differentiating between http downloads and LinuXKiD
3 siblings, 0 replies; 5+ messages in thread
From: Grant Taylor @ 2005-10-23 3:31 UTC (permalink / raw)
To: lartc
I would recommend looking at the connrate (http://www.netfilter.org/projects/patch-o-matic/pom-extra.html#pom-extra-connrate) Patch-O-Matic patch. Your interactive sessions could be long lived and thus pass the connlimit and / or connbytes matches and thus be falsely classified. Where as if you test for your interactive sessions by looking for an over all average low rate, burst delay burst delay etc, you should have a low average and thus be able to match based on rate to classify them higher.
Grant. . . .
Paul J. Smith wrote:
> Hi,
>
> I’ve been wondering if anyone has thought of a way to differentiate
> between an established http download and interactive http traffic? I
> would like to give interactive http traffic priority over someone
> downloading large files.
>
> Has anyone any ideas how to detect packets that are part of a download
> like this?
>
> Thanks.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [LARTC] Differentiating between http downloads and
2005-10-22 9:17 [LARTC] Differentiating between http downloads and interactive Paul J. Smith
` (2 preceding siblings ...)
2005-10-23 3:31 ` Grant Taylor
@ 2005-11-02 16:22 ` LinuXKiD
3 siblings, 0 replies; 5+ messages in thread
From: LinuXKiD @ 2005-11-02 16:22 UTC (permalink / raw)
To: lartc
Hi,
I've read your recomendation:
(http://www.netfilter.org/projects/patch-o-matic/pom-extra.html#pom-extra-co
nnrate
in order to differentiate between an established http download
and interactive http traffic.
In that patch suggest something like that:
iptables .. -m tos --tos Minimize-Delay \
-m connrate --connrate 20000:inf \
-j TOS --set-tos Maximize-Throughput
=> match packets in minimize-delay TOS connections that are transferring
faster than 20kbps and change their tos to maximize-throughput instead.
Is very intresting!
Somebody has really tryed this patch ?
best regards
andres
->
->
-> I would recommend looking at the connrate
-> (http://www.netfilter.org/projects/patch-o-matic/pom-extra.html#p
-> om-extra-connrate) Patch-O-Matic patch. Your interactive
-> sessions could be long lived and thus pass the connlimit and /
-> or connbytes matches and thus be falsely classified. Where as
-> if you test for your interactive sessions by looking for an over
-> all average low rate, burst delay burst delay etc, you should
-> have a low average and thus be able to match based on rate to
-> classify them higher.
->
->
->
-> Grant. . . .
->
-> Paul J. Smith wrote:
-> > Hi,
-> >
-> > I’ve been wondering if anyone has thought of a way to differentiate
-> > between an established http download and interactive http traffic? I
-> > would like to give interactive http traffic priority over someone
-> > downloading large files.
-> >
-> > Has anyone any ideas how to detect packets that are part of a download
-> > like this?
-> >
-> > Thanks.
->
-> _______________________________________________
-> LARTC mailing list
-> LARTC@mailman.ds9a.nl
-> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-02 16:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-22 9:17 [LARTC] Differentiating between http downloads and interactive Paul J. Smith
2005-10-22 9:22 ` Andreas Unterkircher
2005-10-22 15:23 ` BUCHMULLER Norbert
2005-10-23 3:31 ` Grant Taylor
2005-11-02 16:22 ` [LARTC] Differentiating between http downloads and LinuXKiD
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.