Home | History | Annotate | Download | only in rtadvd
History log of /src/usr.sbin/rtadvd/advcap.c
RevisionDateAuthorComments
 1.19  23-Mar-2021  christos print function names as %s: not <%s> everywhere for consistency.
 1.18  03-Feb-2019  mrg - add or adjust /* FALLTHROUGH */ where appropriate
- add __unreachable() after functions that can return but won't in
this case, and thus can't be marked __dead easily
 1.17  06-Nov-2017  christos branches: 1.17.4;
Change the meaning of the 'D' flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).
 1.16  11-Nov-2015  ozaki-r branches: 1.16.8;
Introduce rump.rtadvd

It is used to write ATF tests for RA.

From s-yamaguchi@IIJ.
 1.15  05-Jun-2015  roy Use %m in syslog(3) instead of %s strerror(3).
 1.14  13-Dec-2012  roy Remove the iflist array and store ifflags in rainfo.

Add support for SIGHUP to re-read the configuration for each interface.
If an invalid configuration is found, we continue to use the old one;
otherwise we expire the current one and then start advertising the new one.

Specififed interfaces don't have to exist at startup.
If specified interfaces arrive, load their config and start advertising.
If they depart, remove their rainfo structure and continue.

Fixes PR/43881 and PR/47311
 1.13  10-Dec-2011  roy branches: 1.13.6;
Add RDNSS and DNSSL support, RFC6106.
Replace custom lists with TAILQ lists.
Clean up plently of signed vs unsigned warnings and set WARNS=4.

Adapted from FreeBSD.
 1.12  18-Mar-2006  dan branches: 1.12.42;
actually toggle the value of dquote when seeing a '"', as I intuit the
author must have intended. Found via coverity CID 579.
 1.11  05-Mar-2006  rpaulo NDP-related improvements:
RFC4191
- supports host-side router-preference

RFC3542
- if DAD fails on a interface, disables IPv6 operation on the
interface
- don't advertise MLD report before DAD finishes

Others
- fixes integer overflow for valid and preferred lifetimes
- improves timer granularity for MLD, using callout-timer.
- reflects rtadvd's IPv6 host variable information into kernel
(router only)
- adds a sysctl option to enable/disable pMTUd for multicast
packets
- performs NUD on PPP/GRE interface by default
- Redirect works regardless of ip6_accept_rtadv
- removes RFC1885-related code

From the KAME project via SUZUKI Shinsuke.
Reviewed by core.
 1.10  30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.9  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.
 1.8  10-Jul-2002  itojun byebye __FUNCTIION__. sync w/kame
 1.7  29-May-2002  itojun KNF, strlcpy, memory leak fix, random other cleanups. sync w/kame
 1.6  04-Feb-2001  itojun avoid infinite loop when -s is specified (select loop mistake).
make agetent() 32bit clean. KAME PR 127.
disable -R (router renumbering receiver). sync with kame.
 1.5  23-May-2000  itojun sync with latest kame.
- decrease warning level on missing rtadvd.conf (actually, the file
can be omitted)
- strict prototype
- gather stats better, emit stats on SIGUSR1 to /var/run
 1.4  13-Mar-2000  itojun bring in latest kame tree. this fixes unclosed file descdriptor
in router renumbering case.
 1.3  08-Dec-1999  itojun netbsd rcsid fix.
 1.2  06-Jul-1999  itojun branches: 1.2.4;
fix for 64bit arch, where sizeof(size_t) != sizeof(int).
add NetBSD RCS ID.
 1.1  02-Jul-1999  itojun rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
 1.2.4.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.42.2  16-Jan-2013  yamt sync with (a bit old) head
 1.12.42.1  17-Apr-2012  yamt sync with head
 1.13.6.1  25-Feb-2013  tls resync with head
 1.16.8.1  21-Nov-2017  martin Pull up following revision(s) (requested by ozaki-r in ticket #358):
usr.sbin/rtadvd/rtadvd.c: revision 1.54-1.58
usr.sbin/rtadvd/config.c: revision 1.37
usr.sbin/rtadvd/if.c: revision 1.25
usr.sbin/rtadvd/dump.c: revision 1.15
usr.sbin/rtadvd/rrenum.c: revision 1.20
usr.sbin/rtadvd/logit.h: revision 1.1
usr.sbin/rtadvd/rtadvd.8: revision 1.26
tests/net/ndp/t_ra.sh: revision 1.30
usr.sbin/rtadvd/timer.c: revision 1.14
tests/net/ndp/t_ra.sh: revision 1.31
usr.sbin/rtadvd/advcap.c: revision 1.17

KNF, fix time printing formats.

Don't start another copy of rtadvd if one is running.

PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast
group fails. This happens with empty vlan interfaces
- make syscalls checks against -1
- fix errors to print %s: instead of <%s>
XXX: if_vlan is the only pseudo interface in net/ that returns such an
error..

Kill rtadvd surely even if the tests fail in the middle
It may help PR bin/52701.

Change the meaning of the D flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).

Mark expandm as preserving format strings.

Let rtadvd not use syslog for logging
Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.
Address PR bin/52701
 1.17.4.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed