From owner-freebsd-current@FreeBSD.ORG Fri Oct 5 19:38:14 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D89D516A419 for ; Fri, 5 Oct 2007 19:38:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 8E05513C459 for ; Fri, 5 Oct 2007 19:38:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 3AC9941C735; Fri, 5 Oct 2007 21:20:06 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id SsoQqSW2sEp7; Fri, 5 Oct 2007 21:20:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id CB11D41C733; Fri, 5 Oct 2007 21:20:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 59F344448DD; Fri, 5 Oct 2007 19:15:07 +0000 (UTC) Date: Fri, 5 Oct 2007 19:15:07 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Julian Elischer In-Reply-To: <47068893.1080303@elischer.org> Message-ID: <20071005191105.C6043@maildrop.int.zabbadoz.net> References: <20071005183124.3619C4500E@ptavv.es.net> <47068893.1080303@elischer.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: IPv6 support for tables in ipfw? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2007 19:38:14 -0000 On Fri, 5 Oct 2007, Julian Elischer wrote: Hi, > Kevin Oberman wrote: >>> Date: Fri, 05 Oct 2007 11:02:22 -0700 >>> From: Julian Elischer >>> >>> Kevin Oberman wrote: >>>> At this time the use of tables in ipfw is limited to IPv4. Is anyone >>>> looking at adding IPv6 address capability? >>> >>> I am but it's not 'soon' on my list. >> >> I am on travel for a couple of weeks, so I may try and get a start on >> this while at airports or on planes. >> >> Tables are very useful for allowing an IDS set up blocks on the >> fly. Right now I am limited to a new rule for every block and that is >> not very portable (since I don't want to step on existing rules) and >> very messy since, except for the address, all of the rules are >> identical. > > yeah, exactly.. "me too". > >> I'm using tables right now for V4, but I really need to have v6 support >> soon. I'm just not real sure what 'soon' is. I hope it's different from >> yours. The question is: do we want to duplicate the table framework for IPv6 or have mixed tables with both v4 and v6 addresses? While I am thinking about performance for lookups etc. I am more worried about the userspace API which might change. That might be troublesome for the 7-tree. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.