From owner-freebsd-pf@FreeBSD.ORG Wed Jul 12 18:33:52 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 A4F3716A53F for ; Wed, 12 Jul 2006 18:33:52 +0000 (UTC) (envelope-from solinym@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED56143D5F for ; Wed, 12 Jul 2006 18:33:51 +0000 (GMT) (envelope-from solinym@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so364096pyc for ; Wed, 12 Jul 2006 11:33:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dkqRMyrtoXYioi2n2G8uJAfzuWaFRLYKqY688TAg+OkcFuxgN/Dz1NM0Alkc0DA/0qduCTFnyuu72VuZ4VNiwjb1JhEcSfViawCqSWVDUYADckm6pgFZD7xpcPJzd0Cn+m/NRcWDWsLp4ko4VFuutM1pAXN5qI+Kj+9/RAwzbrk= Received: by 10.35.121.9 with SMTP id y9mr1195468pym; Wed, 12 Jul 2006 11:33:51 -0700 (PDT) Received: by 10.35.34.3 with HTTP; Wed, 12 Jul 2006 11:33:51 -0700 (PDT) Message-ID: Date: Wed, 12 Jul 2006 13:33:51 -0500 From: "Travis H." To: "Adam Clark" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 18:33:52 -0000 On 7/12/06, Adam Clark wrote: > Hi, > I am trying to perform ALTQ on a process running on the router itself. > > I have bound the application to to internal IP address (10.10.10.254), > that which is bound to the internal interface. > > When I log-all packets passing out this interface, I cannot see any data > going to 10.10.10.254, just other hosts on my network. This is bound to > be how it is meant to be, but its not healping my situation. Is there > anyway to make the kernel put frames destined for itself on the > appropriate interface? No; the Unix kernel short-circuits any packets destined for any of its interfaces and puts them on the loopback interface. Perhaps you should be looking there? Why would you want to queue stuff that the router is sending to itself? It's not like you're bandwidth-limited, because it never goes over a communications link. It's CPU-limited, 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 - http://www.lightconsulting.com/~travis/ -><- GPG fingerprint: 9D3F 395A DAC5 5CCC 9066 151D 0A6B 4098 0C55 1484