On Sat, Oct 27, 2012 at 03:57:07PM +0900, Hiroki Sato wrote: > Brian Somers <br...@freebsd.org> wrote > in <20121026235044.ga77...@thong.lan.awfulhak.org>: > > br> When I reboot and don't use -accept_rtadv (and leave > br> net.inet6.ip6.accept_rtadv set to zero), I repeatedly see this in > br> /var/log/messages: > br> > br> Oct 26 16:31:26 gw rtadvd[2879]: non-zero lifetime RA on RA receiving > interface sk0. Ignored. > br> Oct 26 16:31:33 gw rtadvd[2879]: non-zero lifetime RA on RA receiving > interface bridge0. Ignored. > br> Oct 26 16:31:42 gw rtadvd[2879]: non-zero lifetime RA on RA receiving > interface sk0. Ignored. > br> Oct 26 16:31:49 gw rtadvd[2879]: non-zero lifetime RA on RA receiving > interface bridge0. Ignored. > br> > br> This seems to be the problem. Because check_accept_rtadv() (in > br> rtadvd) reports the interface as being able to accept RAs (it finds > br> the ND6_IFF_ACCEPT_RTADV flag), it drops outgoing RAs and nothing > br> happens. > > Can you send me your /etc/rc.conf and /etc/sysctl.conf? I guess you > are still using ipv6_enable=YES on 9.X.
Sure (attached). I'm not sure what is supposed to change in rc.conf when upgrading from 8 to 9. There's nothing obvious that I can see... maybe I'm looking in the wrong place? http://www.freebsd.org/releases/9.0R/relnotes.html This issue seems to be with rtadvd (as per above). Eliding the return after the above non-zero lifetime message in rtadvd.c makes everything work again (without using ifconfig iface inet6 -accept_rtadv). -- Brian Somers <br...@awfulhak.org> Don't _EVER_ lose your sense of humour ! <br...@freebsd.org>
hostname=gw.lan.Awfulhak.org nisdomainname=Awfulhak.org firewall_enable=YES firewall_flags="-p /usr/bin/m4" firewall_type=/etc/firewall.rules firewall_quiet=YES #network_interfaces="fxp0 re0 lo0 bridge0" #network_interfaces="fxp1 sk0 lo0 bridge0" ifconfig_sk0="inet 172.16.0.1 netmask 0xffffff00" ifconfig_sk0_alias0="inet 172.16.0.23 netmask 0xffffffff" ifconfig_lo0_alias0="inet 127.0.0.2 netmask 0xffffffff" ifconfig_fxp0=DHCP #static_routes=upstairs #route_upstairs="172.16.2.128/25 172.16.2.34" ifconfig_fxp1=up vlans_sk0=167 ifconfig_sk0_167=up cloned_interfaces=bridge0 ifconfig_bridge0="addm sk0.167 addm fxp1 172.16.2.2 netmask 0xffffff80" bsdstats_enable=YES ipv6_enable=YES ipv6_gateway_enable=YES ipv6_ifconfig_sk0="2001:1938:27d:0:240:f4ff:feb1:1c85 prefixlen 64" ipv6_ifconfig_bridge0="2001:1938:27d:1:20d:61ff:fe45:2c3f prefixlen 64" rtadvd_enable=YES rtadvd_interfaces="sk0 bridge0" fsck_y_enable=YES natd_enable=YES natd_interface=fxp0 natd_flags="-f /etc/natd.conf" rpcbind_enable=YES syslogd_enable=YES syslogd_flags=-ss dnscrypt_proxy_enable=YES dnscrypt_proxy_flags='-a 127.0.0.2' named_enable=YES rwhod_enable=YES amd_enable=YES amd_flags= nfs_client_enable=YES nfs_server_enable=YES mountd_enable=YES mountd_flags="-p 1007" rpc_lockd_enable=YES rpc_statd_enable=YES timed_flags="-F localhost" nis_client_enable=YES nis_client_flags="-S $nisdomainname,172.16.0.1 -m" nis_server_enable=YES nis_yppasswdd_enable=YES gateway_enable=YES cursor=destructive lpd_enable=YES lpd_flags=-lc dumpdev=/dev/ad0s1b clear_tmp_enable=YES ldconfig_paths_aout=NO sshd_enable=YES ntpd_enable=YES ntpd_sync_on_start=YES usbd_enable=YES snmpd_enable=YES snmpd_flags=-Lsd moused_enable=YES moused_type=ps/2 moused_port=/dev/psm0 sendmail_enable=YES inetd_enable=YES sixxs_aiccu_enable=YES cyrus_pwcheck_enable=YES #slapd_enable=YES #slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"' #slapd_sockets="/var/run/openldap/ldapi" apache22_enable=YES apache22ssl_enable=YES dhcpd_enable=YES dhcpd_ifaces="sk0 bridge0" dhcpd_chuser_enable=NO mysql_enable=YES cyrus_imapd_enable=YES saslauthd_enable=YES saslauthd_flags="-a pam" squid_enable=YES samba_enable=YES #winbindd_enable=YES #winbindd_flags="-d10" mt_daapd_enable=YES arpwatch_enable=YES arpwatch_interfaces="sk0 bridge0" cupsd_enable=YES nagios_enable=YES nsca_enable=YES sshblock_enable=YES saver=green # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" ddclient_enable=YES daily_ddclient_force_enable=YES spamd_enable=YES spamass_milter_enable=YES
# $FreeBSD: stable/9/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ # # This file is read when going to multi-user and its contents piped thru # ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for details. # kern.maxfilesperproc=1024 # Uncomment this to prevent users from seeing information about processes that # are being run under another UID. #security.bsd.see_other_uids=0 # I want to see firewall log messages in /var/log/security net.inet.ip.fw.verbose=1
pgpjN9HAdEmnU.pgp
Description: PGP signature