From owner-freebsd-net@freebsd.org Fri Jul 1 14:35:17 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57780B8E384 for ; Fri, 1 Jul 2016 14:35:17 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9A92E73 for ; Fri, 1 Jul 2016 14:35:17 +0000 (UTC) (envelope-from mad@madpilot.net) Received: by mailman.ysv.freebsd.org (Postfix) id 3DF63B8E383; Fri, 1 Jul 2016 14:35:17 +0000 (UTC) Delivered-To: net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D9EBB8E382 for ; Fri, 1 Jul 2016 14:35:17 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 005712E72; Fri, 1 Jul 2016 14:35:16 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3rgzTQ3NNSzZsD; Fri, 1 Jul 2016 16:35:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject:received:received; s=mail; t= 1467383704; x=1469198105; bh=q7Ak+QE3iBT6s5pBjPnUy49QqFp8uhtY9FR U868Iqzg=; b=mGXu88RQl3QizngbbJUTW3yFNs1HJb7OeiTiKgx7LOaRO1ToOnU 98TJS7IXdBe6skeTMMdPMiClLVmIjtr9tEqaGZQICwlvk6Zcc1JuQiAiqx4+lmTY AZ0HoyDFts8SyZAv89xgim6+IKh0xdf4K9GIbxyShY3X6zWm16gfjJQA= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id 1nyLNDHRQ866; Fri, 1 Jul 2016 16:35:04 +0200 (CEST) Received: from marvin.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Fri, 1 Jul 2016 16:35:04 +0200 (CEST) Subject: Re: 11.0-ALPHA5 ipfw cannot create table type number To: "Andrey V. Elsukov" , net@FreeBSD.org, "Alexander V. Chernikov" References: <05343d5b-1806-1747-4bad-5cd834bd647d@madpilot.net> <57767C38.5020600@yandex.ru> From: Guido Falsi Message-ID: <11bfeecf-8a4e-8ebb-6c76-41ab7ff906a4@madpilot.net> Date: Fri, 1 Jul 2016 16:35:04 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <57767C38.5020600@yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2016 14:35:17 -0000 On 07/01/16 16:20, Andrey V. Elsukov wrote: > On 30.06.16 13:05, Guido Falsi wrote: >> While testing the new firewall functionality on head I stumbled in this: >> >> root@sensei:~ [0]# ipfw table foo create type number >> >> ipfw: Table creation failed: Operation not supported >> root@sensei:~ [71]# >> >> The ipfw man page states this should work, am I missing something? > > You need to specify algo too. > > # ipfw table T create type number algo number:array > > Don't know what is this - the code bug or documentation bug... > Thanks a lot. It did not occur to me to try with algo too. It now works. BTW if it's a man page bug I can submit a patch, I have also noticed another minor error too in the examples. -- Guido Falsi