From owner-freebsd-net@FreeBSD.ORG Tue May 18 17:15:02 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCA3716A4D1 for ; Tue, 18 May 2004 17:15:02 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5942243D3F for ; Tue, 18 May 2004 17:15:02 -0700 (PDT) (envelope-from max@love2party.net) Received: from [212.227.126.209] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1BQEjF-00016A-00; Wed, 19 May 2004 02:14:37 +0200 Received: from [216.58.85.218] (helo=[10.0.0.49]) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1BQEjF-00053O-00; Wed, 19 May 2004 02:14:37 +0200 From: Max Laier To: pf4freebsd@freelists.org Date: Wed, 19 May 2004 02:16:09 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200405190216.16204.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e28873fbe4dbe612ce62ab869898ff08 cc: freebsd-altq@rofug.ro cc: net@freebsd.org Subject: pf 3.5 + ALTQ import / Looking for beta testers and altq drivers X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 00:15:03 -0000 Hello, http://people.freebsd.org/~mlaier/ has an import of the OpenBSD 3.5 pf sources (OPENBSD_3_5_BASE, stable imports will follow later). To build this you need a recent -current source tree. Just apply the patch and copy over the other files. After this you should be ready for a build{world, kernel}. If you do not want to do a full buildworld, make sure to update (at least) pfctl(8) and authpf(8). You might also want to update ifconfig(8) and kdump(1). This comes bundled with latest ALTQ sources from KAME, providing "pf_mode" only (i.e. no support of /dev/altq). This makes the locking really easy and keeps the impact of ALTQ to the tree very small (i.e. no classifier hooks etc). The ALTQ-enabled driver set is very limited at the moment as I'd like to import only well-tested drivers to this patchset anticipating a possible import into the tree. The pf import is a bit different in respect to the interface handling. As FreeBSD allows network interfaces to be renamed at runtime I had to introduce a special group for interfaces that have not yet been seen. Just to explain what this "notyet" group is all about and what "(placeholder)" means. Other than this, there should be no noticable difference between Open- and FreeBSD. Please test this stuff if you have time/resources at hand and possibly feedback drivers after a reasonable time of testing. It should be able to apply the driver patch from the rofug.ro patchset in most cases, if you run into troubles - let me know. Note that this is really a BETA patch. It works great for me on two routers, my desktop and laptop, but that does not mean anything. It is also missing some glue in regards to pfsync(4) (which is kinda pointless w/o carp[1] anyways) and other minor tweaks that make up a proper import. If you run into anything let me know! (w/ or w/o patches to fix it). Okay ... this is a bit of a disordered mess, but I think you get the point. I am in Canada at the moment and will not be very available until monday, but I just had to send this out ... finally. [1] There is an old patchset available to import this. Pick up from there or fund me to finish it ;) P.S.: There is also this "jailed.patch". If you have an application for it, please give it a try (discription is on the site) and let me know what you think about it. -- Best regards, | mlaier@freebsd.org Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet