ALTQ ack prioritization

2003-03-06 Thread Jason Dixon
Hi all: I'm trying to implement Daniel's pri/ack configuration, but something's not working properly. I can see that my download dropped as expected during uploads, even though I have the optimizations enabled. I checked my "pfctl -vvss" output to ensure that my upload state was hitting the corr

Re: ALTQ ack prioritization

2003-03-06 Thread Jason Dixon
On Thu, 2003-03-06 at 16:23, Jolan Luff wrote: > > pass in on $int_if proto tcp from any to any port $out_services modulate > > state queue (q_def, q_pri) > > # END of pf.rules > > i'm not sure how relevant this is to your problem, but you have no > queue defined on $int_if, so you shouldn't be qu

Re: ALTQ ack prioritization

2003-03-06 Thread Jolan Luff
On Thu, Mar 06, 2003 at 10:38:59AM -0500, Jason Dixon wrote: > queue q_pri priority 7 > [ pkts: 0 bytes: 0 dropped pkts: 0 bytes: > 0 ] > [ qlength: 0/ 50 ] this is bad m'kay. > ### ALTQ ### > altq on $ext_if priq bandwidth 120Kb queue { q_pri, q_def } > queue q_pr

Re: ALTQ ack prioritization

2003-03-06 Thread Daniel Hartmeier
Try with just the altq, queue and pass rules from the example. Reload the ruleset and flush all existing state entries (pfctl -Fs), as only newly established connections will be queued according to the new ruleset. Then try a single download and upload over TCP (ftp, http, etc.) concurrently. If t

Re: ALTQ ack prioritization

2003-03-06 Thread Henning Brauer
On Thu, Mar 06, 2003 at 03:23:18PM -0600, Jolan Luff wrote: > On Thu, Mar 06, 2003 at 10:38:59AM -0500, Jason Dixon wrote: > i'm not sure how relevant this is to your problem, but you have no > queue defined on $int_if, so you shouldn't be queuing on it. try > making that a vanilla pass rule, relo

Re: ALTQ ack prioritization

2003-03-06 Thread Jason Dixon
On Thu, 2003-03-06 at 16:37, Daniel Hartmeier wrote: > Try with just the altq, queue and pass rules from the example. Reload > the ruleset and flush all existing state entries (pfctl -Fs), as only > newly established connections will be queued according to the new > ruleset. Then try a single downl

Re: ALTQ ack prioritization

2003-03-07 Thread Henning Brauer
On Thu, Mar 06, 2003 at 09:09:14PM -0500, Jason Dixon wrote: > I forgot to mention, I'm running -snapshot from 3/2/03. It doesn't look > like what happened to me was caused by any bugs (that Henning has > mentioned in the meantime), but I'm curious... were any of those bugs > fixed after my snapsh

Re: ALTQ ack prioritization

2003-03-07 Thread Henning Brauer
On Fri, Mar 07, 2003 at 01:40:31PM +0100, Henning Brauer wrote: >(pfctl.h ad pfctl_altq.c cheanged too) need more proofs I cannot type? *sigh* -- Henning Brauer, BS Web Services, http://bsws.de [EMAIL PROTECTED] - [EMAIL PROTECTED] Unix is very simple, but it takes a genius to understand the si

altq ACK prioritization prevents initiation of new connections

2004-05-20 Thread steven mestdagh
hi, i was testing the TCP ACK prioritization by following the explanation on your website (using OpenBSD 3.5-release). the problem is that whenever i try to initiate a new connection during a file transfer, a few packets belonging to the new connection end up in the default queue, so they have to