summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtadvd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r288963:delphij2015-10-291-2/+0
| | | | | Now that we own the code, use arc4random(3) unconditionally and remove the corresponding HAVE_ARC4RANDOM conditions.
* - Improve interface list handling. The rtadvd(8) now supports dynamically-hrs2011-07-171-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added/removed interfaces in a more consistent manner and reloading the configuration file. - Implement burst unsolicited RA sending into the internal RA timer framework when AdvSendAdvertisements and/or configuration entries are changed as described in RFC 4861 6.2.4. This fixes issues that make termination of the rtadvd(8) daemon take very long time. An interface now has three internal states, UNCONFIGURED, TRANSITIVE, or CONFIGURED, and the burst unsolicited sending happens in TRANSITIVE. See rtadvd.h for the details. - rtadvd(8) now accepts non-existent interfaces as well in the command line. - Add control socket support and rtadvctl(8) utility to show the RA information in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it.
| * - Refactoring the interface list. It now supports dynamicallyhrs2011-07-141-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added/removed interfaces in a more consistent manner and reloading the configuration file. - Add initial support for control socket. RA information in the daemon can be obtained by rtadvctl(8) instead of SIGUSR1 in a similar manner to ifconfig(8). The information dump has been removed in favor of it. (reload the configuration file) # rtadvctl reload (show RA messages being sent on each interfaces) # rtadvctl show em0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1280 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/3m20s AdvLinkMTU: <none>, Flags: O, Preference: medium ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64 AdvIfPrefixes: yes (show RA messages being sent only on em0) # rtadvctl show em0 (rtadvctl -v show provides additional information) # rtadvctl -v show em0 em0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1280 DefaultLifetime: 30m MinAdvInterval/MaxAdvInterval: 3m20s/3m20s AdvLinkMTU: <none>, Flags: O, Preference: medium ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64 AdvIfPrefixes: yes Prefixes (1): 2001:db8:1::/64 (CONFIG, vltime=30d, pltime=7d, flags=LA) RDNSS entries: 2001:db8:1::128 (ltime=2m40s) (stop rtadvd) # rtadvctl shutdown A remaining issue when reloading the configuration file is that during that period rtadvd cannot communicate with rtadvctl due to some additional RA sending for graceful shutdown. This will be fixed later.
| * - Check RTM_VERSION.hrs2011-06-161-1/+1
| | | | | | | | - Fix WARNS.
| * - Fixes for WARNS=6.hrs2011-06-041-1/+1
| | | | | | | | - Use IFNAMSIZ for an interface name.
| * - Remove #ifdef RDNSS.hrs2011-05-311-1/+1
| | | | | | | | | | - Style(9). - Define sin6_{linklocal,sitelocal}_all{nodes,routers} vars consistently.
| * Implemnt RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisementhrs2011-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. Lifetime handling is not supported at this moment. Note: when receiving a link-local scope address rtsold(8) adds a scope id into addresses in the script arguments based on the received interface in a representation defined in RFC 4007 (e.g. fe80::1%bge0). However, there are some shell scripts using printf(1) (including resolvconf(8)) cannot process it properly because printf(1) can recognize the character % as special. Based on work by: J.R. Oldroyd PR: kern/156259
* | Set WARNS=1 temporarily to unbreak universe.hrs2011-06-061-1/+1
| |
* | - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisementhrs2011-06-061-1/+1
|/ | | | | | | | | | | | | | | | | | | | | Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. This is based on work by J.R. Oldroyd (kern/156259) but revised extensively[1]. - rtadvd(8) now supports "noifprefix" to disable gathering on-link prefixes from interfaces when no "addr" is specified[2]. An entry in rtadvd.conf with "noifprefix" + no "addr" generates an RA message with no prefix information option. - rtadvd(8) now supports RTM_IFANNOUNCE message to fix crashes when an interface is added or removed. - Correct bogus ND_OPT_ROUTE_INFO value to one in RFC 4191. Reviewed by: bz[1] PR: kern/156259 [1] PR: bin/152458 [2]
* style.Makefile says tab between var= and value.delphij2010-12-231-2/+2
|
* Allow overriding pidfile and dumpfile.delphij2010-12-221-0/+3
| | | | | | PR: bin/153362 Submitted by: Joe Holden <joe rewt org uk> MFC after: 1 month
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* libcompat doesn't seem to be necessary any more.phk2004-06-211-3/+0
|
* - supported a string notation for xxflags.ume2003-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | - deprecate routes#N, as it is hard to keep consistency with rtprefixN. accept any number of "rtprefix", "rtrefix0", ..., "rtprefix99". - deprecate "addrs#N", as it is difficult for users to keep consistency with "addrN". accept 100 prefix info in maximum - like "addr", "addr0" ... "addr99". WARNS=2 clean on netbsd. old configuration file should work just fine. behavior change: previously, we rejected "addrN" if there's "addr", and we rejected "addr" if there is "addrN". now we accept both without problem. - when an advertised prefix configured from the kernel has been added or invalidated, notice the change in a short delay. - when invalidating a prefix, do not bark even if there is inconsistency about prefix lifetimes. - wrap more specific route info code into ROUTEINFO. Obtained from: KAME MFC after: 1 week
* use arc4random.ume2003-08-151-1/+1
| | | | | Obtained from: KAME MFC after: 1 week
* support poll(2).ume2003-08-141-1/+1
| | | | | Obtained from: KAME MFC after: 1 week
* style.Makefile(5)obrien2003-04-041-1/+1
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-4/+5
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-2/+1
| | | | - MAN[1-9] -> MAN.
* Sync with latest KAMEkris2000-07-051-4/+4
| | | | Obtained from: KAME
* libipsec and IPsec related apps. (and some KAME related man pages)shin2000-01-061-0/+26
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud