From owner-freebsd-bugs@FreeBSD.ORG Tue May 6 15:10:03 2008 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 B08111065677 for ; Tue, 6 May 2008 15:10:03 +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 93D698FC1B for ; Tue, 6 May 2008 15:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m46FA35Y093393 for ; Tue, 6 May 2008 15:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m46FA3Q1093392; Tue, 6 May 2008 15:10:03 GMT (envelope-from gnats) Resent-Date: Tue, 6 May 2008 15:10:03 GMT Resent-Message-Id: <200805061510.m46FA3Q1093392@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, Henri Hennebert Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FAF2106566B for ; Tue, 6 May 2008 15:03:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 34F8B8FC19 for ; Tue, 6 May 2008 15:03:45 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m46F2qr7070645 for ; Tue, 6 May 2008 15:02:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m46F2qvD070644; Tue, 6 May 2008 15:02:52 GMT (envelope-from nobody) Message-Id: <200805061502.m46F2qvD070644@www.freebsd.org> Date: Tue, 6 May 2008 15:02:52 GMT From: Henri Hennebert To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: bin/123465: route add -inet6 -interface gif0 -proxy mangle ipv6 address X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2008 15:10:03 -0000 >Number: 123465 >Category: bin >Synopsis: route add -inet6 -interface gif0 -proxy mangle ipv6 address >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue May 06 15:10:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Henri Hennebert >Release: FreeBSD-7.0-RELEASE >Organization: >Environment: FreeBSD tignes.restart.be 7.0-RELEASE-p1-rst1 FreeBSD 7.0-RELEASE-p1 #0: Sat May 3 16:01:04 CEST 2008 >Description: If you try to add a ipv6 proxy address like: route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy at line 734 of /usr/src/sbin/route/route.c if (proxy) { --> so_dst.sinarp.sin_other = SIN_PROXY; flags |= RTF_ANNOUNCE; `so_dst.sinarp.sin_other = SIN_PROXY;' mangles the ipv6 address! Henri >How-To-Repeat: route add -inet6 2001:41d0:1:2ad2:1::/80 -interface gif0 -proxy >Fix: For inet6, remove the offending line... >Release-Note: >Audit-Trail: >Unformatted: