From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 25 22:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3164106566C for ; Fri, 25 Sep 2009 22:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AAEEC8FC16 for ; Fri, 25 Sep 2009 22:50:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8PMo2c5010946 for ; Fri, 25 Sep 2009 22:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8PMo2mQ010945; Fri, 25 Sep 2009 22:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 25 Sep 2009 22:50:02 GMT Resent-Message-Id: <200909252250.n8PMo2mQ010945@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, Sten Spans Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81488106566B for ; Fri, 25 Sep 2009 22:48:14 +0000 (UTC) (envelope-from sten@mx1.blinkenlights.nl) Received: from mx1.blinkenlights.nl (mx1.blinkenlights.nl [IPv6:2a02:898:17:8000::25]) by mx1.freebsd.org (Postfix) with ESMTP id 254458FC17 for ; Fri, 25 Sep 2009 22:48:13 +0000 (UTC) Received: by mx1.blinkenlights.nl (Postfix, from userid 1001) id E2BEB1141E; Sat, 26 Sep 2009 00:48:11 +0200 (CEST) Message-Id: <20090925224811.E2BEB1141E@mx1.blinkenlights.nl> Date: Sat, 26 Sep 2009 00:48:11 +0200 (CEST) From: Sten Spans To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/139145: IPv6 blackhole / reject routes broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sten Spans List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 22:50:03 -0000 >Number: 139145 >Category: kern >Synopsis: IPv6 blackhole / reject routes broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 25 22:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sten Spans >Release: FreeBSD 8.0-RC1 amd64 >Organization: >Environment: System: FreeBSD towel.blinkenlights.nl 8.0-RC1 FreeBSD 8.0-RC1 #0: Thu Sep 17 18:50:57 UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: IPv6 blackhole/reject routes don't work as expected/documented. >How-To-Repeat: route an IPv6 netblock to a host, enable forwarding, add a blackhole route with iface lo0, observe the icmp6 replies. towel# sysctl -w net.inet6.ip6.forwarding=1 net.inet6.ip6.forwarding: 0 -> 1 towel# route add -inet6 -net 2a02:898:17::/48 -iface lo0 -blackhole add net 2a02:898:17::/48: gateway lo0 sten@bastard:~$ traceroute6 2a02:898:17:1234:: traceroute to 2a02:898:17:1234:: (2a02:898:17:1234::) from 2001:7b8e00:4, 30 hops max, 24 byte packets 1 gw.nkenlights.nl (2001:7b8:666:ffff::1) 0.274 ms 0.203 ms 0.145 ms 2 hobby.etwork.bit.nl (2001:7b8:3:47::2) 0.451 ms 0.384 ms 0.308 ms 5 dcg-1-.clue.net (2a02:898:8283:2::1) 6.142 ms 5.516 ms 5.512 ms 6 eddie.blinkenlights.nl (2a02:898::74:2) 3.474 ms 3.458 ms 2.968 ms 7 2a02:898:17:ffff::2 (2a02:898:17:ffff::2) 2.862 ms 3.012 ms 3.293 ms 8 2a02:898:17:ffff::2 (2a02:898:17:ffff::2) 3.205 ms 4.055 ms 2.965 ms 9 2a02:898:17:ffff::2 (2a02:898:17:ffff::2) 3.256 ms 3.95 ms 3.9 ms >Fix: >Release-Note: >Audit-Trail: >Unformatted: