diff options
author | hrs <hrs@FreeBSD.org> | 2014-10-09 23:49:36 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-10-09 23:49:36 +0000 |
commit | 33c910e72dc927eebc9a7c0b595cc31d760a5eb0 (patch) | |
tree | 44db05e339de9639304fb44a8b52aa71e34698f9 /sbin/routed/routed.8 | |
parent | c1d2c479c7805e938cfe55e0f60b72e02c14c4d8 (diff) | |
download | FreeBSD-src-33c910e72dc927eebc9a7c0b595cc31d760a5eb0.zip FreeBSD-src-33c910e72dc927eebc9a7c0b595cc31d760a5eb0.tar.gz |
MFC r271919:
Fix a bug which could make routed(8) daemon exit by sending a special RIP
query from a remote machine, and disable accepting it by default. This
requests a routed(8) daemon to dump routing information base for debugging
purpose. An -i flag to enable it has been added.
Diffstat (limited to 'sbin/routed/routed.8')
-rw-r--r-- | sbin/routed/routed.8 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/sbin/routed/routed.8 b/sbin/routed/routed.8 index 2f8a021..dfe39d0 100644 --- a/sbin/routed/routed.8 +++ b/sbin/routed/routed.8 @@ -30,7 +30,7 @@ .\" @(#)routed.8 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd June 1, 1996 +.Dd August 26, 2014 .Dt ROUTED 8 .Os .Sh NAME @@ -39,7 +39,7 @@ .Nd network RIP and router discovery routing daemon .Sh SYNOPSIS .Nm -.Op Fl sqdghmpAtv +.Op Fl isqdghmpAtv .Op Fl T Ar tracefile .Oo .Fl F @@ -250,6 +250,20 @@ to infer the netmask used by the remote system when RIPv1 is used. .Pp The following options are available: .Bl -tag -width indent +.It Fl i +allow +.Nm +to accept a RIP request from non-router node. +When specified once, +.Nm +replies to a route information query from neighbor nodes. +When specified twice, +it replies to a query from remote nodes in addition. +.Xr rtquery 8 +utility can be used to send a request. +.Pp +This feature is disabled by default because of a risk of reflection attack +though it useful for debugging purpose, .It Fl s force .Nm |