From owner-freebsd-current@FreeBSD.ORG Wed Sep 30 07:22:32 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC713106566B for ; Wed, 30 Sep 2009 07:22:32 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f227.google.com (mail-bw0-f227.google.com [209.85.218.227]) by mx1.freebsd.org (Postfix) with ESMTP id EFB768FC16 for ; Wed, 30 Sep 2009 07:22:31 +0000 (UTC) Received: by bwz27 with SMTP id 27so4427866bwz.43 for ; Wed, 30 Sep 2009 00:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=LPGxXnfQB3+hJsUkM7j1UbfnKTh9sj3ftiLnx8tp/8s=; b=edfbKD0rwDU4t8wuGZWH8qWTnatpIqpa/SPbD71Pbuf2LEXwUgxv7UnsXhmJo5o6JU WIoaUvVXB76+9r3IMMgJ/tr9jh/+D00H1NqW+I0XVHMNMIOeZHc1rKbFNpWzmgRb1gAZ 2EHia1wZtTmeU3a6r01vVUKIUHYdiqqwO92sw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=YH+pgTLVAXZvuPeP/CyXOIXSTyr0Wniop8YXBEgAi/8MY4qEMDyBeo/O350FkkMRmt +/GW31BR1wW9SsuIUKhoSOMIqMkJiPsxrjEoABaw7fk8uJI+CNe86TmXXNTBLo0weQbh tCUJ0wSYxpUNqJc76PSD3pF/Cwga+BUWIdhYU= MIME-Version: 1.0 Received: by 10.103.125.35 with SMTP id c35mr2122640mun.30.1254295350893; Wed, 30 Sep 2009 00:22:30 -0700 (PDT) In-Reply-To: References: <86ocotelhf.fsf@ds4.des.no> Date: Wed, 30 Sep 2009 09:22:30 +0200 Message-ID: <3a142e750909300022g6f153e86yd38df65e7200bf99@mail.gmail.com> From: "Paul B. Mahol" To: Hajimu UMEMOTO Content-Type: text/plain; charset=ISO-8859-1 Cc: Dag-Erling Smo/rgrav , Alexander Best , freebsd-current@freebsd.org, Andriy Gapon Subject: Re: ipv6 related warnings X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2009 07:22:32 -0000 On 9/30/09, Hajimu UMEMOTO wrote: > Hi, > >>>>>> On Wed, 30 Sep 2009 01:31:17 +0200 (CEST) >>>>>> Alexander Best said: > > alexbestms> my /etc should now be finally in sync with /usr/src/etc. however > i'm still > alexbestms> getting the warnings i desribed at the beginning of this thread: > > alexbestms> Additional TCP/IP options: > alexbestms> rfc1323 extensions=NO > alexbestms> no-ipv4-mapped-ipv6 > alexbestms> sysctl: > alexbestms> unknown oid 'net.inet6.ip6.v6only' > > alexbestms> . > alexbestms> wlan0: Ethernet address: 00:0f:b5:82:07:c8 > alexbestms> Starting Network: lo0 ath0. > alexbestms> Starting devd. > alexbestms> Configuring keyboard: > alexbestms> keymap > alexbestms> keyrate > alexbestms> keybell > alexbestms> \^[[=0;0B > alexbestms> . > alexbestms> add net default: gateway 192.168.1.1 > alexbestms> route: > alexbestms> bad keyword: inet6 > > alexbestms> usage: route [-dnqtv] command [[modifiers] args] > alexbestms> route: > alexbestms> bad keyword: inet6 > > alexbestms> usage: route [-dnqtv] command [[modifiers] args] > alexbestms> route: > alexbestms> bad keyword: inet6 > > alexbestms> usage: route [-dnqtv] command [[modifiers] args] > alexbestms> route: > alexbestms> bad keyword: inet6 > > alexbestms> usage: route [-dnqtv] command [[modifiers] args] > alexbestms> Additional routing options: > alexbestms> ignore ICMP redirect=YES > alexbestms> log ICMP redirect=YES > > It seems that the recent rc scripts have a problem. They do IPv6 > operation regardless of an availability of an IPv6 in the kernel, in > some places. Please try the following patch and let me the result. > Sorry but I don't try it by my self. > It fixed warnings. I noticed that tcp_keepalive and tcp_extensions options do not work from rc.conf. They only put sysctl values to zero. log_in_vain and drop_synfin works correctly (even if they are configured via sysctl.conf and not via rc.conf) -- Paul