Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-07 | Replace .Po/.Pc with .Pq, and drop extra .Li; suggested by jmc@ | Jeremie Courreges-Anglas | |
2016-05-07 | Document that both raflags and rtflags can hold route preference flags. | Jeremie Courreges-Anglas | |
Input from an ok jmc@ | |||
2016-03-01 | fatal("malloc") -> fatal(NULL) | Jeremie Courreges-Anglas | |
2016-03-01 | Pointless 'return;' in void functions | Jeremie Courreges-Anglas | |
2016-03-01 | Kill unused #defines | Jeremie Courreges-Anglas | |
No functional change | |||
2016-02-29 | Merge add/make_prefix() and kill last use of struct in6_prefixreq in userland. | Jeremie Courreges-Anglas | |
ok florian@ | |||
2016-02-29 | init_prefix() is now trivial, merge it with its caller. | Jeremie Courreges-Anglas | |
Suggested by and ok bluhm@ | |||
2016-02-26 | sys/signal.h -> signal.h | Jeremie Courreges-Anglas | |
2016-02-26 | Unused variable. | Jeremie Courreges-Anglas | |
2016-02-26 | GC remnants of the Router Renumbering code; ok florian@ | Jeremie Courreges-Anglas | |
2016-02-26 | Remove #if'0ed code that uses a deprecated ioctl; ok florian@ | Jeremie Courreges-Anglas | |
2016-02-26 | Kill some useless members of struct rainfo; ok florian@ | Jeremie Courreges-Anglas | |
2016-02-09 | another typo | Jeremie Courreges-Anglas | |
2016-02-09 | Kill code to send unicast packets which never got enabled. | Jeremie Courreges-Anglas | |
and get rid of pointless memory allocations. ok bluhm@ | |||
2016-02-08 | Kill trailing whitespace. | Jeremie Courreges-Anglas | |
2016-02-08 | typos | Jeremie Courreges-Anglas | |
2016-02-08 | Print MAX addresses padded with a leading zero. | Jeremie Courreges-Anglas | |
2016-02-07 | Mark a few others functions as __dead; ok bluhm@ | Jeremie Courreges-Anglas | |
2016-02-05 | select -> poll in log message; ok bluhm@ florian@ | Jeremie Courreges-Anglas | |
2016-02-05 | Bail out if an unknown option is passed. | Jeremie Courreges-Anglas | |
There is no reason for rtadvd to be different from other daemons. Input from and ok bluhm@ florian@ | |||
2016-02-05 | rtadvd used a strncpy with a src interface name from the command line | Reyk Floeter | |
without checking its length. Replace it with strlcpy, check for truncation and move the check before using the user-specified interface name. While here, replace another strncpy of a interface name with memset-zero + strlcpy and check for truncation in if_getmtu() (should not happen as we validated the length before, but it's better to be safe and generally a better practice). OK jsg@ | |||
2016-01-25 | Redundant assignement is redundant. | Jeremie Courreges-Anglas | |
2015-12-11 | Remove NULL-checks before free(). | mmcc | |
2015-12-01 | Use setsockopt(ROUTE_MSGFILTER) instead of hand-rolled filtering. | Jeremie Courreges-Anglas | |
ok florian@ | |||
2015-12-01 | This RTM_GET case can't trigger due to the filtering done above. | Jeremie Courreges-Anglas | |
ok florian@ | |||
2015-11-30 | Kill Mobile IPv6 references. Also spotted by florian@ | Jeremie Courreges-Anglas | |
2015-11-30 | Clean up get_next_msg(): kill dead argument/code | Jeremie Courreges-Anglas | |
The "ifindex" argument has always been zero, making the interface index checks within get_next_msg() useless. The caller already properly retrieves and handle the interface index of the routing messages. ok florian@ | |||
2015-11-30 | Remove the already disabled Router Renumbering support (RFC2894). | Jeremie Courreges-Anglas | |
This code has only been reachable for two months after rtadvd has been imported into the tree. This unsafe protocol is supposed to be used along with IPsec and rrenumd(8), a KAME tool that we don't have. I couldn't find an example of use in the real world. ok sthen@ florian@ millter@ | |||
2015-11-30 | Fix dynamic prefix tracking. | Jeremie Courreges-Anglas | |
This code should not be using RTAX_GATEWAY to retrieve the interface index. Also this index is meaningless within get_next_msg(), further cleanup is planned. Issue reported by Sly Midnight on bugs@, ok mpi@ | |||
2015-11-03 | Recognize carp(4) interfaces (yes, they are special...) in order to send | Martin Pieuchot | |
the src lladdr option. Problem reported and diff provided by Lauri Tirkkonen on bugs@ ok sthen@ | |||
2015-10-25 | In case of error, also log the file name we failed to open. | Jeremie Courreges-Anglas | |
2015-10-25 | ansify | Jeremie Courreges-Anglas | |
2015-10-25 | pledge "stdio inet route"; ok deraadt@ | Jeremie Courreges-Anglas | |
2015-10-25 | Stop writing down a pidfile. | Jeremie Courreges-Anglas | |
pid files aren't useful on OpenBSD, the rc.d(8) framework doesn't use them. In rtadvd, not writing a pid file means that we can set tighter pledge(2) settings. Also the pid file handling is pretty basic and the atexit handler can't remove the pid file since rtadvd did a chroot - beurk. ok florian@, "perfect" deraadt@ (!) | |||
2015-08-20 | stdlib.h is in scope; do not cast malloc/calloc/realloc* | Theo de Raadt | |
ok millert krw | |||
2015-08-18 | Fix inconsistent spelling of `inconsistent' | Miod Vallat | |
2015-06-03 | Do not assume that asprintf() clears the pointer on failure, which | Todd C. Miller | |
is non-portable. Also add missing asprintf() return value checks. OK deraadt@ guenther@ doug@ | |||
2015-06-02 | write Mobile IP{,v6} in a consistent way, as given in RFCs 5944 and 6275. | Igor Sobrado | |
ok jmc@ | |||
2015-04-21 | According to RFC 4861 and the actuall implementation rltime may not | Florian Obser | |
exceed 9000 seconds. Reported by Alexander Lobodzinski on bugs@, thanks! OK benno@ | |||
2015-01-19 | remove #ifndef #define blocks trying to handle lack of BUFSIZ | Theo de Raadt | |
ok millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2015-01-01 | "The logging of errors SHOULD be restricted to conflicting information | Florian Obser | |
that causes hosts to switch from one value to another with each received advertisement." (RFC 4861) Receiving of RAs on non-advertising interfaces is not a conflicting information; don't log it. "Mike." (the.lists AT mgm51 DOT com) reported that this leads to excessive logging with certain cable providers in 2013. Recently reported again by Aaron Riekenberg (aaron.riekenberg AT gmail DOT com). Thanks! OK bluhm@ | |||
2015-01-01 | KNF; no binary change | Florian Obser | |
2014-12-03 | rtsol is gone | Florian Obser | |
OK deraadt@ | |||
2014-11-18 | Nuke more obvious #include duplications. | Kenneth R Westerback | |
ok deraadt@ millert@ tedu@ | |||
2014-11-02 | make comment select() vs poll() agnostic | Theo de Raadt | |
2014-11-02 | convert select() to poll(). | Theo de Raadt | |
tested by brad (who found a conversion bug..) | |||
2014-10-22 | Replace abs(3) with llabs(3). | Brad Smith | |
Pointed out by LLVM. rtadvd.c:979:7: warning: absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] ok dcoppa@ millert@ | |||
2014-07-04 | malloc+memset -> calloc | Philip Guenther | |
from Benjamin Baier (programmer (at) netzbasis.de) | |||
2014-06-29 | If you want <sys/queue.h>, you need to include it. Don't assume that | Theo de Raadt | |
<sys/sysctl.h> will pull in the universe (I am working on breaking that assumption in a gentle fashion) |