Harald Welte | c83d2fe | 2019-08-10 22:08:54 +0200 | [diff] [blame] | 1 | ;; |
| 2 | ;; %CopyrightBegin% |
| 3 | ;; |
| 4 | ;; Transcribed from RFC 4072 by Harald Welte <laforge@gnumonks.org> |
| 5 | ;; |
| 6 | ;; Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | ;; you may not use this file except in compliance with the License. |
| 8 | ;; You may obtain a copy of the License at |
| 9 | ;; |
| 10 | ;; http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | ;; |
| 12 | ;; Unless required by applicable law or agreed to in writing, software |
| 13 | ;; distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | ;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | ;; See the License for the specific language governing permissions and |
| 16 | ;; limitations under the License. |
| 17 | ;; |
| 18 | ;; %CopyrightEnd% |
| 19 | ;; |
| 20 | |
| 21 | ;; |
| 22 | ;; RFC 4072, Diameter Extensible Authentication Protocol (EAP) Application |
| 23 | ;; |
| 24 | |
| 25 | @id 1 |
| 26 | |
| 27 | @inherits diameter_gen_base_rfc6733 |
| 28 | @inherits diameter_rfc4005_nasreq |
| 29 | |
| 30 | ;; =========================================================================== |
| 31 | |
| 32 | @avp_types |
| 33 | |
| 34 | EAP-Payload 462 OctetString - |
| 35 | EAP-Reissued-Payload 463 OctetString - |
| 36 | EAP-Master-Session-Key 464 OctetString - |
| 37 | EAP-Key-Name 102 OctetString - |
| 38 | Accounting-EAP-Auth-Method 465 Unsigned64 - |
| 39 | |
| 40 | ;; =========================================================================== |
| 41 | |
| 42 | @messages |
| 43 | |
| 44 | ;; 3.1 Diameter-EAP-Request |
| 45 | DER ::= < Diameter Header: 268, REQ, PXY > |
| 46 | < Session-Id > |
| 47 | { Auth-Application-Id } |
| 48 | { Origin-Host } |
| 49 | { Origin-Realm } |
| 50 | { Destination-Realm } |
| 51 | { Auth-Request-Type } |
| 52 | { EAP-Payload } |
| 53 | [ Destination-Host ] |
| 54 | [ NAS-Identifier ] |
| 55 | [ NAS-IP-Address ] |
| 56 | [ NAS-IPv6-Address ] |
| 57 | [ NAS-Port ] |
| 58 | [ NAS-Port-Id ] |
| 59 | [ NAS-Port-Type ] |
| 60 | [ Origin-State-Id ] |
| 61 | [ Port-Limit ] |
| 62 | [ User-Name ] |
| 63 | [ EAP-Key-Name ] |
| 64 | [ Service-Type ] |
| 65 | [ State ] |
| 66 | [ Authorization-Lifetime ] |
| 67 | [ Auth-Grace-Period ] |
| 68 | [ Auth-Session-State ] |
| 69 | [ Callback-Number ] |
| 70 | [ Called-Station-Id ] |
| 71 | [ Calling-Station-Id ] |
| 72 | [ Originating-Line-Info ] |
| 73 | [ Connect-Info ] |
| 74 | * [ Framed-Compression ] |
| 75 | [ Framed-Interface-Id ] |
| 76 | [ Framed-IP-Address ] |
| 77 | * [ Framed-IPv6-Prefix ] |
| 78 | [ Framed-IP-Netmask ] |
| 79 | [ Framed-MTU ] |
| 80 | [ Framed-Protocol ] |
| 81 | * [ Tunneling ] |
| 82 | * [ Proxy-Info ] |
| 83 | * [ Route-Record ] |
| 84 | * [ AVP ] |
| 85 | |
| 86 | DEA ::= < Diameter Header: 268, PXY > |
| 87 | < Session-Id > |
| 88 | { Auth-Application-Id } |
| 89 | { Auth-Request-Type } |
| 90 | { Result-Code } |
| 91 | { Origin-Host } |
| 92 | { Origin-Realm } |
| 93 | [ User-Name ] |
| 94 | [ EAP-Payload ] |
| 95 | [ EAP-Reissued-Payload ] |
| 96 | [ EAP-Master-Session-Key ] |
| 97 | [ EAP-Key-Name ] |
| 98 | [ Multi-Round-Time-Out ] |
| 99 | [ Accounting-EAP-Auth-Method ] |
| 100 | [ Service-Type ] |
| 101 | * [ Class ] |
| 102 | * [ Configuration-Token ] |
| 103 | [ Acct-Interim-Interval ] |
| 104 | [ Error-Message ] |
| 105 | [ Error-Reporting-Host ] |
| 106 | * [ Failed-AVP ] |
| 107 | [ Idle-Timeout ] |
| 108 | [ Authorization-Lifetime ] |
| 109 | [ Auth-Grace-Period ] |
| 110 | [ Auth-Session-State ] |
| 111 | [ Re-Auth-Request-Type ] |
| 112 | [ Session-Timeout ] |
| 113 | [ State ] |
| 114 | * [ Reply-Message ] |
| 115 | [ Origin-State-Id ] |
| 116 | * [ Filter-Id ] |
| 117 | [ Port-Limit ] |
| 118 | [ Callback-Id ] |
| 119 | [ Callback-Number ] |
| 120 | [ Framed-AppleTalk-Link ] |
| 121 | * [ Framed-AppleTalk-Network ] |
| 122 | [ Framed-AppleTalk-Zone ] |
| 123 | * [ Framed-Compression ] |
| 124 | [ Framed-Interface-Id ] |
| 125 | [ Framed-IP-Address ] |
| 126 | * [ Framed-IPv6-Prefix ] |
| 127 | [ Framed-IPv6-Pool ] |
| 128 | * [ Framed-IPv6-Route ] |
| 129 | [ Framed-IP-Netmask ] |
| 130 | * [ Framed-Route ] |
| 131 | [ Framed-Pool ] |
| 132 | [ Framed-IPX-Network ] |
| 133 | [ Framed-MTU ] |
| 134 | [ Framed-Protocol ] |
| 135 | [ Framed-Routing ] |
| 136 | * [ NAS-Filter-Rule ] |
| 137 | * [ QoS-Filter-Rule ] |
| 138 | * [ Tunneling ] |
| 139 | * [ Redirect-Host ] |
| 140 | [ Redirect-Host-Usage ] |
| 141 | [ Redirect-Max-Cache-Time ] |
| 142 | * [ Proxy-Info ] |
| 143 | * [ AVP ] |
| 144 | |
| 145 | |
| 146 | |
| 147 | ;; =========================================================================== |
| 148 | |
| 149 | @grouped |