* [LARTC] How to priorize Traffic
@ 2005-11-01 20:11 Juan Ignacio Borda
2005-11-01 21:00 ` Andreas Unterkircher
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Juan Ignacio Borda @ 2005-11-01 20:11 UTC (permalink / raw)
To: lartc
Hi guys, I want to priorize traffic comming down from internet on my
ppp0 int
I want port 80 and 21 (and others ) to have preference over P2P traffic,
I don't want to bann P2P just give to it less prio than other more vital
services... does anyone know how to do it or where to read on.
Thanks in advance
_______________________________________________
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] How to priorize Traffic
2005-11-01 20:11 [LARTC] How to priorize Traffic Juan Ignacio Borda
@ 2005-11-01 21:00 ` Andreas Unterkircher
2005-11-01 22:13 ` Erik Elmore
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Andreas Unterkircher @ 2005-11-01 21:00 UTC (permalink / raw)
To: lartc
How about this? http://www.lartc.org/howto/
Juan Ignacio Borda wrote:
> Hi guys, I want to priorize traffic comming down from internet on my
> ppp0 int
> I want port 80 and 21 (and others ) to have preference over P2P
> traffic, I don't want to bann P2P just give to it less prio than other
> more vital services... does anyone know how to do it or where to read on.
>
> Thanks in advance
>
>
> _______________________________________________
> 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] How to priorize Traffic
2005-11-01 20:11 [LARTC] How to priorize Traffic Juan Ignacio Borda
2005-11-01 21:00 ` Andreas Unterkircher
@ 2005-11-01 22:13 ` Erik Elmore
2005-11-02 4:20 ` Lee Sanders
2005-11-02 6:26 ` Andreas Klauer
3 siblings, 0 replies; 5+ messages in thread
From: Erik Elmore @ 2005-11-01 22:13 UTC (permalink / raw)
To: lartc
That seems to be the million dollar question and it really isn't as
simple as your question puts it. If you spend time learning a few
things, it will become much easier. I would recommend the lartc howto
and the htb user guide. The htb user guide made a lot of things more
clear to me. I hope to have time to make a framework for easily
defining shaping rules soon.
On 11/1/05, Andreas Unterkircher <unki@netshadow.at> wrote:
> How about this? http://www.lartc.org/howto/
>
> Juan Ignacio Borda wrote:
>
> > Hi guys, I want to priorize traffic comming down from internet on my
> > ppp0 int
> > I want port 80 and 21 (and others ) to have preference over P2P
> > traffic, I don't want to bann P2P just give to it less prio than other
> > more vital services... does anyone know how to do it or where to read on.
> >
> > Thanks in advance
> >
> >
> > _______________________________________________
> > 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
>
_______________________________________________
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] How to priorize Traffic
2005-11-01 20:11 [LARTC] How to priorize Traffic Juan Ignacio Borda
2005-11-01 21:00 ` Andreas Unterkircher
2005-11-01 22:13 ` Erik Elmore
@ 2005-11-02 4:20 ` Lee Sanders
2005-11-02 6:26 ` Andreas Klauer
3 siblings, 0 replies; 5+ messages in thread
From: Lee Sanders @ 2005-11-02 4:20 UTC (permalink / raw)
To: lartc
If you want to do shaping for specific services there are over 11 different
linux queuing methods to pick from, most here advise using HTB.
http://luxik.cdi.cz/%7Edevik/qos/htb/
A ready made script to use HTB on your server exists, its called HTB.init. I
suggest you have a look at this, it could get you up and running very quickly
with your requirements.
http://sourceforge.net/projects/htbinit/
An alternative for shaping your network to improve performance.
http://lartc.org/wondershaper/
Regards,
Lee
On Wed, 2 Nov 2005 04:11 am, Juan Ignacio Borda wrote:
> Hi guys, I want to priorize traffic comming down from internet on my
> ppp0 int
> I want port 80 and 21 (and others ) to have preference over P2P traffic,
> I don't want to bann P2P just give to it less prio than other more vital
> services... does anyone know how to do it or where to read on.
>
> Thanks in advance
_______________________________________________
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] How to priorize Traffic
2005-11-01 20:11 [LARTC] How to priorize Traffic Juan Ignacio Borda
` (2 preceding siblings ...)
2005-11-02 4:20 ` Lee Sanders
@ 2005-11-02 6:26 ` Andreas Klauer
3 siblings, 0 replies; 5+ messages in thread
From: Andreas Klauer @ 2005-11-02 6:26 UTC (permalink / raw)
To: lartc
On Tuesday 01 November 2005 21:11, Juan Ignacio Borda wrote:
> I want port 80 and 21 (and others ) to have preference over P2P traffic,
> I don't want to bann P2P just give to it less prio than other more vital
> services... does anyone know how to do it or where to read on.
A good way would probably be to look up some example scripts on the net
that already deal with P2P. There are some that use IPP2P and / or
l7-filter (two project that try to detect type of traffic by looking at
the data of the packets).
My own script uses a combination of HTB / PRIO / SFQ qdiscs and puts said
P2P traffic into the lowest PRIO band. I found this to be quite effective
in my home network, although others might find it a tad too aggressive,
because PRIO won't give any bandwidth to P2P as long as there are
ssh/www/other packets to be sent / received.
You can have a look at the script here: http://www.metamorpher.de/fairnat/
If you're not shaping for clients behind a router, you'll need a bit of a
different approach, but if you've already read the LARTC howto and other
docs it might give you an idea of how to solve it in your own situation.
HTH
Andreas Klauer
_______________________________________________
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 6:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 20:11 [LARTC] How to priorize Traffic Juan Ignacio Borda
2005-11-01 21:00 ` Andreas Unterkircher
2005-11-01 22:13 ` Erik Elmore
2005-11-02 4:20 ` Lee Sanders
2005-11-02 6:26 ` Andreas Klauer
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.