From owner-freebsd-rc@FreeBSD.ORG Mon Jan 23 11:02:51 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 812C616A41F for ; Mon, 23 Jan 2006 11:02:51 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1C3D43D77 for ; Mon, 23 Jan 2006 11:02:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0NB2c2n086365 for ; Mon, 23 Jan 2006 11:02:38 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0NB2bhe086359 for freebsd-rc@freebsd.org; Mon, 23 Jan 2006 11:02:37 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 23 Jan 2006 11:02:37 GMT Message-Id: <200601231102.k0NB2bhe086359@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 11:02:51 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2005/02/10] conf/77340 rc awk used in /etc/rc.d/nsswitch when not a 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/06/30] conf/68525 rc Loader's verbose boot mode has rc.d/local o [2004/11/11] conf/73834 rc Bad dependencies for /etc/rc.d/savecore o [2004/11/13] conf/73909 rc [patch] rc.d/sshd does not work with port o [2005/02/18] conf/77663 rc Suggestion: add /etc/rc.d/addnetswap afte o [2005/05/14] kern/81006 rc ipnat not working with tunnel interfaces o [2005/08/27] conf/85363 rc syntax error in /etc/rc.d/devfs o [2005/11/14] conf/88974 rc autoconfigured vlans confuse rc.d/netif 7 problems total. From owner-freebsd-rc@FreeBSD.ORG Mon Jan 23 18:57:25 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57D2716A41F for ; Mon, 23 Jan 2006 18:57:25 +0000 (GMT) (envelope-from matthieu.michaud@epita.info) Received: from marge.cload.net (marge.cload.net [213.41.172.209]) by mx1.FreeBSD.org (Postfix) with SMTP id 6488843D58 for ; Mon, 23 Jan 2006 18:57:23 +0000 (GMT) (envelope-from matthieu.michaud@epita.info) Received: (qmail 49203 invoked by uid 100); 23 Jan 2006 20:02:11 +0100 Received: from homer.cload.net (HELO moe.lan) (213.41.241.56) by marge.cload.net with SMTP; 23 Jan 2006 20:02:11 +0100 From: Matthieu Michaud To: freebsd-rc@freebsd.org Content-Type: text/plain Organization: EPITA SRS 2007 Date: Mon, 23 Jan 2006 19:56:04 +0100 Message-Id: <1138042564.933.14.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: gif_up with ipv6 transport layer X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2006 18:57:25 -0000 hello, i have this kind of configuration : 192.168.1.0/24 -- A (2001:7a8:6cd1::caca) | INTERNET | 192.168.2.0/24 -- B (2001:7a8:b138::caca) i want to make my ipv4 in ipv6 tunnel configured at boot time. i added : rc.conf(A) gifconfig_gif0="2001:7a8:6cd1::caca 2001:7a8:b138::caca" ifconfig_gif0="inet 192.168.1.1 192.168.2.253 netmask 0xffffffff" static_routes="vpn0" route_vpn0="192.168.2.0 192.168.2.253" rc.conf(B) gif_interfaces="gif0" gifconfig_gif0="inet6 tunnel 2001:7a8:b138::caca 2001:7a8:6cd1::caca" ifconfig_gif0="inet 192.168.2.253 192.168.1.1 netmask 0xfffffff" static_routes="vpn0" route_vpn0="192.168.1.0 192.168.1.1" it's working well, congratulations to dev ! but, here is my problem (/etc/network.subr) : gif_up() { case ${gif_interfaces} in [Nn][Oo] | '') ;; *) for i in ${gif_interfaces}; do eval peers=\$gifconfig_$i case ${peers} in '') continue ;; *) ifconfig $i create >/dev/null 2>&1 ifconfig $i tunnel ${peers} ifconfig $i up ;; esac done ;; esac } it wont create a tunnel with ipv6 as transport layer. it should be able to exec a "ifconfig $i inet6 tunnel ${peers}". is it an unhandled case ? did i miss something ? thanks for your answer. -- Matthieu Michaud EPITA SRS 2007