From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 11:33: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 7A6A516A4CE; Tue, 2 Mar 2004 11:33:02 -0800 (PST) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C02A43D1D; Tue, 2 Mar 2004 11:33:02 -0800 (PST) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 2E0DB6520E; Tue, 2 Mar 2004 19:33:01 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 28383-02; Tue, 2 Mar 2004 19:33:00 +0000 (GMT) Received: from saboteur.dek.spc.org (82-147-17-88.dsl.uk.rapidplay.com [82.147.17.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id D37BE651FA; Tue, 2 Mar 2004 19:32:59 +0000 (GMT) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id C54CF18; Tue, 2 Mar 2004 19:32:58 +0000 (GMT) Date: Tue, 2 Mar 2004 19:32:58 +0000 From: Bruce M Simpson To: Gleb Smirnoff , Andre Oppermann , Kris Kennaway , Wes Peters , freebsd-net@freebsd.org, freebsd-current@freebsd.org Message-ID: <20040302193258.GD7115@saboteur.dek.spc.org> Mail-Followup-To: Gleb Smirnoff , Andre Oppermann , Kris Kennaway , Wes Peters , freebsd-net@freebsd.org, freebsd-current@freebsd.org References: <200403011507.52238.wes@softweyr.com> <20040302031625.GA4061@scylla.towardex.com> <20040302042957.GH3841@saboteur.dek.spc.org> <20040302082625.GE22985@cell.sick.ru> <20040302084321.GA21729@xor.obsecurity.org> <20040302085556.GA23734@cell.sick.ru> <20040302092825.GD884@saboteur.dek.spc.org> <20040302095134.GA24078@cell.sick.ru> <40449B8E.A48B39B0@freebsd.org> <20040302160902.GB26977@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040302160902.GB26977@cell.sick.ru> Subject: Re: My planned work on networking stack 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: Tue, 02 Mar 2004 19:33:02 -0000 On Tue, Mar 02, 2004 at 07:09:02PM +0300, Gleb Smirnoff wrote: > I do not insist that AS pathes in kernel are good idea. If you show me an > other way to get AS information when constructing netflow exports in kernel, > I'd be thankful. I'd be also thankful if you describe how policy routing can be > implemented while no AS info in kernel. > What do other FreeBSD networking withards think? I don't see any reason why we couldn't accept, for example, a 32-bit cookie for abuse by a userland daemon, with pid, as it pleases (via an rtmsg extension and PF_ROUTE). That is generic enough to provide the tie-in needed with the userland RIB and the kernel FIB. ABI breakage may occur, but I would consider that the PF_ROUTE code is in need of an overhaul anyway (see my mail to ru@ from some months ago on -current or -net with code able to panic a kernel through malformed rtmsg contents). BMS