From owner-freebsd-net@FreeBSD.ORG Thu Aug 14 09:23:30 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D2A71183; Thu, 14 Aug 2014 09:23:30 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C88602A3C; Thu, 14 Aug 2014 09:23:29 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id mc6so759024lab.20 for ; Thu, 14 Aug 2014 02:23:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qLnNumXXyFcABLj2bZlBea8o9c4ElCwxyy/4vTWdB0Q=; b=BG8DsbvqisjzDD5/wd8zyEMJFi4x4EsVInMArCg6FQAYk/yQtqwJgipJkqCt/82SZo vVBmZz3JwZUwtXrdbj0hOElwDuV46I5IFtd6nNJwBHXHXNzNQMeqa1qoyKxiFOMgdzfZ aLcefMQ/NvMMQBtKOuKKPF5+YP2pXezvU3PsPkrgE9tfT3RTbTYp9KZckqiK37fdXYLA D9E8z6ojL13NTGf67iTfVZlvKgkDzxffCtgJjRJVxTPERBjYwjPtx1SLCYS20yV4wyzb M8U7Kos4jYBeZwMhA58DfQpuqHnsRUdWiXPvCPH1LszgR5mC5lF1DgCNLX/Hh56e1O5N RYTQ== MIME-Version: 1.0 X-Received: by 10.112.34.8 with SMTP id v8mr3417820lbi.47.1408008207733; Thu, 14 Aug 2014 02:23:27 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.244.2 with HTTP; Thu, 14 Aug 2014 02:23:27 -0700 (PDT) In-Reply-To: <53EBC687.9050503@yandex-team.ru> References: <53EBC687.9050503@yandex-team.ru> Date: Thu, 14 Aug 2014 11:23:27 +0200 X-Google-Sender-Auth: ecJUl9nK6T04x2mzyb5kx4-yzI8 Message-ID: Subject: Re: [CFT] new tables for ipfw From: Luigi Rizzo To: "Alexander V. Chernikov" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-net@freebsd.org" , Luigi Rizzo , "Andrey V. Elsukov" , freebsd-ipfw X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-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: Thu, 14 Aug 2014 09:23:30 -0000 On Wed, Aug 13, 2014 at 10:11 PM, Alexander V. Chernikov < melifaro@yandex-team.ru> wrote: > Hello list. > > I've been hacking ipfw for a while and It seems there is something ready > to test/review in projects/ipfw branch. > =E2=80=8Bthis is a fantastic piece of work, thanks for doing it and for integrating the feedback. =E2=80=8B I have some detailed feedback that will send you privately, but just a curiosity: =E2=80=8B...=E2=80=8B > > Some examples (see ipfw(8) manual page for the description): > > > =E2=80=8B... > > > ipfw table mi_test create type cidr algo "cidr:hash masks=3D/30,/64" > =E2=80=8Bwhy do we need to specify mask lengths in the above=E2=80=8B ? cheers luigi