Home | History | Annotate | Download | only in routed
History log of /src/sbin/routed/main.c
RevisionDateAuthorComments
 1.43  07-Apr-2022  andvar fix various typos in comments.
 1.42  02-Oct-2017  maya unifdef sgi. NFCI
 1.41  26-Oct-2009  christos merge 2.32 which is actually 2.31. Most important change is:
- use multicast over point-to-point (GRE) links as proposed by Dan Lukes.
 1.40  20-Jul-2008  lukem Remove the \n and tabs from the __COPYRIGHT() strings.
(Tweak some to use a consistent format.)
 1.39  06-Jul-2004  wiz branches: 1.39.26; 1.39.30;
usage: -F was missing the /mask part. Based on PR 26063
by Kouichirou Hiratsuka.
 1.38  17-May-2004  wiz Remove unimplemented and undescribed -p option from usage and man page
SYNOPSIS. Noted by Jeff Ito.
 1.37  13-May-2004  wiz Remove option letter from getopt string, since it does not
have a case handler below. From aaron@openbsd.
 1.36  27-Mar-2004  christos From Vernon Schryver:

Wolfgang Solfrank has explained the problem with router discovery
in `routed` in a way I can understand.

Let's assume that the configured preference of the interface is 5.
This gets converted to 0x80000005 through the use of the UNSIGN_PREF
macro. Later on, this value gets put into the PREF macro, which
compares it against the interface metric(s) (let's assume those
values to be 0 for now). Of course the 0x80000005, cast to int,
is much less than 0, so the clamping rule is triggered, which
gives us a value of 1. This is then converted via SIGN_PREF into
0x80000001 and put into the message. Certainly, this isn't what
was intended.
 1.35  14-Nov-2003  enami Initialize an uninitialized variable.
 1.34  06-Sep-2003  itojun use arc4random
 1.33  13-Aug-2003  itojun avoid FD_SET overrun. from openbsd
 1.32  21-Apr-2003  itojun strcpy/sprintf cleanup. from openbsd
 1.31  30-Nov-2002  christos sync with routed 2.27
 1.30  02-Nov-2001  lukem branches: 1.30.2;
fix -Wshadow warnings
 1.29  24-Sep-2001  wiz va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
 1.28  10-Mar-2001  christos sync with version 2.24. Vernon says:
The most significant [fix] involves so called "remote" interfaces
configured in the kludge file to with what appear to be colliding
networks. Edward Mascarenhas <eddiem@vihar.engr.sgi.com> found
the problem and the fix, and I think has tested it in the SGI
network.
 1.27  15-Jan-2001  itojun specify interface by using interface index (set/getsockopt with 0.0.0.0/8).
 1.26  10-Jan-2001  lukem deprecate LOG_ODELAY; it's the default
 1.25  10-Oct-2000  is Format string cleanups by Bill Sommerfeld.
 1.24  02-Mar-2000  christos branches: 1.24.4;
add a usec_fudge to make sure that time increases monotonically.
printf format changes.
 1.23  06-Jun-1999  thorpej Use pidfile(3).
 1.22  25-Feb-1999  ross branches: 1.22.2;
LP64 tweak in printf(3) instance
 1.21  23-Feb-1999  christos Resolve conflicts.
 1.20  25-Oct-1998  christos Update to 980910 from ftp.rhyolite.com
 1.19  06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.18  02-Jun-1998  thorpej Merge the 980602 RIPv2/Router Discovery routed. Fixes floods of host routes
generated when one of the interfaces on the network does not support
broadcast (e.g. HIPPI or ATM).

From Vern Schryver <vjs@rhyolite.com>
 1.17  15-Sep-1997  lukem * cleanup for WARNS=1
* deprecate register
* bcmp, bcopy, bzero, rindex -> memcmp, memmove, memset, strrchr
* correct use of .Nm
 1.16  03-Feb-1997  christos - resolve conflicts.
- remove md5 stuff; it is in libc.
- define MCAST_PPP_BUG, until we fix if_ppp.c
 1.15  24-Sep-1996  christos - resolve conflicts
- try to follow rcsid style more closely
- fix rn_walktree callback routine signatures.
 1.14  10-Aug-1996  thorpej - Finished up merge.

- Add some prototypes and definitions for types as necessary,
wrapped in __NetBSD__ to maintain portability.

- Explicit size types in structures that go out the wire.

- RCS id police.
 1.13  20-Jun-1995  christos - Support rip version 2.
- Add ansi prototypes.
- Be less internet centric.
- Convert queues to use <sys/queue.h> so we don't need -lcompat
 1.12  28-May-1995  jtc <sys/errno.h> -> <errno.h>
<sys/signal.h> -> <signal.h>
<sys/syslog.h> -> <syslog.h>
 1.11  23-Mar-1995  mycroft Fix typo in previous.
 1.10  21-Mar-1995  mycroft Use POSIX signals.
 1.9  21-Mar-1995  mycroft Fix typo.
 1.8  21-Mar-1995  mycroft Update to use timer{add,sub}().
 1.7  18-Mar-1995  cgd convert to new RCS Id conventions; reduce my headache
 1.6  18-Dec-1994  cgd some -Wall changes, from Jim Jegers, improved (in some cases) by me.
still needs a bit of work, but closer.
 1.5  13-May-1994  mycroft Clean up import.
 1.4  01-Aug-1993  mycroft Add RCS identifiers.
 1.3  23-Mar-1993  cgd changed "Id" to "Header" for rcsids
 1.2  22-Mar-1993  cgd added rcs ids to all files
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.7  23-Feb-1999  christos Latest version of routed(8) from Vernon Schryver <vjs@calcite.rhyolite.com>
 1.1.1.6  02-Jun-1998  thorpej Latest RIPv2/Router Discovery routed, from Vern Schryver <vjs@rhyolite.com>
 1.1.1.5  03-Feb-1997  christos New version from ftp.sgi.com:sgi/src/routed.tar.Z
 1.1.1.4  24-Sep-1996  christos Latest version of routed(8) from Vernon Schryver <vjs@sgi.com>
 1.1.1.3  10-Aug-1996  thorpej A leaner, meaner routed(8), implementing RIPv1, RIPv2, and ICMP Router
Discovery, courtesy of Vernon Schryver <vjs@sgi.com>. Thanks!
 1.1.1.2  14-Jun-1994  mycroft Import 4.4-Lite version.
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.22.2.1  10-Oct-2000  he Pull up revision 1.25 (requested by is):
Format string cleanup.
 1.24.4.2  07-Apr-2004  jmc Pullup patch (requested by ws in ticket #131)

Fix invalid cast wrt router discovery.
 1.24.4.1  18-Oct-2000  tv Pullup sbin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.30.2.1  01-Apr-2004  jmc Pullup patch (requested by ws in ticket #1642)

Fix invalid cast wrt router discovery.
 1.39.30.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.39.26.1  28-Sep-2008  mjf Sync with HEAD.

RSS XML Feed