[ previous ] [ next ] [ threads ]
 
 From:  "Per Willy Buffelen" <per at tocodata dot no>
 To:  "'sai'" <sonicsai at gmail dot com>, "Per Willy Buffelen" <per at tocodata dot no>
 Cc:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: Problem / BUG with Traffic shape?
 Date:  Fri, 19 Aug 2005 22:41:29 +0200
Hi, i have now tried it with only 2 pipes and 2 rules, no ques, and there is
still problem, as soon as the Traffic Shaper is enabled different things
wont work in or out. Ordinary web browsing is ok, but there is a lot off
things that not work. Is someone using Traffic Shaper in the 1.2b9 beta
version and that have internal smtp server or a internal terminaslerver that
is working from outside clients?

Best regards
Per Willy

<shaper>
        <magic>
            <maskq/>
            <maxup>400</maxup>
            <maxdown>4000</maxdown>
        </magic>
        <pipe>
            <bandwidth>3800</bandwidth>
            <descr>Inn</descr>
        </pipe>
        <pipe>
            <bandwidth>360</bandwidth>
            <descr>ut</descr>
        </pipe>
        <rule>
            <interface>wan</interface>
            <source>
                <any/>
            </source>
            <destination>
                <any/>
            </destination>
            <direction>in</direction>
            <iplen/>
            <iptos/>
            <tcpflags/>
            <descr>In </descr>
            <targetpipe>0</targetpipe>
        </rule>
        <rule>
            <interface>wan</interface>
            <source>
                <any/>
            </source>
            <destination>
                <any/>
            </destination>
            <direction>out</direction>
            <iplen/>
            <iptos/>
            <tcpflags/>
            <descr>out </descr>
            <targetpipe>1</targetpipe>
        </rule>
    </shaper> 



Per Willy Buffelen

-----Original Message-----
From: sai [mailto:sonicsai at gmail dot com] 
Sent: Friday, August 19, 2005 3:38 PM
To: Per Willy Buffelen
Cc: m0n0wall at lists dot m0n0 dot ch
Subject: Re: Problem / BUG with Traffic shape?

my suggestion: keep it simple.

keep 2 queues up , 2 queues down

up: 1 queue for voip , the other for everything else
down: 1 queue for voip , the other for everything else give SIP queues
weight 90, other traffic 40 SiP usually uses ports 5060- 5061 , tcp/udp so
use this to identify the sip traffic and put the sip traffic into the voip
queues

do not use the masks.

hw much bandwidth do you have?

sai