From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 24 18:00:03 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.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 1032FDEA for ; Mon, 24 Mar 2014 18:00:03 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C73FE3F5 for ; Mon, 24 Mar 2014 18:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OI02rM044927 for ; Mon, 24 Mar 2014 18:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2OI02O5044926; Mon, 24 Mar 2014 18:00:02 GMT (envelope-from gnats) Resent-Date: Mon, 24 Mar 2014 18:00:02 GMT Resent-Message-Id: <201403241800.s2OI02O5044926@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Vladislav V. Prodan" 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 DBE96C9B for ; Mon, 24 Mar 2014 17:54:14 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C8C533C4 for ; Mon, 24 Mar 2014 17:54:14 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s2OHsDjj033164 for ; Mon, 24 Mar 2014 17:54:13 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s2OHsDdL033163; Mon, 24 Mar 2014 17:54:13 GMT (envelope-from nobody) Message-Id: <201403241754.s2OHsDdL033163@cgiserv.freebsd.org> Date: Mon, 24 Mar 2014 17:54:13 GMT From: "Vladislav V. Prodan" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: misc/187904: ipfw (8) does not properly recognize the network in shorthand X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Mar 2014 18:00:03 -0000 >Number: 187904 >Category: misc >Synopsis: ipfw (8) does not properly recognize the network in shorthand >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 24 18:00:01 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Vladislav V. Prodan >Release: FreeBSD 10.0 >Organization: support.od.ua >Environment: FreeBSD bimbo.YYY 10.0-STABLE FreeBSD 10.0-STABLE #0: Sun Mar 23 08:14:35 EET 2014 root@bimbo.YYY:/usr/obj/usr/src/sys/bimbo.3 amd64 >Description: When network is added to the table ipfw in shortened form, network ::/0 appears By the context of the rules ipfw - drop or reset, network ::/0 can block access to the target machine. In the system 9.0 such behavior was not observed. For example, the network 177.204/14 #whois -L 177.204/14 .. inetnum: 177.204/14 aut-num: AS18881 abuse-c: GOI owner: Global Village Telecom .. >How-To-Repeat: #ipfw table 100 list #ipfw table 100 add 177.204/14 #ipfw table 100 list ::/0 0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: