History log of /freebsd-11.0-release/usr.sbin/rtadvd/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


299867 15-May-2016 truckman

Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated. Additional NUL padding is not required
for short names.

MFC after: 1 week


299515 12-May-2016 cem

rtadvd(8): Fix use-after-close in cm_handler_client

cm_send() closes 'fd' on error. In that case, bail out early without trying to
recv from or close 'fd' again.

Reported by: Coverity
CID: 1006078
Sponsored by: EMC / Isilon Storage Division


299513 12-May-2016 cem

rtadvd(8): Don't use-after-free

This whole block of code as committed fully formed in r224144. I'm not really
sure what the intent was, but it seems plausible that !persist ifis could need
other member cleanup. Don't free the object until after we've finished
cleaning its members.

Reported by: Coverity
CID: 1006079
Sponsored by: EMC / Isilon Storage Division


299507 12-May-2016 cem

rtadvd(8): Fix a typo in full msg receive logic

Check against the size of the struct, not the pointer. Previously, a message
with a cm_len between 9 and 23 (inclusive) could cause int msglen to underflow
and read(2) to be invoked with msglen size (implicitly cast to signed),
overrunning the caller-provided buffer.

All users of cm_recv() supply a stack buffer.

On the other hand, the rtadvd control socket appears to only be writable by the
owner, who is probably root.

While here, correct some types to be size_t or ssize_t.

Reported by: Coverity
CID: 1008477
Security: unix socket remotes may overflow stack in rtadvd
Sponsored by: EMC / Isilon Storage Division


298886 01-May-2016 pfg

usr.sbin: minor spelling fixes on comments.

No functional change.


298098 16-Apr-2016 gjb

Final pass through bogus svn:mergeinfo removal.

Note, paths part of 'contrib' were left alone for now.

Sponsored by: The FreeBSD Foundation


290494 07-Nov-2015 bapt

Improve collation string and locales support

Merge collation support from Illumos and DragonflyBSD.

Locales are now generated with the new localedef(1) tool from CLDR POSIX files.
The generated files are now identified as "BSD 1.0" format.

The libc now only read "BSD 1.0" locales definitions, all other version will be
set to "C"
The localedef(1) tool has been imported from Illumos and modified to use tree(3)
instead of the CDDL avl(3)
A set of tool created by edwin@ and extended by marino@ for dragonfly has been
added to be able to generate locales and the Makefiles from the vanilla CLDR
unicode databases + a universal UTF-8 charmap (by marino@)
Update the locales to unicode v27
Given our regex(3) does not support multibyte (yet) it has been forced to always
use locale C
Remove now unused colldef(1) and mklocale(1)
Finish implementing the numeric BSD extension for ctypes
The number of supported locales has grown from 175 to 250 locales. Among the new
locales: 6 Arabic locales (AE EG JO MA QA SA), Different variations of spanish
locales.
Added new 3 components locales for mn_Cyrl_MN, sr_Cyrl_RS sr_Latn_RS,
zh_Hans_CN, zh_Hant_HK and zh_Hant_TW. Some aliases has been for 2 components
version when possible.

Thanks: Garrett D'Amore (Illumos) who made sure all his work was done under
BSD license!, Edwin Groothuis (edwin@) for the work he made on tools to be able
to generate locales definition usable in freebsd sources out of vanilla CLDR
definitions, John Marino (DragonflyBSD) who first merge the Illumos work into
Dragonfly and spent hours tracking down bugs.


290173 30-Oct-2015 delphij

Use strlcpy().

MFC after: 2 weeks


290102 28-Oct-2015 bapt

Merge mpsutil(8) branch

mpsutil(8)/mprutil(8) are new utilities for managing LSI Fusion-MPT
2/3 controllers (mps(4) and mpr(4))

For now only informational commands have been implemented.

This utility has been written by scottl@ [1] and polished by myself[2]

Submitted by: scottl
Discussed with: scottl
Relnotes: yes
Sponsored by: Netflix [1]
Sponsored by: Gandi.net [2]


289750 22-Oct-2015 hrs

- Fix a bug which prevented dnssl[0-9] and rdnss[0-9] parameters from
working.

- Fix a pointer calculation for padding when multiple dnssl[0-9]
parameters are specified [*].

Reported by: http://bugs.dragonflybsd.org/issues/2847 [*]


288963 06-Oct-2015 delphij

Now that we own the code, use arc4random(3) unconditionally
and remove the corresponding HAVE_ARC4RANDOM conditions.

MFC after: 2 weeks


288943 06-Oct-2015 dim

Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.7.0
release.

Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11
support to build; see UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.7.0/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html>

Thanks to Ed Maste, Andrew Turner and Antoine Brodin for their help.

Exp-run: antoine
Relnotes: yes


284345 13-Jun-2015 sjg

Add META_MODE support.

Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.

Still need to add real targets under targets/ to build packages.

Differential Revision: D2796
Reviewed by: brooks imp


281143 06-Apr-2015 glebius

Stop including if_var.h from userland.

Sponsored by: Nginx, Inc.


276479 31-Dec-2014 dim

Upgrade our copy of clang, llvm and lldb to 3.5.0 release.

Please note that this version now requires C++11 support to build; see
UPDATING for more information.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>

Thanks to Ed Maste, Roman Divacky, Andrew Turner, Justin Hibbits and
Antoine Brodin for their invaluable help with this import.

Approved by: portmgr (antoine)
MFC after: 1 month


276258 26-Dec-2014 joel

mdoc: sort SEE ALSO.


275054 25-Nov-2014 bapt

Convert usr.sbin to LIBADD
Reduce overlinking


274898 22-Nov-2014 dim

Fix the following -Werror warnings from clang 3.5.0, while building
usr.sbin/rtadvd:

usr.sbin/rtadvd/rtadvd.c:1291:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) {
^
usr.sbin/rtadvd/rtadvd.c:1291:7: note: remove the call to 'abs' since unsigned values cannot be negative
abs(preferred_time - pfx->pfx_pltimeexpire) > rai->rai_clockskew) {
^~~
usr.sbin/rtadvd/rtadvd.c:1324:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) {
^
usr.sbin/rtadvd/rtadvd.c:1324:7: note: remove the call to 'abs' since unsigned values cannot be negative
abs(valid_time - pfx->pfx_vltimeexpire) > rai->rai_clockskew) {
^~~
2 errors generated.

These warnings occur because both preferred_time and pfx_pltimeexpire
are uint32_t's, so the subtraction expression is also unsigned, and
calling abs() is a no-op.

However, the intention was to look at the absolute difference between
the two unsigned quantities. Introduce a small static function to
clarify what we're doing, and call that instead.

Reviewed by: hrs
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D1197


272972 11-Oct-2014 hrs

Check buffer length more strictly.

MFC after: 1 day


272971 11-Oct-2014 hrs

Fix off-by-one.

MFC after: 1 day


255156 02-Sep-2013 hrs

Ignore if the interface is not IPv6-capable.

Spotted by: rpaulo


254955 27-Aug-2013 hrs

Fix a crash when reloading the configuration file.

Spotted by: des


254684 23-Aug-2013 des

Set the back pointer from the prefix to the interface before adding
the prefix to the interface's prefix list. This shouldn't make a
difference, since rtadvd(8) is single-threaded, but I've seen it crash
in delete_prefix() with pfx_rainfo == NULL, and this is the only place
where a prefix can be added to the list with a NULL pfx_rainfo.

MFC after: 3 days


253995 06-Aug-2013 hrs

Fix build on arm and mips.


253970 05-Aug-2013 hrs

- Use time_uptime instead of time_second in data structures for
PF_INET6 in kernel. This fixes various malfunction when the wall time
clock is changed. Bump __FreeBSD_version to 1000041.

- Use clock_gettime(CLOCK_MONOTONIC_FAST) in userland utilities.

MFC after: 1 month


253058 09-Jul-2013 hrs

- Add missing "static" keywords.
- Add a check for ifindex to if_indextoifinfo(). It returns NULL when
if_indextoname() fails.

MFC after: 3 days


253057 09-Jul-2013 hrs

Add a missing white space.


250302 06-May-2013 eadler

Fix a typo in an error message.

Obtained From: DragonFlyBSD (commit 66e72101cc32272ae370b895ca3d9e3e99c5c3a8)


247863 06-Mar-2013 hrs

Fix SIGSEGV when set_short_delay() is called when ifi->ifi_ra_timer is NULL.
This can happen in a short period when a prefix is changed by a rtmsg and a
new interface arrives.


247270 25-Feb-2013 des

- Implement and use usage().
- Document the -C option.
- Allow rtadvd to be invoked without any interfaces on the command line,
and document that possibility.

MFC after: 1 week


235873 24-May-2012 wblock

Fixes to man8 groff mandoc style, usage mistakes, or typos.

PR: 168016
Submitted by: Nobuyuki Koganemaru
Approved by: gjb
MFC after: 3 days


233648 29-Mar-2012 eadler

Remove trailing whitespace per mdoc lint warning

Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days


233522 26-Mar-2012 joel

mdoc: correct .Bd/.Bl arguments.

Reviewed by: brueffer


228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


225683 20-Sep-2011 hrs

Remove RA timer on an interface with !IFF_UP actively after starting to send
clean-up RA messages for shutting down. The RA timers could prevent the rtadvd
daemon from shutting down because ra_output() just ignored !IFF_UP interfaces
and TRANSITIVE->UNCONFIGURED state transition never happened due to it.

Spotted by: kib
Approved by: re (bz)


225519 13-Sep-2011 hrs

- Fix a bug that can lead to displaying an incorrect value. (r224210)
- Fix an abnormal termination caused by twice of "rtadvctl disable". (r224303)
- Use poll() to wait for the control message socket instead of a spin loop.
(r224304)
- s/cmsg_/cm_/ to avoid conflict with CMSG_* symbols for struct cmsghdr.
(r224619)
- Ignore an interface that never sent RAs for graceful shut-down. (r224620)
- Refine log messages. (r225148)
- Fix SIGSEGV when receiving RAs that contain RDNSS and/or DNSSL options.
(r225149)

Approved by: re (kib)


224144 17-Jul-2011 hrs

- Improve interface list handling. The rtadvd(8) now supports dynamically-
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.


223752 04-Jul-2011 hrs

Add sanity check for ifm_version in struct if_msghdr.


222972 11-Jun-2011 hrs

Support SIGHUP for reloading /etc/rtadvd.conf.


222824 07-Jun-2011 hrs

Fix a bug that prevents tc=xxx from working.


222820 07-Jun-2011 hrs

- Use ELM_MALLOC() for struct rainfo.

- Fix a missing back pointer assignment in struct prefix to struct rainfo
when addr="" is specified. This caused SIGSEGV.

- Insert a prefix element to a tail queue after setting parameters.


222771 06-Jun-2011 hrs

Set WARNS=1 temporarily to unbreak universe.


222743 06-Jun-2011 hrs

Fix build on 64-bit arch.

Submitted by: dim
Pointy hat to: hrs


222732 06-Jun-2011 hrs

- Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisement
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]


219184 02-Mar-2011 bz

Prevent crashes from a race when (cloned) interfaces go away.

PR: bin/152143
Submitted by: Przemyslaw Frasunek (przemyslaw frasunek.com)
Tested by: Przemyslaw Frasunek (przemyslaw frasunek.com)
MFC after: 1 week


216677 23-Dec-2010 delphij

style.Makefile says tab between var= and value.


216675 23-Dec-2010 delphij

Allow overriding pidfile and dumpfile.

PR: bin/153362
Submitted by: Joe Holden <joe rewt org uk>
MFC after: 1 month


214491 28-Oct-2010 uqs

Fix another "string" typo.

MFC after: 3 days


214447 28-Oct-2010 bz

Correct a typo.

MFC after: 3 days


208028 13-May-2010 uqs

mdoc: move remaining sections into consistent order

This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.

Found by: mdocml lint run
Reviewed by: ru


201390 02-Jan-2010 ed

The last big commit: let usr.sbin/ use WARNS=6 by default.


188820 19-Feb-2009 imp

Properly convert bit value to a bit field. Before we were storing
values like 0x80 or 0x40 into a uint8_t foo:1 bitfield. This would
result in the bit always being 0. One of these caused a warning for
overflow (one that was 0x80), but the other didn't. They were both
wrong.

This is why I hate code that mixes c struct bitfields and #defines.
The rest of the fields accessed by the program should be audited.


186848 07-Jan-2009 danger

- rename the RETURN VALUES section to EXIT STATUS [1]
- convert to .Ex macro
- not bumping a date as this is not a real content change

Approved by: ru [1]
MFC after: 3 days


180823 26-Jul-2008 ache

Change 2 arc4random modulo operations to arc4random_uniform() as
OpenBSD does, since modulo is not power of 2.

Obtained from: OpenBSD


173412 07-Nov-2007 kevlo

Cleanup of userland __P use


166134 20-Jan-2007 maxim

o Remove duplicate includes.

Obtained from: Slava Semushin via NetBSD


160755 27-Jul-2006 yar

These IPv6-only tools have no explicit dependency on the INET6 macro.

Tested with: cmp(1)


157047 23-Mar-2006 suz

avoid heap overrun

Obtained from: KAME
MFC after: 1 day


152538 17-Nov-2005 suz

fixed a typo in comment


151470 19-Oct-2005 suz

changed syslog level to more appropriate ones

Obtained from: KAME
Reviewd by: ume, gnn
MFC after: 2 weeks


151469 19-Oct-2005 suz

source link-layer address option should be marked to be checked later,
because rs_input() need this option.

Obtained from: KAME
Reviewed by: ume, gnn
MFC after: 2 weeks


151468 19-Oct-2005 suz

added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)

Obtained from: KAME
Reviewd by: ume, gnn
MFC after: 2 weeks


148938 10-Aug-2005 ume

fix typo.

Submitted by: suz
Obtained from: KAME


141580 09-Feb-2005 ru

Fixed the misplaced $FreeBSD$.


136764 22-Oct-2004 suz

removed compilation warning

PR: bin/71624


133249 07-Aug-2004 imp

Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software
(with permission of addtional copyright holders where appropriate)


131498 02-Jul-2004 ru

Fixed SEE ALSO references.


130852 21-Jun-2004 phk

libcompat doesn't seem to be necessary any more.


126797 10-Mar-2004 bde

Fixed a misspelling of 0 as NULL.


120280 20-Sep-2003 suz

fixed memory leak.

Obtained From: KAME


120054 14-Sep-2003 ru

Get rid of duplicates.


118968 15-Aug-2003 ume

- supported a string notation for xxflags.
- 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


118962 15-Aug-2003 ume

use arc4random.

Obtained from: KAME
MFC after: 1 week


118961 15-Aug-2003 ume

variable shared with signal handler needs to be "volatile sig_atomic_t".

Obtained from: KAME
MFC after: 1 week


118959 15-Aug-2003 ume

set LOG_PERROR for openlog() when running foreground.

Obtained from: KAME
MFC after: 1 week


118958 15-Aug-2003 ume

dump the content of route information options

Obtained from: KAME
MFC after: 1 week


118957 15-Aug-2003 ume

logged the fact to dump the status.

Obtained from: KAME
MFC after: 1 week


118920 14-Aug-2003 ume

daemon() has to be called prior to file descriptor setups
(otherwise file descriptors could be closed mistakenly)

Obtained from: KAME
MFC after: 1 week


118916 14-Aug-2003 ume

support poll(2).

Obtained from: KAME
MFC after: 1 week


118913 14-Aug-2003 ume

- rename some variables.
- remove unused block.

Obtained from: KAME
MFC after: 1 week


118912 14-Aug-2003 ume

signal handler must take "int" arg.

Obtained from: KAME
MFC after: 1 week


118911 14-Aug-2003 ume

avoid fd_set overrun.

Obtained from: KAME
MFC after: 1 week


118831 12-Aug-2003 ume

malloc() may return NULL.

Obtained from: KAME
MFC after: 1 week


118787 11-Aug-2003 ume

reduce #ifdef.

MFC after: 1 week


118786 11-Aug-2003 ume

use strlcpy() and snprintf().

Obtained from: KAME
MFC after: 1 week


118784 11-Aug-2003 ume

use int64_t instead of long long.

Obtained from: KAME
MFC after: 1 week


118672 08-Aug-2003 ume

Drop MIP6 code. We don't support MIP6 yet.

MFC after: 1 week


118664 08-Aug-2003 ume

KNF, correct typos and cleanup spaces.

Obtained from: KAME
MFC after: 1 week


118662 08-Aug-2003 ume

stop use of register.

Obtained from: KAME
MFC after: 1 week


118660 08-Aug-2003 ume

__FUNCTION__ --> __func__

Obtained from: KAME
MFC after: 1 week


118199 30-Jul-2003 suz

fixed wrong parameter descriptions

Obtained from: KAME
MFC after: 1 day


113325 10-Apr-2003 suz

- fixed byte order of route lifetimes in route info opptions.
- corrected wording in a log message.

Obtained from: KAME
MFC after: 1 week


113137 05-Apr-2003 njl

Use assignment, not equivalence test.

No response from: suz


113091 04-Apr-2003 obrien

style.Makefile(5)


112976 02-Apr-2003 suz

fixed invalid pointer reference

Obtained from: KAME


112676 26-Mar-2003 ume

tightened check for the length of ND options.

Submitted by: jinmei@kame.net (JINMEI Tatuya)
Obtained from: KAME


110668 11-Feb-2003 ache

Use srandomdev() for FreeBSD


108470 30-Dec-2002 schweikh

Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.


108317 27-Dec-2002 schweikh

english(4) police.


99968 14-Jul-2002 charnier

The .Nm utility


98262 15-Jun-2002 ume

Do not issue deprecated ioctl.

Obtained from: KAME
MFC after: 2 weeks


98172 13-Jun-2002 ume

Changed the behavior when an interface-direct prefix being advertised
was removed from the kernel;
Advertise the prefix with zero lifetimes rather than to remove the prefix
from the prefix list to be advertised.
This will help renumber a receiving host by deprecating the address
derived from the old prefix.

Obtained from: KAME
MFC after: 2 weeks


97719 01-Jun-2002 ume

Skip duplicated prefixes in get_prefix().

Obtained from: KAME


97712 01-Jun-2002 ume

KNF

Obtained from: KAME


97709 01-Jun-2002 ume

sprintf -> snprintf

Obtained from: KAME


81687 15-Aug-2001 ru

mdoc(7) police: utilize the new .Ex macro.


81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


80381 26-Jul-2001 sheldonh

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <david@phobia.ms>


80029 20-Jul-2001 obrien

Perform a major cleanup of the usr.sbin Makefiles.
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.


79755 15-Jul-2001 dd

Remove whitespace at EOL.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


78064 11-Jun-2001 ume

Sync with recent KAME.
This work was based on kame-20010528-freebsd43-snap.tgz and some
critical problem after the snap was out were fixed.
There are many many changes since last KAME merge.

TODO:
- The definitions of SADB_* in sys/net/pfkeyv2.h are still different
from RFC2407/IANA assignment because of binary compatibility
issue. It should be fixed under 5-CURRENT.
- ip6po_m member of struct ip6_pktopts is no longer used. But, it
is still there because of binary compatibility issue. It should
be removed under 5-CURRENT.

Reviewed by: itojun
Obtained from: KAME
MFC after: 3 weeks


74816 26-Mar-2001 ru

- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.


71437 23-Jan-2001 ume

zero-cleared allocated prefix information when configured.

Obtained from: KAME


71333 21-Jan-2001 itojun

make it easier to handle $FreeBSD$ tags (amount of diff matters).


71332 21-Jan-2001 itojun

make it clearer that rtadvd.conf is optional (configs are grabbed from kernel).


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68854 17-Nov-2000 ru

mdoc(7) police: use certified section headers wherever possible.


67898 29-Oct-2000 ume

- Sync with latest manpage of rtadvd.
- Ripped MIP6 related description out. MIP6 is not merged, yet.

Obtained from: KAME Project


67801 28-Oct-2000 ume

some clarification on if_getmtu()
- avoid to use freed (by freeifaddrs) data
- 1st try getifaddrs, then try SIOCGIFMTU as the last resort

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Obtained from: KAME Project


62669 06-Jul-2000 kris

Add two files missing from the KAME sync

Submitted by: Eric Sabban <esabban@pacbell.net>


62656 05-Jul-2000 kris

Sync with latest KAME

Obtained from: KAME


57852 09-Mar-2000 shin

Added several socket close() which were mistakenly forgotten.

Reported by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


57673 01-Mar-2000 sheldonh

Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.


57435 24-Feb-2000 shin

Print ifname when sendmsg failed.

Approved by: jkh


57238 15-Feb-2000 shin

-P option was not enabled, so enable it
(The option specify IPsec policy for rtadvd to receive Router Renumbering
messages.)

Approved by: jkh


57237 15-Feb-2000 shin

Correct pathname of rtadvd.conf from /usr/local/v6/etc to /etc.

Approved by: jkh


57120 10-Feb-2000 shin

Forbid include of soem inet6 header files from wrong place

KAME put INET6 related stuff into sys/netinet6 dir, but IPv6
standard API(RFC2553) require following files to be under sys/netinet.
netinet/ip6.h
netinet/icmp6.h
Now those header files just include each following files.
netinet6/ip6.h
netinet6/icmp6.h

Also KAME has netinet6/in6.h for easy INET6 common defs
sharing between different BSDs, but RFC2553 requires only
netinet/in.h should be included from userland.
So netinet/in.h also includes netinet6/in6.h inside.

To keep apps portability, apps should not directly include
above files from netinet6 dir.
Ideally, all contents of,
netinet6/ip6.h
netinet6/icmp6.h
netinet6/in6.h
should be moved into
netinet/ip6.h
netinet/icmp6.h
netinet/in.h
but to avoid big changes in this stage, add some hack, that
-Put some special macro define into those files under neitnet
-Let files under netinet6 cause error if it is included
from some apps, and, if the specifal macro define is not
defined.
(which should have been defined if files under netinet is
included)
-And let them print an error message which tells the
correct name of the include file to be included.

Also fix apps which includes invalid header files.

Approved by: jkh

Obtained from: KAME project


55505 06-Jan-2000 shin

libipsec and IPsec related apps. (and some KAME related man pages)

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project