From owner-freebsd-pf@FreeBSD.ORG Wed Jul 12 22:47:36 2006 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEDD516A4DA for ; Wed, 12 Jul 2006 22:47:36 +0000 (UTC) (envelope-from adam.clark@ngv.vic.gov.au) Received: from monet2.ngv.vic.gov.au (monet2.ngv.vic.gov.au [203.18.1.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F6FE43D4C for ; Wed, 12 Jul 2006 22:47:35 +0000 (GMT) (envelope-from adam.clark@ngv.vic.gov.au) Received: from monet2.ngv.vic.gov.au (monet2.ngv.vic.gov.au [127.0.0.1]) by localhost.ngv.vic.gov.au (Postfix) with ESMTP id 2D8C63400E for ; Thu, 13 Jul 2006 08:47:32 +1000 (EST) Received: from ngv.vic.gov.au (titian.boh.ngv.local [172.16.22.25]) by monet2.ngv.vic.gov.au (Postfix) with ESMTP id 2390334002 for ; Thu, 13 Jul 2006 08:47:32 +1000 (EST) Received: from mail pickup service by ngv.vic.gov.au with Microsoft SMTPSVC; Thu, 13 Jul 2006 08:47:32 +1000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2663 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 13 Jul 2006 08:47:30 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ALTQ on a process on the router thread-index: Acal4brPxFZ3q+LxQh6SHjoiiJWcaAAIyKtQ From: "Adam Clark" To: "Travis H." X-OriginalArrivalTime: 12 Jul 2006 22:47:32.0042 (UTC) FILETIME=[290D42A0:01C6A605] X-TM-AS-Product-Ver: SMEX-7.0.0.1345-3.52.1006-14564.000 X-TM-AS-Result: No--10.889000-5.000000-1 Cc: freebsd-pf@freebsd.org Subject: RE: ALTQ on a process on the router X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 22:47:37 -0000 Basically I have bittorrent running on the firewall/router. I am trying to lessen the impact on our 128/512k DSL line. Currently it hogs everything and makes web traffic annoyingly slow. I want to make bittorrent lowest priority traffic. It's a shame that you cant do inbound queuing, to implement rate limiting there. Adam=20 >=20 Adam Clark Network Administrator National Gallery of Victoria PO Box 7259 St Kilda Road Vic 8004 Telephone: +61 3 8620 2369=20 Fax: +61 3 8620 2565 www.ngv.vic.gov.au Keep informed of the latest NGV exhibitions, special events and programs = at The Ian Potter Centre: NGV Australia and NGV International by = subscribing to NGV@RT, the NGV's free e-newsletter. DISCLAIMER: This email and any files transmitted with it are = confidential and intended solely for = solinym@gmail.com,freebsd-pf@freebsd.org. If you are not the named = addressee you should not disseminate, copy or alter this email. WARNING: = Although National Gallery of Victoria has taken reasonable precautions = to ensure no viruses are present in this email, the organisation cannot = accept responsibility for any loss or damage arising from the use of = this email or attachment.-----Original Message----- > From: Travis H. [mailto:solinym@gmail.com]=20 > Sent: Thursday, 13 July 2006 4:34 AM > To: Adam Clark > Cc: freebsd-pf@freebsd.org > Subject: Re: ALTQ on a process on the router >=20 > On 7/12/06, Adam Clark wrote: > > Hi, > > I am trying to perform ALTQ on a process running on the=20 > router itself. > > > > I have bound the application to to internal IP address=20 > (10.10.10.254),=20 > > that which is bound to the internal interface. > > > > When I log-all packets passing out this interface, I cannot see any=20 > > data going to 10.10.10.254, just other hosts on my network.=20 > This is=20 > > bound to be how it is meant to be, but its not healping my=20 > situation.=20 > > Is there anyway to make the kernel put frames destined for=20 > itself on=20 > > the appropriate interface? >=20 > No; the Unix kernel short-circuits any packets destined for=20 > any of its interfaces and puts them on the loopback=20 > interface. Perhaps you should be looking there? >=20 > Why would you want to queue stuff that the router is sending=20 > to itself? It's not like you're bandwidth-limited, because=20 > it never goes over a communications link. It's CPU-limited,=20 > and it gets processed as soon as it "appears" on lo0. > -- > Resolve is what distinguishes a person who has failed from a failure. > Unix "guru" for sale or rent -=20 > http://www.lightconsulting.com/~travis/ -><- GPG fingerprint:=20 > 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484 >=20