[prev in list] [next in list] [prev in thread] [next in thread]
List: openbsd-pf
Subject: Re: altq question
From: colin <colinbsd () gmail ! com>
Date: 2004-11-19 11:33:58
Message-ID: b568cddf04111903334f1f7753 () mail ! gmail ! com
[Download RAW message or body]
It wasnt very clear to me that i had to apply the queues for INcoming
connections... and right now yes, this really makes the difference.
On Thu, 18 Nov 2004 22:26:06 +0200, colin <colinbsd@gmail.com> wrote:
> First of all I want to say Hi to everybody because this is my first thread.
>
> Im rather new to altq and pf but basically i want to limit the http
> traffic from one of my LANs machines.
> Ive tried all the schedulers but i havent noticed any differences between them.
>
> Here is a sample of what ive done using cbq:
>
> altq on $EXT_IF cbq bandwidth 256Kb queue {http, other}
>
> queue http bandwidth 6Kb priority 0 cbq (red)
> queue std bandwidth 90% cbq(default)
>
> pass out on $EXT_IF proto tcp from $LAN_IP to any port = 80 \
> flags S/SA modulate state queue http
>
> After ive applied these rules from LAN_IP i was able to browse web
> pages even with 10.24 Kb/s
>
> pfctl -vvsq
>
> [ measured: 4.4 packets/s, 9.48Kb/s ]
> [ measured: 4.3 packets/s, 10.24Kb/s ]
>
> If this in not correct please tell me what do i miss and what should i
> do to limit that http traffic?
>
> ps Im using OpenBSD 3.6
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic