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

📄 rfc2138.txt

📁 gnu 的radius服务器很好用的
💻 TXT
📖 第 1 页 / 共 5 页
字号:
   Length      6   Value      The Value field is four octets.       1      Login       2      Framed       3      Callback Login       4      Callback Framed       5      Outbound       6      Administrative       7      NAS Prompt       8      Authenticate Only       9      Callback NAS Prompt      The service types are defined as follows when used in an Access-      Accept.  When used in an Access-Request, they should be considered      to be a hint to the RADIUS server that the NAS has reason to      believe the user would prefer the kind of service indicated, but      the server is not required to honor the hint.      Login               The user should be connected to a host.      Framed              A Framed Protocol should be started for the                          User, such as PPP or SLIP.      Callback Login      The user should be disconnected and called                          back, then connected to a host.      Callback Framed     The user should be disconnected and called                          back, then a Framed Protocol should be started                          for the User, such as PPP or SLIP.      Outbound            The user should be granted access to outgoing                          devices.      Administrative      The user should be granted access to the                          administrative interface to the NAS from which                          privileged commands can be executed.      NAS Prompt          The user should be provided a command prompt                          on the NAS from which non-privileged commands                          can be executed.Rigney, et. al.             Standards Track                    [Page 27]RFC 2138                         RADIUS                       April 1997      Authenticate Only   Only Authentication is requested, and no                          authorization information needs to be returned                          in the Access-Accept (typically used by proxy                          servers rather than the NAS itself).      Callback NAS Prompt The user should be disconnected and called                          back, then provided a command prompt on the                          NAS from which non-privileged commands can be                          executed.5.7.  Framed-Protocol   Description      This Attribute indicates the framing to be used for framed access.      It MAY be used in both Access-Request and Access-Accept packets.   A summary of the Framed-Protocol Attribute format is shown below.   The fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |             Value   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+              Value (cont)         |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   Type      7 for Framed-Protocol.   Length      6   Value      The Value field is four octets.       1      PPP       2      SLIP       3      AppleTalk Remote Access Protocol (ARAP)       4      Gandalf proprietary SingleLink/MultiLink protocol       5      Xylogics proprietary IPX/SLIPRigney, et. al.             Standards Track                    [Page 28]RFC 2138                         RADIUS                       April 19975.8.  Framed-IP-Address   Description      This Attribute indicates the address to be configured for the      user.  It MAY be used in Access-Accept packets.  It MAY be used in      an Access-Request packet as a hint by the NAS to the server that      it would prefer that address, but the server is not required to      honor the hint.   A summary of the Framed-IP-Address Attribute format is shown below.   The fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |            Address   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+            Address (cont)         |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   Type      8 for Framed-IP-Address.   Length      6   Address      The Address field is four octets.  The value 0xFFFFFFFF indicates      that the NAS should allow the user to select an address (e.g.      Negotiated).  The value 0xFFFFFFFE indicates that the NAS should      select an address for the user (e.g. Assigned from a pool of      addresses kept by the NAS).  Other valid values indicate that the      NAS should use that value as the user's IP address.5.9.  Framed-IP-Netmask   Description      This Attribute indicates the IP netmask to be configured for the      user when the user is a router to a network.  It MAY be used in      Access-Accept packets.  It MAY be used in an Access-Request packet      as a hint by the NAS to the server that it would prefer that      netmask, but the server is not required to honor the hint.Rigney, et. al.             Standards Track                    [Page 29]RFC 2138                         RADIUS                       April 1997   A summary of the Framed-IP-Netmask Attribute format is shown below.   The fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |            Address   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+            Address (cont)         |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   Type      9 for Framed-IP-Netmask.   Length      6   Address      The Address field is four octets specifying the IP netmask of the      user.5.10.  Framed-Routing   Description      This Attribute indicates the routing method for the user, when the      user is a router to a network.  It is only used in Access-Accept      packets.   A summary of the Framed-Routing Attribute format is shown below.  The   fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |             Value   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+              Value (cont)         |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   Type      10 for Framed-Routing.Rigney, et. al.             Standards Track                    [Page 30]RFC 2138                         RADIUS                       April 1997   Length      6   Value      The Value field is four octets.       0      None       1      Send routing packets       2      Listen for routing packets       3      Send and Listen5.11.  Filter-Id   Description      This Attribute indicates the name of the filter list for this      user.  Zero or more Filter-Id attributes MAY be sent in an      Access-Accept packet.      Identifying a filter list by name allows the filter to be used on      different NASes without regard to filter-list implementation      details.   A summary of the Filter-Id Attribute format is shown below.  The   fields are transmitted from left to right.    0                   1                   2    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-   |     Type      |    Length     |  String ...   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-   Type      11 for Filter-Id.   Length      >= 3Rigney, et. al.             Standards Track                    [Page 31]RFC 2138                         RADIUS                       April 1997   String      The String field is one or more octets, and its contents are      implementation dependent.  It is intended to be human readable and      MUST NOT affect operation of the protocol.  It is recommended that      the message contain displayable ASCII characters from the range 32      through 126 decimal.5.12.  Framed-MTU   Description      This Attribute indicates the Maximum Transmission Unit to be      configured for the user, when it is not negotiated by some other      means (such as PPP).  It is only used in Access-Accept packets.      A summary of the Framed-MTU Attribute format is shown below.  The      fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |             Value   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+              Value (cont)         |   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   Type      12 for Framed-MTU.   Length      6   Value      The Value field is four octets.  Despite the size of the field,      values range from 64 to 65535.Rigney, et. al.             Standards Track                    [Page 32]RFC 2138                         RADIUS                       April 19975.13.  Framed-Compression   Description      This Attribute indicates a compression protocol to be used for the      link.  It MAY be used in Access-Accept packets.  It MAY be used in      an Access-Request packet as a hint to the server that the NAS      would prefer to use that compression, but the server is not      required to honor the hint.      More than one compression protocol Attribute MAY be sent.  It is      the responsibility of the NAS to apply the proper compression      protocol to appropriate link traffic.   A summary of the Framed-Compression Attribute format is shown below.   The fields are transmitted from left to right.    0                   1                   2                   3    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+   |     Type      |    Length     |             Value   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+              Value (cont)         |   +-+-+

⌨️ 快捷键说明

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