bin/180818: rtadvd generates warnings when using in dhcp-pd enviroment
Andrew White
andywhite at gmail.com
Wed Jul 24 23:20:00 UTC 2013
>Number: 180818
>Category: bin
>Synopsis: rtadvd generates warnings when using in dhcp-pd enviroment
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 24 23:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Andrew White
>Release: 8.3
>Organization:
none
>Environment:
FreeBSD fbsd83.blah.com 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:47:23 UTC 2012 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
when using freebsd in dhcp-pd configuration, rtadvd logs that RA are received on an interface that isn't configured. This is expected behaviour and the logs should not log for this situation.
>How-To-Repeat:
configure freebsd for DHCP-PD, startup rtadvd for your inside interface with no confiuration for your outside interface.
>Fix:
use the sysctl RFC6204W3 to decide to log these messages or not.
Patch attached with submission follows:
--- /usr/src/usr.sbin/rtadvd/rtadvd.c 2012-03-03 06:15:13.000000000 +0000
+++ /tmp/rtadvd.c 2013-07-24 23:11:50.000000000 +0000
@@ -1075,7 +1075,7 @@
return (0);
}
- return (ifi->ifi_nd_flags & ND6_IFF_ACCEPT_RTADV);
+ return ((ifi->ifi_nd_flags & ND6_IFF_ACCEPT_RTADV) && (getinet6sysctl(IPV6CTL_RFC6204W3) == 0));
#endif
}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list