From owner-freebsd-net@FreeBSD.ORG Tue May 13 10:34:03 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 3F687B24 for ; Tue, 13 May 2014 10:34:03 +0000 (UTC) Received: from mail.ipfw.ru (mail.ipfw.ru [IPv6:2a01:4f8:120:6141::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 022622791 for ; Tue, 13 May 2014 10:34:03 +0000 (UTC) Received: from [2a02:6b8:0:401:222:4dff:fe50:cd2f] (helo=ptichko.yndx.net) by mail.ipfw.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76 (FreeBSD)) (envelope-from ) id 1Wk67v-0009nH-Sa; Tue, 13 May 2014 10:23:47 +0400 Message-ID: <5371F4C8.3080501@FreeBSD.org> Date: Tue, 13 May 2014 14:32:40 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: Dennis Yusupoff , Marcelo Gondim , FreeBSD Net Subject: Re: 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> In-Reply-To: <5371E9E7.70400@smartspb.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Tue, 13 May 2014 10:34:03 -0000 On 13.05.2014 13:46, Dennis Yusupoff wrote: > May be this will help? See answer on > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/189471 I'll try to fix it within a few days. The problem itself happens due to the fact that every CIDR table address is packed into IPv6 address and IPv4 ones are encoded as deprecated IPv6-compatible ones. this leads to the problems with decoding things like 0/X or ::1 > > 12.05.2014 22:21, Marcelo Gondim пишет: >> Hi Jason, >> >> Same problem. >> >> Em 12/05/14 15:02, Jason Hellenthal escreveu: >>> Cute. Same this happen when there are paren around the quad ? >>> >> -- Jason Hellenthal Voice: 95.30.17.6/616 JJH48-ARIN >> >>> On May 12, 2014, at 13:43, Marcelo Gondim wrote: >>> >>> Hi all, >>> >>> Today I discovered a likely problem: >>> >>> # ipfw table 99 add 0.0.0.0/8 >>> >>> # ipfw table 99 list >>> ::/8 0 >>> >>> Is this correct? IPv6? >>> >>> # uname -a >>> FreeBSD mail.xxxxxx.com.br 10.0-STABLE FreeBSD 10.0-STABLE #6 >>> r265408: Fri May 9 12:00:40 BRT >>> 2014root@mail.xxxxxx.com.br:/usr/obj/usr/src/sys/GONDIM amd64 >>> >>> Cheers, >>> Gondim >>> _______________________________________________ >>> 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" >> _______________________________________________ >> 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" >> >>