Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 1995 07:50:01 -0700
From:      slr@mitre.org
To:        freebsd-bugs
Subject:   bin/524: a fix for mrouted
Message-ID:  <199506161450.HAA18627@freefall.cdrom.com>
In-Reply-To: Your message of Fri, 16 Jun 1995 10:49:40 -0400 <199506161449.KAA14783@lusty.acet.org>

next in thread | previous in thread | raw e-mail | index | archive | help

>Number:         524
>Category:       bin
>Synopsis:       mrouted won't accept prunes from another fbsd mrouter
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 16 07:50:00 1995
>Originator:     Soochon Radee
>Organization:
MITRE 
>Release:        FreeBSD 2.0-BUILT-19950616
>Environment:

	
Any system with the the recent multicast 3.5 port.

>Description:

	
Mrouted reads the prune timer from prune packets wrongly and will flood the
tunnel or link with multicast packets even after prunes are issued.

>How-To-Repeat:

	
Set up mrouted on any FreeBSD box so that it is upstream of another mrouter that
supports pruning. Fire up mrouted on both.

>Fix:
	
*** usr.sbin/mrouted/prune.c.old	Tue Jun 13 16:52:49 1995
--- usr.sbin/mrouted/prune.c	Fri Jun 16 10:03:12 1995
***************
*** 1212,1217 ****
--- 1212,1218 ----
  	((char *)&prun_grp)[i] = *p++;
      for (i = 0; i< 4; i++)
  	((char *)&prun_tmr)[i] = *p++;
+     prun_tmr = ntohl(prun_tmr);
      
      log(LOG_DEBUG, 0, "%s on vif %d prunes (%s %s)/%d",
  	inet_fmt(src, s1), vifi,

>Audit-Trail:
>Unformatted:





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506161450.HAA18627>