From owner-freebsd-net@FreeBSD.ORG Tue May 24 08:53:00 2011 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31A301065670 for ; Tue, 24 May 2011 08:53:00 +0000 (UTC) (envelope-from freebsdlists@bsdunix.ch) Received: from conversation.bsdunix.ch (ns1.bsdunix.ch [82.220.1.90]) by mx1.freebsd.org (Postfix) with ESMTP id DE3C28FC15 for ; Tue, 24 May 2011 08:52:59 +0000 (UTC) Received: from conversation.bsdunix.ch (localhost [127.0.0.1]) by conversation.bsdunix.ch (Postfix) with ESMTP id 9099138D0 for ; Tue, 24 May 2011 08:34:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new at mail.bsdunix.ch Received: from conversation.bsdunix.ch ([127.0.0.1]) by conversation.bsdunix.ch (conversation.bsdunix.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ou0AlQdfCkdc for ; Tue, 24 May 2011 08:34:18 +0000 (UTC) Received: from Tom-iMac.local (dmhd.bsdunix.ch [82.220.17.25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by conversation.bsdunix.ch (Postfix) with ESMTPSA id 95DAB38CD for ; Tue, 24 May 2011 08:34:18 +0000 (UTC) Message-ID: <4DDB6D8A.1090803@bsdunix.ch> Date: Tue, 24 May 2011 10:34:18 +0200 From: Thomas User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: net@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: Is accept_rtadv enabled by default? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2011 08:53:00 -0000 Hello Out of pure curiosity. Why is accept_rtadv enabled by default on a interface with ipv6? I did not define accept_rtadv in rc.conf nor is it enabled via sysctl. net.inet6.ip6.accept_rtadv is set to 0 (default) But it's enabled on my interface: nd6 options=3 root@gw:/etc# ifconfig em0 em0: flags=9843 metric 0 mtu 1500 options=209b ether 00:1b:21:1e:e0:58 inet 82.220.2.120 netmask 0xfffffe00 broadcast 82.220.3.255 inet6 fe80::21b:21ff:fe1e:e058%em0 prefixlen 64 scopeid 0x3 inet6 2001:1680:2:100:2:120:a:b prefixlen 64 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active I could not find any reference that ACCEPT_RTADV is enabled by default in the ifconfig man page. Is this a bug? I can disable it with ifconfig em0 inet6 -accept_rtadv and put -accept_rtadv in rc.conf. My system: 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon May 2 10:08:30 UTC 2011 rc.conf: ipv6_enable="YES" ipv6_defaultrouter="2001:1680:2:100::1" ipv6_ifconfig_em0="2001:1680:2:100:2:120:a:b prefixlen 64" ipv6_firewall_enable="YES" ipv6_firewall_type="OPEN" sysctl ist set to 0: net.inet6.ip6.accept_rtadv: 0 Regards, Thomas