Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 15:44:01 -0700 (PDT)
From:      mab@red-bean.com (Matthew Braithwaite)
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        matt@braithwaite.net
Subject:   bin/29090: add `no_rip_out' option to routed
Message-ID:  <20010719224401.E12975AB3@limekiller.braithwaite.net>

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

>Number:         29090
>Category:       bin
>Synopsis:       add `no_rip_out' option to routed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 15:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Braithwaite
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
Red Bean Software
>Environment:
>Description:

	routed permits you to turn off input (but not output) on an
	interface.  For symmetry, it'd be nice to be able to turn off
	output, but not input.  The attached patch does this.

	Note that interfaces marked `no_rip_out' are not completely
	silent.  They will respond to queries and they will transmit a
	RIP request on startup.  They will not, however, broadcast or
	multicast periodic updates.

>How-To-Repeat:
	
>Fix:

Index: sbin/routed/parms.c
===================================================================
RCS file: /home/mab/cvs/freebsd/sbin/routed/parms.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 parms.c
*** sbin/routed/parms.c	2000/08/30 19:41:29	1.1.1.2
--- sbin/routed/parms.c	2001/07/19 22:38:53
***************
*** 712,717 ****
--- 712,720 ----
  
  		} else if (PARS("no_super_ag")) {
  			parm.parm_int_state |= IS_NO_SUPER_AG;
+ 			
+                 } else if (PARS("no_rip_out")) {
+ 		        parm.parm_int_state |= IS_NO_RIP_OUT;
  
  		} else if (PARS("no_ripv1_in")) {
  			parm.parm_int_state |= IS_NO_RIPV1_IN;
Index: sbin/routed/routed.8
===================================================================
RCS file: /home/mab/cvs/freebsd/sbin/routed/routed.8,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 routed.8
*** sbin/routed/routed.8	2000/08/30 19:41:30	1.1.1.2
--- sbin/routed/routed.8	2001/07/19 22:38:53
***************
*** 593,598 ****
--- 593,600 ----
  to act as a client router discovery daemon, not advertising.
  .It Cm no_rip_mcast
  causes RIPv2 packets to be broadcast instead of multicast.
+ .It Cm no_rip_out
+ causes no RIP updates to be sent.
  .It Cm no_ripv1_in
  causes RIPv1 received responses to be ignored.
  .It Cm no_ripv2_in

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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