From owner-freebsd-net@FreeBSD.ORG Mon May 19 13:21:42 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B322C1; Mon, 19 May 2014 13:21:42 +0000 (UTC) Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::236]) (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 348072B52; Mon, 19 May 2014 13:21:42 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bj1so5800485pad.13 for ; Mon, 19 May 2014 06:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=u1xq1Ub7jrQWz+nSt248LxK9fhnFNj+haQWuLW0yvkg=; b=CrufwkBWeI1pFnsdV2EWyCli7KgCvr1kyZfRU5KcfvLAsi3UuJqfe3gR4DXsY2bFq4 G7cQRBR2E7KEih2RtERrfcs59S+z8e81/0jzYYieAlNtQpVtIejfQNnozEMxZxptIeWg g/r2NQe8AgnxvdOEYp4Dktj9K1t6Wkra8Zil7JXrbmU3D3gBkpHiCxvuBWbQ+qIIwtjV AUj+Vn3uKs2yPcphq11N2mtSVxmRV2leOK4Ecp27TlamBD96CGGAwIyB8Xq7F5Qa1wRV xpmfe6t9V/ravVUc5Ougpc+lYXxspydQgdOB06gfqNqU0l4TmwnjMn21y848JoK6Wdpw jvlw== X-Received: by 10.68.202.167 with SMTP id kj7mr43315712pbc.160.1400505701762; Mon, 19 May 2014 06:21:41 -0700 (PDT) Received: from [192.168.1.100] ([203.117.37.234]) by mx.google.com with ESMTPSA id is5sm30149224pbb.8.2014.05.19.06.21.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 May 2014 06:21:40 -0700 (PDT) Message-ID: <537A0560.2070902@gmail.com> Date: Mon, 19 May 2014 21:21:36 +0800 From: bycn82 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: "Alexander V. Chernikov" Subject: Re: [Was]: Problem with ipfw table add 0.0.0.0/8 References: <5371084F.1060009@bsdinfo.com.br> <5371112B.2030209@bsdinfo.com.br> <5371E9E7.70400@smartspb.net> <5371F4C8.3080501@FreeBSD.org> <53720AA4.80909@smartspb.net> <537767C5.80205@FreeBSD.org> <53783333.3010205@freebsd.org> <5379C6B6.4030105@smartspb.net> <537A00AC.6050305@FreeBSD.org> In-Reply-To: <537A00AC.6050305@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Dennis Yusupoff , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2014 13:21:42 -0000 On 5/19/14 21:01, Alexander V. Chernikov wrote: > On 19.05.2014 12:54, Dennis Yusupoff wrote: >> Alex, Bill, it's a good news, glad to hear it. >> >> Let me ask even more functionality: >> >> 6. Test if entry exist in table: >> ipfw table test >> It extremely useful in case of big, unordered data in the table - for >> example different networks with different mask. Now it's almost >> impossible to find out is checked IP occurs in the table or not. > Longest prefix match or exact match? > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > It will be nice to have this feature, but since the `ipfw table list` is existing, so I think this can be implemented outside the ipfw. (personal opinion only ) bycn82