⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rsvpd.8

📁 radius协议源码÷The Radius Stack will connect to a Radius Server. This stack implementation is built upo
💻 8
字号:
.TH RSVPD 8  "28 May 96".SH NAMErsvpd \- Resource ReSerVations Protocol daemon.SH SYNOPSIS.na.B rsvpd [.B \-D] [.B \-d.I debug_bits] [.B \-l.I logging_level] [.B \-R.I router_addr] [.B \-t.I mstat_TTL].br.ad.SH DESCRIPTION.LP\fIRsvpd\fP is a daemon program that uses the RSVP resource reservationprotocol to set up reservation state in hosts and routers.  It supportsan API that allows applications to make reservation requests.  It includesan adaptation module to the admission control and traffic controlmechanisms provided by the output device drivers in the kernel..SH OPTIONS.TP.B \-DExecute rsvpd in debugging mode, i.e., do not detatch the process,and print debugging information to stderr..TP.B \-dSet the debugging mask to the integer \fIdebug_bits\fP.  This maskselects which additional information, if any, will be logged when thelogging level (see below) is at least LOG_DEBUG.  See the sectionbelow on LOGGING CONTROLS..TP.B \-lSet the logging level, which controls logging of data for debugging anddiagnosis, to the integer \fIlogging_level\fP.  See the section belowon LOGGING CONTROLS..TP.B \-RSpecify \fIrsvp_router\fP as the name or dotted-decimal number of afirst-hop router to be used by \fIrsvpd\fP running on a host.  Withthis parameter, \fIrsvpd\fP will send a unicast copy of anyUDP-encapsulated RSVP message directly to \fIrsvp_router\fP, inaddition to copies it normally sends.  The \fB\-R\fP parameters isrequired only when the multicast TTL threshold of a tunnel or firewallwould otherwise make the first-hop router inaccessible from the host..TP.B \-tSet the IP TTL value for multicasting diagnostic information (summaryof the state) to \fImcast_TTL\fP.  This information is multicast whenthe DEBUG_MCAST_STATE bit (see LOGGING CONTROLS) is set in thedebugging bit mask.  The default is TTL = 1, i.e., one hop..ne 3.SH CONFIGURATION FILE.LPThe RSVP daemon looks for a configuration file named \fIrsvpd.conf\fPin the current directory.  This file may contain configurationcommands, one command per line.  Each command consists of a series ofkeywords separated by blanks or tabs; some keywords are followed by oneor two parameters.  The first keyword in the line is the name of thecommand; other keywords may come in any order.  A blank line or acomment line beginning with '#' will be ignored.There are currently two commands defined:    \fBinterface\fP \fIiface_name\fP [police] [udpencap] [udpttl \fInn\fP]                 [refresh \fIrr\fP] [disable]                [integrity] [sendkey \fIid\fP \fIkey\fP]    \fBrecvkey\fP \fIid\fP \fIkey\fPHere \fIiface_name\fP is the name of a physical interface (e.g.,`le0'), to which the following keywords apply.  More than one command line may be given for the same interface, and corresponding lines have a cumulative effect.The following keywords are defined for the \fBinterface\fP command:.TP.B policeTraffic control policing is to be applied to the specified interface..TP.B udpencapForce \fIrsvpd\fP to use UDP encapsulation of RSVP messages on thespecified interface.  In most cases \fIrsvpd\fP will automaticallyconfigure itself to do UDP encapsulation on any interfaces on which itis required.  The \fBudp\fP keyword should be required only by a routerconnected to a LAN which has no hosts that act as RSVP senders..TP.B udpttl \fPttl\fIUDP encapsulation using the specified TTL is to be performed on RSVPmessages sent out the specified interface.  This keyword implies the\fBudp\fP keyword.  The default TTL for encapsulation is 1.The \fBudpttl\fP keyword is required only when the local environmentincludes RSVP-capable hosts separated by non-RSVP-capable routers, orto satisfy TTL threshold requirements.  The TTL value must not exceedthe hop distance to the first-hop router; violation of this restrictionwill cause gratuitous UDP encapsulation between routers..TP.B disableDisable RSVP on the specified interface. [Not supported yet]..TP.B refresh \fItime\fPOverride the default refresh period for the specified interface.Here \fItime\fP is a new refresh period in seconds. [Not supported yet]..TP.B integrityIntegrity checking is required on messages received on the specifiedinterface..TP.B sendkey \fIid\fP \fIkey\fPHere \fIid\fP is a key id and \fIkey\fP is a corresponding key for sending messages to the specified interface.  \fIId\fP and\fIkey\fP must be 8 and 16 bytes respectively, written in hexadecimal notation, with no spaces..TP.B recvkey \fIid\fP \fIkey\fPHere \fIid\fP is a key id and \fIkey\fP is a corresponding keyfor receiving messages. \fIId\fP and \fIKey\fP must be 8 and 16 bytes respectively, written in hexadecimal notation, with no spaces..TPHere is an example configuration file	# rsvpd configuration.br	interface le0   udpttl 3   integrity refresh 60.br	interface le0  sendkey 24d12409e9a03a00  c0640a4abda195de6062afe2de5a7e47.br	interface le0  sendkey 24d12409e9a03a01  7fa12385f3ac29b333715ff314d56fc9.br	recvkey 14a2b34ec2b23377  32fc719d796f2ad764f36cf072dfc5d4.br	recvkey 14a2b34ec2b23378  68fa01780355d7772997e5bf92927985.ne.SH LOGGING CONTROLS.LPThe RSVP daemon logs state and event information for management,diagnosis, and debugging.  The logged data is written into an rsvpd logfile (e.g., \fI/var/tmp/rsvpd.log\fP).  It also appears on the console(stderr) if \fIrsvpd\fP is executed in non-daemon mode (i.e., with the\fB\-D\fP flag).  The rsvpd log file can grow to a maximum size ofapproximately 400KB; it will then be closed and renamed to\fIrsvpd.log.prev\fP, and a new log file will be started.Logging is controlled by two integer parameters, the `debugging mask'and the `logging level'.  These parameters may be set on the\fBrsvpd\fP command line or dynamically using the \fBrtap\fP consoleinterface (see rtap(8)).Each log message has a priority, and it will appear in the log if itspriority is at least equal to the logging level.  The priorities(defined in \fI<sys/syslog.h>\fP) used by \fIrsvpd\fP are as follows:.TP 0.5i3	LOG_ERR.RSThese messages indicate system errors, configuration errors, internallogical errors within rsvpd, or logical errors in the client end of anAPI socket.  They should never occur in normal operation..RE4	LOG_WARNING.RSThese messages indicate temporary resource shortage or protocol errors inRSVP messages received from remote hosts..RE6	LOG_INFO.RSThese message log changes of management parameters..RE7	LOG_DEBUG.RSThese message contain debugging information.  This will generallyconsist of a one-line summary of the event.  Then additionalinformation may follow, depending upon the setting of the debuggingmask bits DEBUG_IO and DEBUG_EVENTS..RE8	LOG_HEXD.RSDump all RSVP messages sent and received in hex..RE For example, a logging_level of LOG_DEBUG will cause allevents that occur to be logged, while a logging_levelof LOG_INFO will log everything but debug messages.The debugging mask is considered to be a set of bits; the bits and theirsymbolic designations in the code are as follows:.TP 0.5i1	DEBUG_IO.RSIf this bit is included, the contents of the each RSVP message will beformatted to the log following its transmission or receipt..RE2	DEBUG_DS_DUMP.RSIf this bit is included, the complete path and reservation state willbe written into the log, periodically and when the state changes..RE4	DEBUG_EVENTS.RSIf this bit is included, additional details on API and kernelscheduling events will be logged following the corresponding event lines..RE8	DEBUG_ROUTE.RSIf this bit is included, a great deal of information concerning routelookups will be logged..RE16	DEBUG_MCAST_STATE.RSThis bit does not control logging.  If it is on, \fIrsvpd\fP will multicastits internal state periodically.  The RSVP tool \fIrsvpeep\fP will receive andformat this information.  The multicast TTL may beset using the \fB\-t\fP parameter (see above)..RE32	DEBUG_TIMERS.RSIf this bit is included, a great deal of information concerning thetimer queue will be logged..RE.SH SEE ALSO.LPrtap(8), rstat(8), rsvpeep(8).SH BUGS.LP

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -