From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 17 12:33:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 244DC106566B for ; Mon, 17 Mar 2008 12:33:29 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.freebsd.org (Postfix) with ESMTP id B23E38FC37 for ; Mon, 17 Mar 2008 12:33:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-067-252-053.pools.arcor-ip.net [88.67.252.53]) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis) id 0MKwpI-1JbEWt239k-0006TO; Mon, 17 Mar 2008 13:33:27 +0100 Received: (qmail 82381 invoked from network); 17 Mar 2008 12:32:45 -0000 Received: from myhost.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 17 Mar 2008 12:32:45 -0000 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org, vadim_nuclight@mail.ru Date: Mon, 17 Mar 2008 13:32:25 +0100 User-Agent: KMail/1.9.7 References: <200803160005.45827.max@love2party.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803171332.26075.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/ySXOumNRovEC7skSMdBj3yEEPuxwHDdDctmM 93Pu1c6BEJl5w6WaBBXu99Jrm/3BZbx6Mx46xpbJQ6Xyrw5v0l Mp0XBCp9dT9QO7AaaT6oA== Cc: Subject: Re: Review please: pfil FIRST/LAST X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Mar 2008 12:33:29 -0000 On Monday 17 March 2008 11:29:15 Vadim Goncharov wrote: > On Sun, 16 Mar 2008 00:05:36 +0100; Max Laier wrote about 'Review please: pfil FIRST/LAST': > > attached is a small diff to allow pfil(9) consumers to force a > > sticky position on the head/tail of the processing queue. This > > can be used to do traffic conditioning kind of tasks w/o > > disturbing the other filters. I will need this to implement > > carp(4) ip based load balancing. While here I also removed a few > > paragraphs in BUGS which are no longer true (since we are using > > rmlocks for pfil(9)). > > > > I'd appreciate review of the logic in pfil_list_add - just to make > > sure I didn't botch it. Thanks. > > Could it be done a way which will allow user a simple configuration of > filter plly ordering? E.g. to specify that order must alway be "ipfw, > then pf". This is a separate issue. I had patches once to specify hook order via sysctl and will probably revisit this as I like the idea. For now, though, this is not what I'm interested in. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News