From owner-freebsd-hackers Sat Sep 19 18:17:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03634 for freebsd-hackers-outgoing; Sat, 19 Sep 1998 18:17:19 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from beatrice.rutgers.edu (beatrice.rutgers.edu [165.230.209.143]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03629 for ; Sat, 19 Sep 1998 18:17:14 -0700 (PDT) (envelope-from easmith@beatrice.rutgers.edu) Received: (from easmith@localhost) by beatrice.rutgers.edu (980427.SGI.8.8.8/970903.SGI.AUTOCF) id VAA18729; Sat, 19 Sep 1998 21:15:59 -0400 (EDT) From: "Allen Smith" Message-Id: <9809192115.ZM18727@beatrice.rutgers.edu> Date: Sat, 19 Sep 1998 21:15:59 -0400 In-Reply-To: Luigi Rizzo "Re: Packet/traffic shapper ?" (Sep 12, 9:46pm) References: <199809121124.NAA20742@labinfo.iet.unipi.it> X-Mailer: Z-Mail (3.2.3 08feb96 MediaMail) To: Luigi Rizzo , kev@lab321.ru (Eugeny Kuzakov) Subject: Re: Packet/traffic shapper ? Cc: mike@smith.net.au, hackers@FreeBSD.ORG, ipfilter@postbox.anu.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sep 12, 9:46pm, Luigi Rizzo (possibly) wrote: > shouldn't take too much to patch ipfilter to return a different action > than pass/drop and thus cause packets to be passed through the > bw limiter. I've taken a look at getting ALTQ and ipfilter to work together. However, the most obvious way to get ipfilter to interface with ALTQ (namely, having ipfilter figure out under which ALTQ class packets should go, so that you're not examining the packets twice) unfortunately has the problem that the ALTQ classes are only distinguished via a human-comprehensible form (numbering) until they go into the kernel; they're then no longer numbered. Otherwise, you could just have an ipfilter action to put them into the appropriate class via an added mbuf field or whatever. -Allen -- Allen Smith easmith@beatrice.rutgers.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message