From owner-freebsd-bugs Fri Jun 16 07:50:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA18634 for bugs-outgoing; Fri, 16 Jun 1995 07:50:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id HAA18627 ; Fri, 16 Jun 1995 07:50:01 -0700 Date: Fri, 16 Jun 1995 07:50:01 -0700 Message-Id: <199506161450.HAA18627@freefall.cdrom.com> From: slr@mitre.org Reply-To: slr@mitre.org To: freebsd-bugs Subject: bin/524: a fix for mrouted In-Reply-To: Your message of Fri, 16 Jun 1995 10:49:40 -0400 <199506161449.KAA14783@lusty.acet.org> Sender: bugs-owner@FreeBSD.org Precedence: bulk >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: