From nobody@FreeBSD.org  Wed Feb  9 15:56:32 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E2A1716A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Feb 2005 15:56:32 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CCD1B43D39
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  9 Feb 2005 15:56:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j19FuWNf019069
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 9 Feb 2005 15:56:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j19FuWln019068;
	Wed, 9 Feb 2005 15:56:32 GMT
	(envelope-from nobody)
Message-Id: <200502091556.j19FuWln019068@www.freebsd.org>
Date: Wed, 9 Feb 2005 15:56:32 GMT
From: dreams <dreams@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ALTQ doesn't seem to be working on tun0
X-Send-Pr-Version: www-2.3

>Number:         77308
>Category:       kern
>Synopsis:       ALTQ doesn't seem to be working on tun0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-pf
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 09 16:00:47 GMT 2005
>Closed-Date:    Thu Jul 14 22:48:42 GMT 2005
>Last-Modified:  Mon Jul 18 12:00:41 GMT 2005
>Originator:     dreams
>Release:        5.3-STABLE
>Organization:
>Environment:
FreeBSD localhost 5.3-STABLE FreeBSD 5.3-STABLE #10: Tue Feb  8 21:06:14 UTC 2005     root@localhost:/usr/src/sys/i386/compile/MYKERNEL  i386
>Description:
I wanted to use pf+ALTQ with my ADSL connection (pppoe with ppp), everything is set up like in /usr/share/examples/pf/ackpri (using tun0 as external interface, and NAT so that another PC connected to the internal interface can access the internet), but the ack packets don't seem to be prioritized. pfctl -vsq shows some packets passing through the high priority queue (and a lot through the default queue, of course), but when the upstream is full, download speed still drops significantly. I tried tuning the bandwidth specified in the altq statement but it doens't seem to make any difference.
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->mlaier 
Responsible-Changed-By: arved 
Responsible-Changed-When: Mon Jun 6 16:53:15 GMT 2005 
Responsible-Changed-Why:  
mlaier imported altq 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77308 
State-Changed-From-To: open->feedback 
State-Changed-By: mlaier 
State-Changed-When: Sat Jun 11 06:14:18 GMT 2005 
State-Changed-Why:  
Too few details on the actual ruleset and configuration. 


Responsible-Changed-From-To: mlaier->pf 
Responsible-Changed-By: mlaier 
Responsible-Changed-When: Sat Jun 11 06:14:18 GMT 2005 
Responsible-Changed-Why:  
Over to freebsd-pf@ for more exposure and helping hands/eyes.  Does anyone 
have comments on this?  I can only say: Works for me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77308 
Responsible-Changed-From-To: pf->freebsd-pf 
Responsible-Changed-By: matteo 
Responsible-Changed-When: Mon Jun 20 19:55:12 GMT 2005 
Responsible-Changed-Why:  
Change owner from "pf" to "freebsd-pf" so that the freebsd-pf@ mailing list will receive only one remainder 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77308 
State-Changed-From-To: feedback->closed 
State-Changed-By: mlaier 
State-Changed-When: Thu Jul 14 22:47:30 GMT 2005 
State-Changed-Why:  
Timeout.  If the problem still exists, please discuss on freebsd-pf@freebsd.org 

http://www.freebsd.org/cgi/query-pr.cgi?pr=77308 

From: "Boris Staeblow" <bs@dva.in-berlin.de>
To: <bug-followup@FreeBSD.org>,
	<dreams@gmail.com>
Cc:  
Subject: Re: kern/77308: ALTQ doesn't seem to be working on tun0
Date: Mon, 18 Jul 2005 13:50:08 +0200

 Hello,
 
 i have the same problem here!
 
 Even 50% upload bandwidth limitation will result in a massive drop of the
 download rate.
 
 My setup:
 
 - ADSL 6000/576
 - userland ppp
 - FreeBSD 5-STABLE
 - pf with ALTQ and priq queueing on the tun-device
 
 
 Boris Staeblow
 
 
>Unformatted:
