From owner-freebsd-net@FreeBSD.ORG Wed May 21 02:04:31 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 9E778F43; Wed, 21 May 2014 02:04:31 +0000 (UTC) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 6A37C2B2E; Wed, 21 May 2014 02:04:31 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id hz1so886401pad.16 for ; Tue, 20 May 2014 19:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=qAmaYmuyqWi7ZBQW9Zp7AbsbT/wwIpzSGo0IOPxxqPM=; b=zYXClIQSb7xJoSxwCEkLVtuPPlVN+B4kSNQIARidEKFq33nHFMAEoZKvcP8mxTEKuc 6Eyzzm3UylOcJfYdIgHFdtWwNk3MVeq+ml/hCt+Wc9i0+Xh7VxbhHEEgjFzDYn88HNtJ L0hsbiXczjfx0d4tCbz+OVMLzymYAsGT/1UM/l6pMVxRRh+AlFURS5JDLJPPwDiKMAwp BymQiI637fbQ7ZYD6zmlgYYvhq9bgd8HflbDGt0Jx9jOB6R0sIa/bk0vn0F1SacsmcnA aMFVY6RWeEsIDKL37k2cRsJZ4RdxmBv1cZNN+Sy5wzJJonL7XMPTRwgwqAH5XvyGWGmd 1JHQ== X-Received: by 10.68.110.226 with SMTP id id2mr55094524pbb.40.1400637871019; Tue, 20 May 2014 19:04:31 -0700 (PDT) Received: from [10.85.169.80] ([14.100.132.158]) by mx.google.com with ESMTPSA id sv10sm5292818pbc.74.2014.05.20.19.04.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 20 May 2014 19:04:29 -0700 (PDT) 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> <537A0560.2070902@gmail.com> <537A0967.1000808@smartspb.net> <537B91C2.7000609@FreeBSD.org> Mime-Version: 1.0 (1.0) In-Reply-To: <537B91C2.7000609@FreeBSD.org> Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Message-Id: <6BBE52AB-E405-4A2D-BFF3-6838130C8D6A@gmail.com> X-Mailer: iPhone Mail (11D201) From: bycn82 Subject: Re: [Was]: Problem with ipfw table add 0.0.0.0/8 Date: Wed, 21 May 2014 10:04:22 +0800 To: "Alexander V. Chernikov" Cc: "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: Wed, 21 May 2014 02:04:31 -0000 It will e nice to have this utility function > On 21 May, 2014, at 1:32 am, "Alexander V. Chernikov" wrote: >=20 >> On 19.05.2014 17:38, Dennis Yusupoff wrote: >> It's not enough, actually. >> Imagine what you have a table with different networks. If you'll try to >> find out is an IP belongs to some of that networks from the table, you >> should to write relatively serious "wrapper" with network range >> calculations in it. Or can you show differ (easier) way? >> So it's REALLY usefull to implement that functions "out-of-the-box". > Doing "test" function is quite easy. I'll probably do this after finishing= new tables code merge. >> I'm risking to be annoying, but there is a good (from customers point of >> view) example of tables manipulation in Linux: ipset project >> (http://ipset.netfilter.org/ipset.man.html) >>=20 >> 19.05.2014 17:21, bycn82 =A7=E1=A7=DA=A7=EA=A7=D6=A7=E4: >>> 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 ) >=20 > _______________________________________________ > 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"