Home | History | Annotate | Download | only in mrouted
History log of /src/usr.sbin/mrouted/vif.c
RevisionDateAuthorComments
 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

RSS XML Feed