I use OpenBSD 5.2 as a firewall / router connected to my cable modem.
My ISP (Comcast) is rolling out dual-stack IPv6 support. It has not
yet reached my area, but I am seeing signs of life in the IPv6 area on
my cable modem. One of the signs of life is the following message
logged in daemon.log every three seconds, all day, every day.
rtadvd[17294]: received RA from fe80::xxxx:xxxx:xxxx::1 on
non-advertising interface(fxp0)
Looking through rtadvd.c, I see the following:
/*
* RA consistency check according to RFC-2461 6.2.7
*/
if ((rai = if_indextorainfo(pi->ipi6_ifindex)) == 0) {
log_info("received RA from %s on non-advertising interface(%s)",
inet_ntop(AF_INET6, &from->sin6_addr, ntopbuf,
INET6_ADDRSTRLEN),
if_indextoname(pi->ipi6_ifindex, ifnamebuf));
goto done;
}
and the "goto done" skips the rest of the consistency checks on the
content of an RA packet.
I looked through RFC-2461 6.2.7, and I don't see anything that would
encourage this type of logging. That section of the RFC seems to be
more interested in the contents of the RA packets, not the presence of
them on a non-advertising interface.
Is there a needed purpose to this code logging the packets being
received to a non-advertising interface and filling up a log file?