Home | History | Annotate | only in /src/usr.sbin/mrouted
History log of /src/usr.sbin/mrouted
RevisionDateAuthorComments
 1.4 05-Mar-2003  wiz License update from Stanford, via OpenBSD.
 1.3 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.2 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.1 11-Jan-1994  brezak branches: 1.1.18; 1.1.20;
Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.1.20.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.1.18.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.20 08-Aug-2023  mrg introduce new GCC 12 warning disables and use them in a few places

this introduces 4 new warning disable flags:

CC_WNO_MISSING_TEMPLATE_KEYWORD
CC_WNO_REGISTER
CC_WNO_STRINGOP_OVERREAD
CC_WNO_ARRAY_BOUNDS

and documents them in README.warnings. of these, the string op
and array bounds are both problematic (real bugs) and also spurious
(not real bugs), and the other 2 are mostly temporary for older
3rd party code.

add some new uses of CC_WNO_STRINGOP_OVERFLOW.

fix m68k build for gallium and GCC 12.
 1.19 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.18 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.17 06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.16 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.15 26-May-2011  joerg branches: 1.15.44;
Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
 1.14 28-May-2007  tls Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.13 07-Mar-2003  fvdl This seems to need a -I${.CURDIR} these days.
 1.12 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.11 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.10 04-Jul-2000  matt branches: 1.10.2;
More #include <stdlib.h> string, etc. cleanup
 1.9 06-Jun-1999  thorpej branches: 1.9.8;
Use daemon(3) and pidfile(3).
 1.8 09-Apr-1998  tv .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
 1.7 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.6 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 10-Jul-1995  cgd cfparse.c and y.tab.h should be in CLEANFILES
 1.3 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2 22-Dec-1994  cgd specify man pages the new way.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.9.8.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.10.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.15.44.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.7 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.6 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.5 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.4 17-Oct-1997  lukem branches: 1.4.12; 1.4.14;
WARNSify
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.14.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.12.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.16 17-Apr-2009  lukem Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual)
 1.15 18-Aug-2003  itojun branches: 1.15.40;
SIOCGIFCONF -> getifaddrs conversion
 1.14 13-Jul-2003  itojun strdup is simpler
 1.13 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.12 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.11 05-Mar-2003  wiz Use vsnprintf instead of vsprintf. From OpenBSD.
 1.10 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.9 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.8 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.7 02-Aug-2001  itojun branches: 1.7.2;
copyright clarification. via openbsd
 1.6 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.5 30-Mar-1998  mrg branches: 1.5.2; 1.5.10;
work around gcc warning.
 1.4 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 07-Jun-1995  cgd needs string.h
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.5.10.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.5.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.5.2.1 19-Oct-2000  he Pull up revision 1.6 (requested by he):
Format string cleanup.
 1.7.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.15.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.12 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.11 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.10 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.9 01-Aug-2002  itojun ifa->ifa_addr is already pointer, no need for "&". from love
 1.8 01-Aug-2002  itojun use getifaddrs, not SIOCGIFCONF. should fix PR12578
 1.7 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.6 10-Dec-1995  mycroft branches: 1.6.14; 1.6.16;
Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 09-Jun-1994  brezak Bring back original version from pre-4.4lite NetBSD
 1.2 16-May-1994  brezak Get rid of source route for mrouting. This is no loger used in the MBONE and the 4.4-lite n/w code doesn't do it anyway.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.6.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.6.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.16 07-Sep-2020  christos change cksum prototype to const void *, and check alignment via assertion.
 1.15 23-Feb-2011  dyoung Don't use bool as a variable name.

Remove a bunch of parameter names form function prototypes.
 1.14 21-Feb-2007  hubertf branches: 1.14.30;
Move ctype.h header from defs.h to main.c where it's really used
From: Slava Semushin <slava.semushin@gmail.com>
 1.13 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.12 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.11 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.10 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.9 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.8 11-Oct-2000  is branches: 1.8.2;
More format string cleanups by sommerfeld.
 1.7 17-Oct-1997  lukem branches: 1.7.4; 1.7.12;
WARNSify
 1.6 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 23-Dec-1994  cgd header, for protos
 1.2 08-May-1994  brezak Van's 2.2 mrouted changes
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.7.12.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.7.12.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.7.4.1 19-Oct-2000  he Pull up revision 1.8 (requested by he):
Format string cleanup.
 1.8.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.14.30.1 05-Mar-2011  bouyer Sync with HEAD
 1.7 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.6 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.5 10-Dec-1995  mycroft branches: 1.5.14; 1.5.16;
Update to mrouted 3.8.
 1.4 09-Oct-1995  thorpej New-style RCS ids.
 1.3 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2 08-May-1994  brezak Van's 2.2 mrouted changes
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.5.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.5.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.14 17-Apr-2009  lukem Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual)
 1.13 11-May-2006  mrg branches: 1.13.28;
if we are going to cast the 3rd argument to accept_info_request(),
use the right type.
 1.12 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.11 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.10 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.9 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.8 01-Aug-2002  itojun u_short cleansing (should be u_int16_t)
 1.7 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.6 17-Oct-1997  lukem branches: 1.6.12; 1.6.14;
WARNSify
 1.5 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.4 09-Oct-1995  thorpej New-style RCS ids.
 1.3 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2 09-Jun-1994  brezak Fill in ip_v and ip_hl since 4.4 rip_output won't
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.6.14.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.6.12.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.13.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.13 07-Sep-2020  christos change cksum prototype to const void *, and check alignment via assertion.
 1.12 17-May-2003  dsl A slightly better inet_parse(), tested in isolation.
 1.11 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.10 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.9 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.8 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.7 01-Aug-2002  itojun avoid issues with typecast optimization (taking advantage of pointer aliasing),
which results in incorrect igmp checksum.
confirmed by taca@netbsd
 1.6 01-Aug-2002  itojun u_short cleansing (should be u_int16_t)
 1.5 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.4 10-Dec-1995  mycroft branches: 1.4.14; 1.4.16;
Update to mrouted 3.8.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 01-Jun-1995  mycroft Update to multicast 3.5.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.4.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.12 31-Aug-2011  plunky NULL does not need a cast
 1.11 23-Feb-2011  dyoung Don't use bool as a variable name.

Remove a bunch of parameter names form function prototypes.
 1.10 09-May-2006  mrg branches: 1.10.38;
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.9 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.8 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.7 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.6 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.5 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.4 10-Dec-1995  mycroft branches: 1.4.14; 1.4.16;
Update to mrouted 3.8.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 01-Jun-1995  mycroft Update to multicast 3.5.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.4.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.10.38.1 05-Mar-2011  bouyer Sync with HEAD
 1.26 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.25 31-Aug-2011  plunky branches: 1.25.42;
NULL does not need a cast
 1.24 31-Aug-2011  joerg Use __dead
 1.23 21-Feb-2007  hubertf Move ctype.h header from defs.h to main.c where it's really used
From: Slava Semushin <slava.semushin@gmail.com>
 1.22 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.21 30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.20 06-Sep-2003  itojun use arc4random
 1.19 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.18 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.17 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.16 09-Aug-2002  itojun die if fd_set overrun. (they're not setuid binary so it is not that critical)
 1.15 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.14 06-Apr-2001  wiz branches: 1.14.2;
Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
 1.13 11-Oct-2000  is More format string cleanups by sommerfeld.
 1.12 06-Jun-1999  thorpej branches: 1.12.8;
Use daemon(3) and pidfile(3).
 1.11 09-May-1998  kleink branches: 1.11.2;
Use strerror(3) instead of sys_errlist and sys_nerr.
 1.10 30-Mar-1998  mrg use static int instead of static
 1.9 17-Oct-1997  lukem WARNSify
 1.8 19-Dec-1995  cgd fix a call to localtime() so that it works if time_t != long.
(Whoever decided that one should repeate all of the locals 2x to
save one more #ifdef in log() should be shot...)
 1.7 16-Dec-1995  thorpej Change a rogue RCS id to new-style.
 1.6 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 20-May-1995  mycroft Use strerror(), not sys_errlist[].
 1.2 08-May-1994  brezak Van's 2.2 mrouted changes
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.11.2.1 19-Oct-2000  he Pull up revision 1.13 (requested by he):
Format string cleanup.
 1.12.8.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.12.8.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.14.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.25.42.1 10-Jun-2019  christos Sync with HEAD
 1.18 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.17 15-Mar-2009  joerg Fix markup.
 1.16 07-Sep-2003  wiz branches: 1.16.40;
Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
 1.15 05-Mar-2003  wiz Add RCS Id; new sentence, new line; at least one mdoc fix; sort sections.
 1.14 05-Mar-2003  wiz mdocified man page from mpech@openbsd.org
 1.13 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.12 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.11 08-Feb-2002  ross branches: 1.11.2;
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.10 19-Jan-2002  wiz Whitespace nits.
 1.9 17-Oct-1997  lukem branches: 1.9.12;
WARNSify
 1.8 25-Sep-1997  fair correct man page pathnames to reflect reality, per PR#4148
 1.7 25-Mar-1997  is Mention correct PID file location.
 1.6 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 09-Jun-1994  brezak Bring back original version from pre-4.4lite NetBSD
 1.2 16-May-1994  brezak Get rid of source route for mrouting. This is no loger used in the MBONE and the 4.4-lite n/w code doesn't do it anyway.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.9.12.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.11.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.16.40.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.7 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.6 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.5 06-Jun-1999  thorpej branches: 1.5.8; 1.5.10;
Use pidfile(3).
 1.4 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 01-Jun-1995  mycroft Update to multicast 3.5.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.5.10.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.5.8.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.18 17-Apr-2009  lukem Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual)
 1.17 25-May-2006  christos branches: 1.17.28;
Coverity CID 1191, 1192: Don't check for NULL allocation, just to log it
and then die dereferencing. Return instead.
 1.16 12-May-2006  mrg can't fit "256" in an 8bit value, don't have a switch case for it.
 1.15 06-Sep-2003  itojun use arc4random
 1.14 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.13 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.12 05-Mar-2003  wiz ANSIfy one more.
 1.11 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.10 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.9 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.8 12-Jun-2001  wiz branches: 1.8.2;
receive, not recieve
 1.7 12-Oct-2000  augustss Make it compile again after format string changes (this change was obviously
never tested).
 1.6 23-Jan-1999  hwr branches: 1.6.2; 1.6.10;
The ioctls have been issued on the wrong socket, so they failed with a
EINVAL. This has been confirmed by Bill Fenner. The wrong socket led to
masses of syslog entries on hosts connected to the mbone and cache entries
deleted to early.

XXX As the socket need to be the one that is ip_mrouter in netinet/ip_mroute.c,
XXX the kernel could be modified to always return the data for ip_mrouter.

XXX Bill Fenner suggests to upgrade to 3.9.beta-3 with -DIOCTL_OK_ON_RAW_SOCKET
 1.5 27-Aug-1998  ross Add {} pairs to shut up egcs.
 1.4 17-Oct-1997  lukem WARNSify
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.6.10.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.6.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.6.2.1 19-Oct-2000  he Pull up revision 1.7 (requested by he):
Fix format / arg mismatch.
 1.8.2.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.17.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.5 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.4 14-Jan-1999  he branches: 1.4.10; 1.4.12;
Apply patches for mtrace in bin/5598 by yours truly.
This adds decoding of more error and result codes when tracing through
cisco routers running PIM and/or MBGP.
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.12.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.10.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.13 17-Apr-2009  lukem Fix WARNS=4 (-Wshadow -Wsign-compare -Wcast-qual)
 1.12 25-May-2006  christos branches: 1.12.28;
Coverity CID 1188: Don't check for NULL just to log and then die
de-referencing; return instead.
 1.11 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.10 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.9 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.8 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.7 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.6 13-Mar-2000  soren branches: 1.6.4; 1.6.6;
Fix doubled 'the's.
 1.5 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.4 09-Oct-1995  thorpej New-style RCS ids.
 1.3 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2 08-May-1994  brezak Van's 2.2 mrouted changes
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.6.6.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.6.4.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.12.28.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.6 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.5 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.4 10-Dec-1995  mycroft branches: 1.4.14; 1.4.16;
Update to mrouted 3.8.
 1.3 09-Oct-1995  thorpej New-style RCS ids.
 1.2 01-Jun-1995  mycroft Update to multicast 3.5.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.4.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.10 26-Aug-2008  seanb - Clean up warnings / errors.
 1.9 16-May-2003  dsl branches: 1.9.32;
Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.8 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.7 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.6 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.5 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.4 18-Jul-1998  lukem branches: 1.4.10; 1.4.12;
use AF_LOCAL instead of AF_UNIX
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.12.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.10.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.9.32.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.4 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.3 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.2 09-Oct-1995  thorpej branches: 1.2.16; 1.2.18;
New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.2.18.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.2.16.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.3 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.2 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.1 10-Dec-1995  mycroft branches: 1.1.14; 1.1.16;
Update to mrouted 3.8.
 1.1.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.1.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.11 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.10 05-Mar-2003  wiz Add license (from Xerox), from OpenBSD.
 1.9 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.8 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.7 01-Aug-2002  itojun u_short cleansing (should be u_int16_t)
 1.6 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.5 02-Jun-2002  itojun missing memset() for sockaddr. from deraadt
 1.4 23-Jan-1999  hwr branches: 1.4.10; 1.4.12;
The ioctls have been issued on the wrong socket, so they failed with a
EINVAL. This has been confirmed by Bill Fenner. The wrong socket led to
masses of syslog entries on hosts connected to the mbone and cache entries
deleted to early.

XXX As the socket need to be the one that is ip_mrouter in netinet/ip_mroute.c,
XXX the kernel could be modified to always return the data for ip_mrouter.

XXX Bill Fenner suggests to upgrade to 3.9.beta-3 with -DIOCTL_OK_ON_RAW_SOCKET
 1.3 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.4.12.2 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.4.12.1 04-Jun-2002  lukem Pull up revision 1.5 (requested by itojun in ticket #140):
missing memset() for sockaddr. from deraadt
 1.4.10.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.7 05-Mar-2003  wiz Add license (from Xerox), from OpenBSD.
 1.6 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.5 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.4 01-Aug-2002  itojun u_short cleansing (should be u_int16_t)
 1.3 10-Dec-1995  mycroft branches: 1.3.14; 1.3.16;
Update to mrouted 3.8.
 1.2 09-Oct-1995  thorpej New-style RCS ids.
 1.1 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.3.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.19 05-Feb-2015  gdt Fix bug in mrouted about aging neighbors.

mrouted will periodically age its neighbors and will remove a neighbor
if it hasn't heard from it for NEIGHBOR_EXPIRE_TIME. Unfortunately, the
neighbor pointers 'a' and 'prev_a' were never advanced when timer was
not expired. Therefore it would get stuck in a tight loop, advancing
'al_timer' until it would be greater than NEIGHBOR_EXPIRE_TIME. This
caused the neighbor to allways get timed out and dropped. Furthermore,
there was a second bug in this loop when deleting an item that was not
at the head of the list (i.e., prev_a should stay the same instead of
advancing).

This bug fix is the work of Konrad Lorincz. Bug found and fix made on
netbsd-6.

This material is based upon work supported by the Defense Advanced
Research Projects Agency and Space and Naval Warfare Systems Center,
Pacific, under Contract No. N66001-09-C-2073. Any opinions, findings
and conclusions or recommendations expressed in this material are
those of the author(s) and do not necessarily reflect the views of the
Defense Advanced Research Project Agency and Space and Naval Warfare
Systems Center, Pacific.
Approved for Public Release, Distribution Unlimited
 1.18 25-May-2006  christos Coverity CID 1189, 1190: Don't check for NULL just to log and then die
de-referencing; return instead.
 1.17 25-May-2006  christos Coverity CID 2718: Avoid using free'd memory.
 1.16 09-May-2006  mrg change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
 1.15 17-May-2003  itojun remove obsolete comment
 1.14 16-May-2003  dsl Revert previous change. Remove s parameter from teh function and rotate
the result through a fixed set of strings instead.
There never was a possibility of a buffer overrun in inet_fmt{s}().
Fix an actual buffer overrun in a scanf() call.
 1.13 16-May-2003  itojun avoid possible buffer overruns - strlcpy, snprintf
 1.12 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.11 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.10 14-Jul-2002  wiz Unifdef __STDC__. Remove __P(). Remove register. ANSIfy.
 1.9 02-Jun-2002  itojun missing memset() for sockaddr. from deraadt
 1.8 12-Oct-2000  augustss branches: 1.8.2;
Make it compile again after format string changes (this change was obviously
never tested).
 1.7 23-Jan-1999  hwr branches: 1.7.2; 1.7.10;
The ioctls have been issued on the wrong socket, so they failed with a
EINVAL. This has been confirmed by Bill Fenner. The wrong socket led to
masses of syslog entries on hosts connected to the mbone and cache entries
deleted to early.

XXX As the socket need to be the one that is ip_mrouter in netinet/ip_mroute.c,
XXX the kernel could be modified to always return the data for ip_mrouter.

XXX Bill Fenner suggests to upgrade to 3.9.beta-3 with -DIOCTL_OK_ON_RAW_SOCKET
 1.6 10-Dec-1995  mycroft Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 09-Jun-1994  brezak Bring back original version from pre-4.4lite NetBSD
 1.2 16-May-1994  brezak Get rid of source route for mrouting. This is no loger used in the MBONE and the 4.4-lite n/w code doesn't do it anyway.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.7.10.2 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)
 1.7.10.1 17-Oct-2000  tv Pullup usr.sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.7.2.1 19-Oct-2000  he Pull up revision 1.8 (requested by he):
Fix format / arg mismatch.
 1.8.2.2 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.8.2.1 04-Jun-2002  lukem Pull up revision 1.9 (requested by itojun in ticket #140):
missing memset() for sockaddr. from deraadt
 1.8 05-Mar-2003  wiz Move back from gnu/dist/mrouted, now that it's available under a BSD
license.
 1.7 01-Oct-2002  itojun move mrouted out of basesrc, as it carries non-BSD license.
agreed w/ core.
 1.6 10-Dec-1995  mycroft branches: 1.6.14; 1.6.16;
Update to mrouted 3.8.
 1.5 09-Oct-1995  thorpej New-style RCS ids.
 1.4 01-Jun-1995  mycroft Update to multicast 3.5.
 1.3 09-Jun-1994  brezak Bring back original version from pre-4.4lite NetBSD
 1.2 16-May-1994  brezak Get rid of source route for mrouting. This is no loger used in the MBONE and the 4.4-lite n/w code doesn't do it anyway.
 1.1 11-Jan-1994  brezak Mrouted ported by cmaeda@cs.washington.edu from BSD386 port.
 1.6.16.1 07-Dec-2002  he Pull up file removal (requested by itojun in tickets #886, #887, #888):
Move mrouted out of basesrc, as it carries a non-BSD
license.
[itojun, tickets #886, #887, #888]
 1.6.14.1 01-Oct-2002  itojun Move mrouted out of basesrc, as it carries non-BSD license.
Agreed w/ core. Update license terms for rsrr.*, via openbsd.

(itojun)

RSS XML Feed