rfc3748.txt 154 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755
  1. Network Working Group B. Aboba
  2. Request for Comments: 3748 Microsoft
  3. Obsoletes: 2284 L. Blunk
  4. Category: Standards Track Merit Network, Inc
  5. J. Vollbrecht
  6. Vollbrecht Consulting LLC
  7. J. Carlson
  8. Sun
  9. H. Levkowetz, Ed.
  10. ipUnplugged
  11. June 2004
  12. Extensible Authentication Protocol (EAP)
  13. Status of this Memo
  14. This document specifies an Internet standards track protocol for the
  15. Internet community, and requests discussion and suggestions for
  16. improvements. Please refer to the current edition of the "Internet
  17. Official Protocol Standards" (STD 1) for the standardization state
  18. and status of this protocol. Distribution of this memo is unlimited.
  19. Copyright Notice
  20. Copyright (C) The Internet Society (2004).
  21. Abstract
  22. This document defines the Extensible Authentication Protocol (EAP),
  23. an authentication framework which supports multiple authentication
  24. methods. EAP typically runs directly over data link layers such as
  25. Point-to-Point Protocol (PPP) or IEEE 802, without requiring IP. EAP
  26. provides its own support for duplicate elimination and
  27. retransmission, but is reliant on lower layer ordering guarantees.
  28. Fragmentation is not supported within EAP itself; however, individual
  29. EAP methods may support this.
  30. This document obsoletes RFC 2284. A summary of the changes between
  31. this document and RFC 2284 is available in Appendix A.
  32. Aboba, et al. Standards Track [Page 1]
  33. RFC 3748 EAP June 2004
  34. Table of Contents
  35. 1. Introduction. . . . . . . . . . . . . . . . . . . . . . . . . 3
  36. 1.1. Specification of Requirements . . . . . . . . . . . . . 4
  37. 1.2. Terminology . . . . . . . . . . . . . . . . . . . . . . 4
  38. 1.3. Applicability . . . . . . . . . . . . . . . . . . . . . 6
  39. 2. Extensible Authentication Protocol (EAP). . . . . . . . . . . 7
  40. 2.1. Support for Sequences . . . . . . . . . . . . . . . . . 9
  41. 2.2. EAP Multiplexing Model. . . . . . . . . . . . . . . . . 10
  42. 2.3. Pass-Through Behavior . . . . . . . . . . . . . . . . . 12
  43. 2.4. Peer-to-Peer Operation. . . . . . . . . . . . . . . . . 14
  44. 3. Lower Layer Behavior. . . . . . . . . . . . . . . . . . . . . 15
  45. 3.1. Lower Layer Requirements. . . . . . . . . . . . . . . . 15
  46. 3.2. EAP Usage Within PPP. . . . . . . . . . . . . . . . . . 18
  47. 3.2.1. PPP Configuration Option Format. . . . . . . . . 18
  48. 3.3. EAP Usage Within IEEE 802 . . . . . . . . . . . . . . . 19
  49. 3.4. Lower Layer Indications . . . . . . . . . . . . . . . . 19
  50. 4. EAP Packet Format . . . . . . . . . . . . . . . . . . . . . . 20
  51. 4.1. Request and Response. . . . . . . . . . . . . . . . . . 21
  52. 4.2. Success and Failure . . . . . . . . . . . . . . . . . . 23
  53. 4.3. Retransmission Behavior . . . . . . . . . . . . . . . . 26
  54. 5. Initial EAP Request/Response Types. . . . . . . . . . . . . . 27
  55. 5.1. Identity. . . . . . . . . . . . . . . . . . . . . . . . 28
  56. 5.2. Notification. . . . . . . . . . . . . . . . . . . . . . 29
  57. 5.3. Nak . . . . . . . . . . . . . . . . . . . . . . . . . . 31
  58. 5.3.1. Legacy Nak . . . . . . . . . . . . . . . . . . . 31
  59. 5.3.2. Expanded Nak . . . . . . . . . . . . . . . . . . 32
  60. 5.4. MD5-Challenge . . . . . . . . . . . . . . . . . . . . . 35
  61. 5.5. One-Time Password (OTP) . . . . . . . . . . . . . . . . 36
  62. 5.6. Generic Token Card (GTC). . . . . . . . . . . . . . . . 37
  63. 5.7. Expanded Types. . . . . . . . . . . . . . . . . . . . . 38
  64. 5.8. Experimental. . . . . . . . . . . . . . . . . . . . . . 40
  65. 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 40
  66. 6.1. Packet Codes. . . . . . . . . . . . . . . . . . . . . . 41
  67. 6.2. Method Types. . . . . . . . . . . . . . . . . . . . . . 41
  68. 7. Security Considerations . . . . . . . . . . . . . . . . . . . 42
  69. 7.1. Threat Model. . . . . . . . . . . . . . . . . . . . . . 42
  70. 7.2. Security Claims . . . . . . . . . . . . . . . . . . . . 43
  71. 7.2.1. Security Claims Terminology for EAP Methods. . . 44
  72. 7.3. Identity Protection . . . . . . . . . . . . . . . . . . 46
  73. 7.4. Man-in-the-Middle Attacks . . . . . . . . . . . . . . . 47
  74. 7.5. Packet Modification Attacks . . . . . . . . . . . . . . 48
  75. 7.6. Dictionary Attacks. . . . . . . . . . . . . . . . . . . 49
  76. 7.7. Connection to an Untrusted Network. . . . . . . . . . . 49
  77. 7.8. Negotiation Attacks . . . . . . . . . . . . . . . . . . 50
  78. 7.9. Implementation Idiosyncrasies . . . . . . . . . . . . . 50
  79. 7.10. Key Derivation. . . . . . . . . . . . . . . . . . . . . 51
  80. 7.11. Weak Ciphersuites . . . . . . . . . . . . . . . . . . . 53
  81. Aboba, et al. Standards Track [Page 2]
  82. RFC 3748 EAP June 2004
  83. 7.12. Link Layer. . . . . . . . . . . . . . . . . . . . . . . 53
  84. 7.13. Separation of Authenticator and Backend Authentication
  85. Server. . . . . . . . . . . . . . . . . . . . . . . . . 54
  86. 7.14. Cleartext Passwords . . . . . . . . . . . . . . . . . . 55
  87. 7.15. Channel Binding . . . . . . . . . . . . . . . . . . . . 55
  88. 7.16. Protected Result Indications. . . . . . . . . . . . . . 56
  89. 8. Acknowledgements. . . . . . . . . . . . . . . . . . . . . . . 58
  90. 9. References. . . . . . . . . . . . . . . . . . . . . . . . . . 59
  91. 9.1. Normative References. . . . . . . . . . . . . . . . . . 59
  92. 9.2. Informative References. . . . . . . . . . . . . . . . . 60
  93. Appendix A. Changes from RFC 2284. . . . . . . . . . . . . . . . . 64
  94. Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 66
  95. Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . 67
  96. 1. Introduction
  97. This document defines the Extensible Authentication Protocol (EAP),
  98. an authentication framework which supports multiple authentication
  99. methods. EAP typically runs directly over data link layers such as
  100. Point-to-Point Protocol (PPP) or IEEE 802, without requiring IP. EAP
  101. provides its own support for duplicate elimination and
  102. retransmission, but is reliant on lower layer ordering guarantees.
  103. Fragmentation is not supported within EAP itself; however, individual
  104. EAP methods may support this.
  105. EAP may be used on dedicated links, as well as switched circuits, and
  106. wired as well as wireless links. To date, EAP has been implemented
  107. with hosts and routers that connect via switched circuits or dial-up
  108. lines using PPP [RFC1661]. It has also been implemented with
  109. switches and access points using IEEE 802 [IEEE-802]. EAP
  110. encapsulation on IEEE 802 wired media is described in [IEEE-802.1X],
  111. and encapsulation on IEEE wireless LANs in [IEEE-802.11i].
  112. One of the advantages of the EAP architecture is its flexibility.
  113. EAP is used to select a specific authentication mechanism, typically
  114. after the authenticator requests more information in order to
  115. determine the specific authentication method to be used. Rather than
  116. requiring the authenticator to be updated to support each new
  117. authentication method, EAP permits the use of a backend
  118. authentication server, which may implement some or all authentication
  119. methods, with the authenticator acting as a pass-through for some or
  120. all methods and peers.
  121. Within this document, authenticator requirements apply regardless of
  122. whether the authenticator is operating as a pass-through or not.
  123. Where the requirement is meant to apply to either the authenticator
  124. or backend authentication server, depending on where the EAP
  125. authentication is terminated, the term "EAP server" will be used.
  126. Aboba, et al. Standards Track [Page 3]
  127. RFC 3748 EAP June 2004
  128. 1.1. Specification of Requirements
  129. In this document, several words are used to signify the requirements
  130. of the specification. The key words "MUST", "MUST NOT", "REQUIRED",
  131. "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
  132. and "OPTIONAL" in this document are to be interpreted as described in
  133. [RFC2119].
  134. 1.2. Terminology
  135. This document frequently uses the following terms:
  136. authenticator
  137. The end of the link initiating EAP authentication. The term
  138. authenticator is used in [IEEE-802.1X], and has the same meaning
  139. in this document.
  140. peer
  141. The end of the link that responds to the authenticator. In
  142. [IEEE-802.1X], this end is known as the Supplicant.
  143. Supplicant
  144. The end of the link that responds to the authenticator in [IEEE-
  145. 802.1X]. In this document, this end of the link is called the
  146. peer.
  147. backend authentication server
  148. A backend authentication server is an entity that provides an
  149. authentication service to an authenticator. When used, this
  150. server typically executes EAP methods for the authenticator. This
  151. terminology is also used in [IEEE-802.1X].
  152. AAA
  153. Authentication, Authorization, and Accounting. AAA protocols with
  154. EAP support include RADIUS [RFC3579] and Diameter [DIAM-EAP]. In
  155. this document, the terms "AAA server" and "backend authentication
  156. server" are used interchangeably.
  157. Displayable Message
  158. This is interpreted to be a human readable string of characters.
  159. The message encoding MUST follow the UTF-8 transformation format
  160. [RFC2279].
  161. Aboba, et al. Standards Track [Page 4]
  162. RFC 3748 EAP June 2004
  163. EAP server
  164. The entity that terminates the EAP authentication method with the
  165. peer. In the case where no backend authentication server is used,
  166. the EAP server is part of the authenticator. In the case where
  167. the authenticator operates in pass-through mode, the EAP server is
  168. located on the backend authentication server.
  169. Silently Discard
  170. This means the implementation discards the packet without further
  171. processing. The implementation SHOULD provide the capability of
  172. logging the event, including the contents of the silently
  173. discarded packet, and SHOULD record the event in a statistics
  174. counter.
  175. Successful Authentication
  176. In the context of this document, "successful authentication" is an
  177. exchange of EAP messages, as a result of which the authenticator
  178. decides to allow access by the peer, and the peer decides to use
  179. this access. The authenticator's decision typically involves both
  180. authentication and authorization aspects; the peer may
  181. successfully authenticate to the authenticator, but access may be
  182. denied by the authenticator due to policy reasons.
  183. Message Integrity Check (MIC)
  184. A keyed hash function used for authentication and integrity
  185. protection of data. This is usually called a Message
  186. Authentication Code (MAC), but IEEE 802 specifications (and this
  187. document) use the acronym MIC to avoid confusion with Medium
  188. Access Control.
  189. Cryptographic Separation
  190. Two keys (x and y) are "cryptographically separate" if an
  191. adversary that knows all messages exchanged in the protocol cannot
  192. compute x from y or y from x without "breaking" some cryptographic
  193. assumption. In particular, this definition allows that the
  194. adversary has the knowledge of all nonces sent in cleartext, as
  195. well as all predictable counter values used in the protocol.
  196. Breaking a cryptographic assumption would typically require
  197. inverting a one-way function or predicting the outcome of a
  198. cryptographic pseudo-random number generator without knowledge of
  199. the secret state. In other words, if the keys are
  200. cryptographically separate, there is no shortcut to compute x from
  201. y or y from x, but the work an adversary must do to perform this
  202. computation is equivalent to performing an exhaustive search for
  203. the secret state value.
  204. Aboba, et al. Standards Track [Page 5]
  205. RFC 3748 EAP June 2004
  206. Master Session Key (MSK)
  207. Keying material that is derived between the EAP peer and server
  208. and exported by the EAP method. The MSK is at least 64 octets in
  209. length. In existing implementations, a AAA server acting as an
  210. EAP server transports the MSK to the authenticator.
  211. Extended Master Session Key (EMSK)
  212. Additional keying material derived between the EAP client and
  213. server that is exported by the EAP method. The EMSK is at least
  214. 64 octets in length. The EMSK is not shared with the
  215. authenticator or any other third party. The EMSK is reserved for
  216. future uses that are not defined yet.
  217. Result indications
  218. A method provides result indications if after the method's last
  219. message is sent and received:
  220. 1) The peer is aware of whether it has authenticated the server,
  221. as well as whether the server has authenticated it.
  222. 2) The server is aware of whether it has authenticated the peer,
  223. as well as whether the peer has authenticated it.
  224. In the case where successful authentication is sufficient to
  225. authorize access, then the peer and authenticator will also know if
  226. the other party is willing to provide or accept access. This may not
  227. always be the case. An authenticated peer may be denied access due
  228. to lack of authorization (e.g., session limit) or other reasons.
  229. Since the EAP exchange is run between the peer and the server, other
  230. nodes (such as AAA proxies) may also affect the authorization
  231. decision. This is discussed in more detail in Section 7.16.
  232. 1.3. Applicability
  233. EAP was designed for use in network access authentication, where IP
  234. layer connectivity may not be available. Use of EAP for other
  235. purposes, such as bulk data transport, is NOT RECOMMENDED.
  236. Since EAP does not require IP connectivity, it provides just enough
  237. support for the reliable transport of authentication protocols, and
  238. no more.
  239. EAP is a lock-step protocol which only supports a single packet in
  240. flight. As a result, EAP cannot efficiently transport bulk data,
  241. unlike transport protocols such as TCP [RFC793] or SCTP [RFC2960].
  242. Aboba, et al. Standards Track [Page 6]
  243. RFC 3748 EAP June 2004
  244. While EAP provides support for retransmission, it assumes ordering
  245. guarantees provided by the lower layer, so out of order reception is
  246. not supported.
  247. Since EAP does not support fragmentation and reassembly, EAP
  248. authentication methods generating payloads larger than the minimum
  249. EAP MTU need to provide fragmentation support.
  250. While authentication methods such as EAP-TLS [RFC2716] provide
  251. support for fragmentation and reassembly, the EAP methods defined in
  252. this document do not. As a result, if the EAP packet size exceeds
  253. the EAP MTU of the link, these methods will encounter difficulties.
  254. EAP authentication is initiated by the server (authenticator),
  255. whereas many authentication protocols are initiated by the client
  256. (peer). As a result, it may be necessary for an authentication
  257. algorithm to add one or two additional messages (at most one
  258. roundtrip) in order to run over EAP.
  259. Where certificate-based authentication is supported, the number of
  260. additional roundtrips may be much larger due to fragmentation of
  261. certificate chains. In general, a fragmented EAP packet will require
  262. as many round-trips to send as there are fragments. For example, a
  263. certificate chain 14960 octets in size would require ten round-trips
  264. to send with a 1496 octet EAP MTU.
  265. Where EAP runs over a lower layer in which significant packet loss is
  266. experienced, or where the connection between the authenticator and
  267. authentication server experiences significant packet loss, EAP
  268. methods requiring many round-trips can experience difficulties. In
  269. these situations, use of EAP methods with fewer roundtrips is
  270. advisable.
  271. 2. Extensible Authentication Protocol (EAP)
  272. The EAP authentication exchange proceeds as follows:
  273. [1] The authenticator sends a Request to authenticate the peer. The
  274. Request has a Type field to indicate what is being requested.
  275. Examples of Request Types include Identity, MD5-challenge, etc.
  276. The MD5-challenge Type corresponds closely to the CHAP
  277. authentication protocol [RFC1994]. Typically, the authenticator
  278. will send an initial Identity Request; however, an initial
  279. Identity Request is not required, and MAY be bypassed. For
  280. example, the identity may not be required where it is determined
  281. by the port to which the peer has connected (leased lines,
  282. Aboba, et al. Standards Track [Page 7]
  283. RFC 3748 EAP June 2004
  284. dedicated switch or dial-up ports), or where the identity is
  285. obtained in another fashion (via calling station identity or MAC
  286. address, in the Name field of the MD5-Challenge Response, etc.).
  287. [2] The peer sends a Response packet in reply to a valid Request. As
  288. with the Request packet, the Response packet contains a Type
  289. field, which corresponds to the Type field of the Request.
  290. [3] The authenticator sends an additional Request packet, and the
  291. peer replies with a Response. The sequence of Requests and
  292. Responses continues as long as needed. EAP is a 'lock step'
  293. protocol, so that other than the initial Request, a new Request
  294. cannot be sent prior to receiving a valid Response. The
  295. authenticator is responsible for retransmitting requests as
  296. described in Section 4.1. After a suitable number of
  297. retransmissions, the authenticator SHOULD end the EAP
  298. conversation. The authenticator MUST NOT send a Success or
  299. Failure packet when retransmitting or when it fails to get a
  300. response from the peer.
  301. [4] The conversation continues until the authenticator cannot
  302. authenticate the peer (unacceptable Responses to one or more
  303. Requests), in which case the authenticator implementation MUST
  304. transmit an EAP Failure (Code 4). Alternatively, the
  305. authentication conversation can continue until the authenticator
  306. determines that successful authentication has occurred, in which
  307. case the authenticator MUST transmit an EAP Success (Code 3).
  308. Advantages:
  309. o The EAP protocol can support multiple authentication mechanisms
  310. without having to pre-negotiate a particular one.
  311. o Network Access Server (NAS) devices (e.g., a switch or access
  312. point) do not have to understand each authentication method and
  313. MAY act as a pass-through agent for a backend authentication
  314. server. Support for pass-through is optional. An authenticator
  315. MAY authenticate local peers, while at the same time acting as a
  316. pass-through for non-local peers and authentication methods it
  317. does not implement locally.
  318. o Separation of the authenticator from the backend authentication
  319. server simplifies credentials management and policy decision
  320. making.
  321. Aboba, et al. Standards Track [Page 8]
  322. RFC 3748 EAP June 2004
  323. Disadvantages:
  324. o For use in PPP, EAP requires the addition of a new authentication
  325. Type to PPP LCP and thus PPP implementations will need to be
  326. modified to use it. It also strays from the previous PPP
  327. authentication model of negotiating a specific authentication
  328. mechanism during LCP. Similarly, switch or access point
  329. implementations need to support [IEEE-802.1X] in order to use EAP.
  330. o Where the authenticator is separate from the backend
  331. authentication server, this complicates the security analysis and,
  332. if needed, key distribution.
  333. 2.1. Support for Sequences
  334. An EAP conversation MAY utilize a sequence of methods. A common
  335. example of this is an Identity request followed by a single EAP
  336. authentication method such as an MD5-Challenge. However, the peer
  337. and authenticator MUST utilize only one authentication method (Type 4
  338. or greater) within an EAP conversation, after which the authenticator
  339. MUST send a Success or Failure packet.
  340. Once a peer has sent a Response of the same Type as the initial
  341. Request, an authenticator MUST NOT send a Request of a different Type
  342. prior to completion of the final round of a given method (with the
  343. exception of a Notification-Request) and MUST NOT send a Request for
  344. an additional method of any Type after completion of the initial
  345. authentication method; a peer receiving such Requests MUST treat them
  346. as invalid, and silently discard them. As a result, Identity Requery
  347. is not supported.
  348. A peer MUST NOT send a Nak (legacy or expanded) in reply to a Request
  349. after an initial non-Nak Response has been sent. Since spoofed EAP
  350. Request packets may be sent by an attacker, an authenticator
  351. receiving an unexpected Nak SHOULD discard it and log the event.
  352. Multiple authentication methods within an EAP conversation are not
  353. supported due to their vulnerability to man-in-the-middle attacks
  354. (see Section 7.4) and incompatibility with existing implementations.
  355. Where a single EAP authentication method is utilized, but other
  356. methods are run within it (a "tunneled" method), the prohibition
  357. against multiple authentication methods does not apply. Such
  358. "tunneled" methods appear as a single authentication method to EAP.
  359. Backward compatibility can be provided, since a peer not supporting a
  360. "tunneled" method can reply to the initial EAP-Request with a Nak
  361. Aboba, et al. Standards Track [Page 9]
  362. RFC 3748 EAP June 2004
  363. (legacy or expanded). To address security vulnerabilities,
  364. "tunneled" methods MUST support protection against man-in-the-middle
  365. attacks.
  366. 2.2. EAP Multiplexing Model
  367. Conceptually, EAP implementations consist of the following
  368. components:
  369. [a] Lower layer. The lower layer is responsible for transmitting and
  370. receiving EAP frames between the peer and authenticator. EAP has
  371. been run over a variety of lower layers including PPP, wired IEEE
  372. 802 LANs [IEEE-802.1X], IEEE 802.11 wireless LANs [IEEE-802.11],
  373. UDP (L2TP [RFC2661] and IKEv2 [IKEv2]), and TCP [PIC]. Lower
  374. layer behavior is discussed in Section 3.
  375. [b] EAP layer. The EAP layer receives and transmits EAP packets via
  376. the lower layer, implements duplicate detection and
  377. retransmission, and delivers and receives EAP messages to and
  378. from the EAP peer and authenticator layers.
  379. [c] EAP peer and authenticator layers. Based on the Code field, the
  380. EAP layer demultiplexes incoming EAP packets to the EAP peer and
  381. authenticator layers. Typically, an EAP implementation on a
  382. given host will support either peer or authenticator
  383. functionality, but it is possible for a host to act as both an
  384. EAP peer and authenticator. In such an implementation both EAP
  385. peer and authenticator layers will be present.
  386. [d] EAP method layers. EAP methods implement the authentication
  387. algorithms and receive and transmit EAP messages via the EAP peer
  388. and authenticator layers. Since fragmentation support is not
  389. provided by EAP itself, this is the responsibility of EAP
  390. methods, which are discussed in Section 5.
  391. The EAP multiplexing model is illustrated in Figure 1 below. Note
  392. that there is no requirement that an implementation conform to this
  393. model, as long as the on-the-wire behavior is consistent with it.
  394. Aboba, et al. Standards Track [Page 10]
  395. RFC 3748 EAP June 2004
  396. +-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+
  397. | | | | | |
  398. | EAP method| EAP method| | EAP method| EAP method|
  399. | Type = X | Type = Y | | Type = X | Type = Y |
  400. | V | | | ^ | |
  401. +-+-+-+-!-+-+-+-+-+-+-+-+ +-+-+-+-!-+-+-+-+-+-+-+-+
  402. | ! | | ! |
  403. | EAP ! Peer layer | | EAP ! Auth. layer |
  404. | ! | | ! |
  405. +-+-+-+-!-+-+-+-+-+-+-+-+ +-+-+-+-!-+-+-+-+-+-+-+-+
  406. | ! | | ! |
  407. | EAP ! layer | | EAP ! layer |
  408. | ! | | ! |
  409. +-+-+-+-!-+-+-+-+-+-+-+-+ +-+-+-+-!-+-+-+-+-+-+-+-+
  410. | ! | | ! |
  411. | Lower ! layer | | Lower ! layer |
  412. | ! | | ! |
  413. +-+-+-+-!-+-+-+-+-+-+-+-+ +-+-+-+-!-+-+-+-+-+-+-+-+
  414. ! !
  415. ! Peer ! Authenticator
  416. +------------>-------------+
  417. Figure 1: EAP Multiplexing Model
  418. Within EAP, the Code field functions much like a protocol number in
  419. IP. It is assumed that the EAP layer demultiplexes incoming EAP
  420. packets according to the Code field. Received EAP packets with
  421. Code=1 (Request), 3 (Success), and 4 (Failure) are delivered by the
  422. EAP layer to the EAP peer layer, if implemented. EAP packets with
  423. Code=2 (Response) are delivered to the EAP authenticator layer, if
  424. implemented.
  425. Within EAP, the Type field functions much like a port number in UDP
  426. or TCP. It is assumed that the EAP peer and authenticator layers
  427. demultiplex incoming EAP packets according to their Type, and deliver
  428. them only to the EAP method corresponding to that Type. An EAP
  429. method implementation on a host may register to receive packets from
  430. the peer or authenticator layers, or both, depending on which role(s)
  431. it supports.
  432. Since EAP authentication methods may wish to access the Identity,
  433. implementations SHOULD make the Identity Request and Response
  434. accessible to authentication methods (Types 4 or greater), in
  435. addition to the Identity method. The Identity Type is discussed in
  436. Section 5.1.
  437. Aboba, et al. Standards Track [Page 11]
  438. RFC 3748 EAP June 2004
  439. A Notification Response is only used as confirmation that the peer
  440. received the Notification Request, not that it has processed it, or
  441. displayed the message to the user. It cannot be assumed that the
  442. contents of the Notification Request or Response are available to
  443. another method. The Notification Type is discussed in Section 5.2.
  444. Nak (Type 3) or Expanded Nak (Type 254) are utilized for the purposes
  445. of method negotiation. Peers respond to an initial EAP Request for
  446. an unacceptable Type with a Nak Response (Type 3) or Expanded Nak
  447. Response (Type 254). It cannot be assumed that the contents of the
  448. Nak Response(s) are available to another method. The Nak Type(s) are
  449. discussed in Section 5.3.
  450. EAP packets with Codes of Success or Failure do not include a Type
  451. field, and are not delivered to an EAP method. Success and Failure
  452. are discussed in Section 4.2.
  453. Given these considerations, the Success, Failure, Nak Response(s),
  454. and Notification Request/Response messages MUST NOT be used to carry
  455. data destined for delivery to other EAP methods.
  456. 2.3. Pass-Through Behavior
  457. When operating as a "pass-through authenticator", an authenticator
  458. performs checks on the Code, Identifier, and Length fields as
  459. described in Section 4.1. It forwards EAP packets received from the
  460. peer and destined to its authenticator layer to the backend
  461. authentication server; packets received from the backend
  462. authentication server destined to the peer are forwarded to it.
  463. A host receiving an EAP packet may only do one of three things with
  464. it: act on it, drop it, or forward it. The forwarding decision is
  465. typically based only on examination of the Code, Identifier, and
  466. Length fields. A pass-through authenticator implementation MUST be
  467. capable of forwarding EAP packets received from the peer with Code=2
  468. (Response) to the backend authentication server. It also MUST be
  469. capable of receiving EAP packets from the backend authentication
  470. server and forwarding EAP packets of Code=1 (Request), Code=3
  471. (Success), and Code=4 (Failure) to the peer.
  472. Unless the authenticator implements one or more authentication
  473. methods locally which support the authenticator role, the EAP method
  474. layer header fields (Type, Type-Data) are not examined as part of the
  475. forwarding decision. Where the authenticator supports local
  476. authentication methods, it MAY examine the Type field to determine
  477. whether to act on the packet itself or forward it. Compliant pass-
  478. through authenticator implementations MUST by default forward EAP
  479. packets of any Type.
  480. Aboba, et al. Standards Track [Page 12]
  481. RFC 3748 EAP June 2004
  482. EAP packets received with Code=1 (Request), Code=3 (Success), and
  483. Code=4 (Failure) are demultiplexed by the EAP layer and delivered to
  484. the peer layer. Therefore, unless a host implements an EAP peer
  485. layer, these packets will be silently discarded. Similarly, EAP
  486. packets received with Code=2 (Response) are demultiplexed by the EAP
  487. layer and delivered to the authenticator layer. Therefore, unless a
  488. host implements an EAP authenticator layer, these packets will be
  489. silently discarded. The behavior of a "pass-through peer" is
  490. undefined within this specification, and is unsupported by AAA
  491. protocols such as RADIUS [RFC3579] and Diameter [DIAM-EAP].
  492. The forwarding model is illustrated in Figure 2.
  493. Peer Pass-through Authenticator Authentication
  494. Server
  495. +-+-+-+-+-+-+ +-+-+-+-+-+-+
  496. | | | |
  497. |EAP method | |EAP method |
  498. | V | | ^ |
  499. +-+-+-!-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-!-+-+-+
  500. | ! | |EAP | EAP | | | ! |
  501. | ! | |Peer | Auth.| EAP Auth. | | ! |
  502. |EAP ! peer| | | +-----------+ | |EAP !Auth.|
  503. | ! | | | ! | ! | | ! |
  504. +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+
  505. | ! | | ! | ! | | ! |
  506. |EAP !layer| | EAP !layer| EAP !layer | |EAP !layer|
  507. | ! | | ! | ! | | ! |
  508. +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+
  509. | ! | | ! | ! | | ! |
  510. |Lower!layer| | Lower!layer| AAA ! /IP | | AAA ! /IP |
  511. | ! | | ! | ! | | ! |
  512. +-+-+-!-+-+-+ +-+-+-+-!-+-+-+-+-+-!-+-+-+-+ +-+-+-!-+-+-+
  513. ! ! ! !
  514. ! ! ! !
  515. +-------->--------+ +--------->-------+
  516. Figure 2: Pass-through Authenticator
  517. For sessions in which the authenticator acts as a pass-through, it
  518. MUST determine the outcome of the authentication solely based on the
  519. Accept/Reject indication sent by the backend authentication server;
  520. the outcome MUST NOT be determined by the contents of an EAP packet
  521. sent along with the Accept/Reject indication, or the absence of such
  522. an encapsulated EAP packet.
  523. Aboba, et al. Standards Track [Page 13]
  524. RFC 3748 EAP June 2004
  525. 2.4. Peer-to-Peer Operation
  526. Since EAP is a peer-to-peer protocol, an independent and simultaneous
  527. authentication may take place in the reverse direction (depending on
  528. the capabilities of the lower layer). Both ends of the link may act
  529. as authenticators and peers at the same time. In this case, it is
  530. necessary for both ends to implement EAP authenticator and peer
  531. layers. In addition, the EAP method implementations on both peers
  532. must support both authenticator and peer functionality.
  533. Although EAP supports peer-to-peer operation, some EAP
  534. implementations, methods, AAA protocols, and link layers may not
  535. support this. Some EAP methods may support asymmetric
  536. authentication, with one type of credential being required for the
  537. peer and another type for the authenticator. Hosts supporting peer-
  538. to-peer operation with such a method would need to be provisioned
  539. with both types of credentials.
  540. For example, EAP-TLS [RFC2716] is a client-server protocol in which
  541. distinct certificate profiles are typically utilized for the client
  542. and server. This implies that a host supporting peer-to-peer
  543. authentication with EAP-TLS would need to implement both the EAP peer
  544. and authenticator layers, support both peer and authenticator roles
  545. in the EAP-TLS implementation, and provision certificates appropriate
  546. for each role.
  547. AAA protocols such as RADIUS/EAP [RFC3579] and Diameter EAP [DIAM-
  548. EAP] only support "pass-through authenticator" operation. As noted
  549. in [RFC3579] Section 2.6.2, a RADIUS server responds to an Access-
  550. Request encapsulating an EAP-Request, Success, or Failure packet with
  551. an Access-Reject. There is therefore no support for "pass-through
  552. peer" operation.
  553. Even where a method is used which supports mutual authentication and
  554. result indications, several considerations may dictate that two EAP
  555. authentications (one in each direction) are required. These include:
  556. [1] Support for bi-directional session key derivation in the lower
  557. layer. Lower layers such as IEEE 802.11 may only support uni-
  558. directional derivation and transport of transient session keys.
  559. For example, the group-key handshake defined in [IEEE-802.11i] is
  560. uni-directional, since in IEEE 802.11 infrastructure mode, only
  561. the Access Point (AP) sends multicast/broadcast traffic. In IEEE
  562. 802.11 ad hoc mode, where either peer may send
  563. multicast/broadcast traffic, two uni-directional group-key
  564. Aboba, et al. Standards Track [Page 14]
  565. RFC 3748 EAP June 2004
  566. exchanges are required. Due to limitations of the design, this
  567. also implies the need for unicast key derivations and EAP method
  568. exchanges to occur in each direction.
  569. [2] Support for tie-breaking in the lower layer. Lower layers such
  570. as IEEE 802.11 ad hoc do not support "tie breaking" wherein two
  571. hosts initiating authentication with each other will only go
  572. forward with a single authentication. This implies that even if
  573. 802.11 were to support a bi-directional group-key handshake, then
  574. two authentications, one in each direction, might still occur.
  575. [3] Peer policy satisfaction. EAP methods may support result
  576. indications, enabling the peer to indicate to the EAP server
  577. within the method that it successfully authenticated the EAP
  578. server, as well as for the server to indicate that it has
  579. authenticated the peer. However, a pass-through authenticator
  580. will not be aware that the peer has accepted the credentials
  581. offered by the EAP server, unless this information is provided to
  582. the authenticator via the AAA protocol. The authenticator SHOULD
  583. interpret the receipt of a key attribute within an Accept packet
  584. as an indication that the peer has successfully authenticated the
  585. server.
  586. However, it is possible that the EAP peer's access policy was not
  587. satisfied during the initial EAP exchange, even though mutual
  588. authentication occurred. For example, the EAP authenticator may not
  589. have demonstrated authorization to act in both peer and authenticator
  590. roles. As a result, the peer may require an additional
  591. authentication in the reverse direction, even if the peer provided an
  592. indication that the EAP server had successfully authenticated to it.
  593. 3. Lower Layer Behavior
  594. 3.1. Lower Layer Requirements
  595. EAP makes the following assumptions about lower layers:
  596. [1] Unreliable transport. In EAP, the authenticator retransmits
  597. Requests that have not yet received Responses so that EAP does
  598. not assume that lower layers are reliable. Since EAP defines its
  599. own retransmission behavior, it is possible (though undesirable)
  600. for retransmission to occur both in the lower layer and the EAP
  601. layer when EAP is run over a reliable lower layer.
  602. Aboba, et al. Standards Track [Page 15]
  603. RFC 3748 EAP June 2004
  604. Note that EAP Success and Failure packets are not retransmitted.
  605. Without a reliable lower layer, and with a non-negligible error rate,
  606. these packets can be lost, resulting in timeouts. It is therefore
  607. desirable for implementations to improve their resilience to loss of
  608. EAP Success or Failure packets, as described in Section 4.2.
  609. [2] Lower layer error detection. While EAP does not assume that the
  610. lower layer is reliable, it does rely on lower layer error
  611. detection (e.g., CRC, Checksum, MIC, etc.). EAP methods may not
  612. include a MIC, or if they do, it may not be computed over all the
  613. fields in the EAP packet, such as the Code, Identifier, Length,
  614. or Type fields. As a result, without lower layer error
  615. detection, undetected errors could creep into the EAP layer or
  616. EAP method layer header fields, resulting in authentication
  617. failures.
  618. For example, EAP TLS [RFC2716], which computes its MIC over the
  619. Type-Data field only, regards MIC validation failures as a fatal
  620. error. Without lower layer error detection, this method, and
  621. others like it, will not perform reliably.
  622. [3] Lower layer security. EAP does not require lower layers to
  623. provide security services such as per-packet confidentiality,
  624. authentication, integrity, and replay protection. However, where
  625. these security services are available, EAP methods supporting Key
  626. Derivation (see Section 7.2.1) can be used to provide dynamic
  627. keying material. This makes it possible to bind the EAP
  628. authentication to subsequent data and protect against data
  629. modification, spoofing, or replay. See Section 7.1 for details.
  630. [4] Minimum MTU. EAP is capable of functioning on lower layers that
  631. provide an EAP MTU size of 1020 octets or greater.
  632. EAP does not support path MTU discovery, and fragmentation and
  633. reassembly is not supported by EAP, nor by the methods defined in
  634. this specification: Identity (1), Notification (2), Nak Response
  635. (3), MD5-Challenge (4), One Time Password (5), Generic Token Card
  636. (6), and expanded Nak Response (254) Types.
  637. Typically, the EAP peer obtains information on the EAP MTU from
  638. the lower layers and sets the EAP frame size to an appropriate
  639. value. Where the authenticator operates in pass-through mode,
  640. the authentication server does not have a direct way of
  641. determining the EAP MTU, and therefore relies on the
  642. authenticator to provide it with this information, such as via
  643. the Framed-MTU attribute, as described in [RFC3579], Section 2.4.
  644. Aboba, et al. Standards Track [Page 16]
  645. RFC 3748 EAP June 2004
  646. While methods such as EAP-TLS [RFC2716] support fragmentation and
  647. reassembly, EAP methods originally designed for use within PPP
  648. where a 1500 octet MTU is guaranteed for control frames (see
  649. [RFC1661], Section 6.1) may lack fragmentation and reassembly
  650. features.
  651. EAP methods can assume a minimum EAP MTU of 1020 octets in the
  652. absence of other information. EAP methods SHOULD include support
  653. for fragmentation and reassembly if their payloads can be larger
  654. than this minimum EAP MTU.
  655. EAP is a lock-step protocol, which implies a certain inefficiency
  656. when handling fragmentation and reassembly. Therefore, if the
  657. lower layer supports fragmentation and reassembly (such as where
  658. EAP is transported over IP), it may be preferable for
  659. fragmentation and reassembly to occur in the lower layer rather
  660. than in EAP. This can be accomplished by providing an
  661. artificially large EAP MTU to EAP, causing fragmentation and
  662. reassembly to be handled within the lower layer.
  663. [5] Possible duplication. Where the lower layer is reliable, it will
  664. provide the EAP layer with a non-duplicated stream of packets.
  665. However, while it is desirable that lower layers provide for
  666. non-duplication, this is not a requirement. The Identifier field
  667. provides both the peer and authenticator with the ability to
  668. detect duplicates.
  669. [6] Ordering guarantees. EAP does not require the Identifier to be
  670. monotonically increasing, and so is reliant on lower layer
  671. ordering guarantees for correct operation. EAP was originally
  672. defined to run on PPP, and [RFC1661] Section 1 has an ordering
  673. requirement:
  674. "The Point-to-Point Protocol is designed for simple links
  675. which transport packets between two peers. These links
  676. provide full-duplex simultaneous bi-directional operation,
  677. and are assumed to deliver packets in order."
  678. Lower layer transports for EAP MUST preserve ordering between a
  679. source and destination at a given priority level (the ordering
  680. guarantee provided by [IEEE-802]).
  681. Reordering, if it occurs, will typically result in an EAP
  682. authentication failure, causing EAP authentication to be re-run.
  683. In an environment in which reordering is likely, it is therefore
  684. expected that EAP authentication failures will be common. It is
  685. RECOMMENDED that EAP only be run over lower layers that provide
  686. ordering guarantees; running EAP over raw IP or UDP transport is
  687. Aboba, et al. Standards Track [Page 17]
  688. RFC 3748 EAP June 2004
  689. NOT RECOMMENDED. Encapsulation of EAP within RADIUS [RFC3579]
  690. satisfies ordering requirements, since RADIUS is a "lockstep"
  691. protocol that delivers packets in order.
  692. 3.2. EAP Usage Within PPP
  693. In order to establish communications over a point-to-point link, each
  694. end of the PPP link first sends LCP packets to configure the data
  695. link during the Link Establishment phase. After the link has been
  696. established, PPP provides for an optional Authentication phase before
  697. proceeding to the Network-Layer Protocol phase.
  698. By default, authentication is not mandatory. If authentication of
  699. the link is desired, an implementation MUST specify the
  700. Authentication Protocol Configuration Option during the Link
  701. Establishment phase.
  702. If the identity of the peer has been established in the
  703. Authentication phase, the server can use that identity in the
  704. selection of options for the following network layer negotiations.
  705. When implemented within PPP, EAP does not select a specific
  706. authentication mechanism at the PPP Link Control Phase, but rather
  707. postpones this until the Authentication Phase. This allows the
  708. authenticator to request more information before determining the
  709. specific authentication mechanism. This also permits the use of a
  710. "backend" server which actually implements the various mechanisms
  711. while the PPP authenticator merely passes through the authentication
  712. exchange. The PPP Link Establishment and Authentication phases, and
  713. the Authentication Protocol Configuration Option, are defined in The
  714. Point-to-Point Protocol (PPP) [RFC1661].
  715. 3.2.1. PPP Configuration Option Format
  716. A summary of the PPP Authentication Protocol Configuration Option
  717. format to negotiate EAP follows. The fields are transmitted from
  718. left to right.
  719. Exactly one EAP packet is encapsulated in the Information field of a
  720. PPP Data Link Layer frame where the protocol field indicates type hex
  721. C227 (PPP EAP).
  722. Aboba, et al. Standards Track [Page 18]
  723. RFC 3748 EAP June 2004
  724. 0 1 2 3
  725. 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
  726. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  727. | Type | Length | Authentication Protocol |
  728. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  729. Type
  730. 3
  731. Length
  732. 4
  733. Authentication Protocol
  734. C227 (Hex) for Extensible Authentication Protocol (EAP)
  735. 3.3. EAP Usage Within IEEE 802
  736. The encapsulation of EAP over IEEE 802 is defined in [IEEE-802.1X].
  737. The IEEE 802 encapsulation of EAP does not involve PPP, and IEEE
  738. 802.1X does not include support for link or network layer
  739. negotiations. As a result, within IEEE 802.1X, it is not possible to
  740. negotiate non-EAP authentication mechanisms, such as PAP or CHAP
  741. [RFC1994].
  742. 3.4. Lower Layer Indications
  743. The reliability and security of lower layer indications is dependent
  744. on the lower layer. Since EAP is media independent, the presence or
  745. absence of lower layer security is not taken into account in the
  746. processing of EAP messages.
  747. To improve reliability, if a peer receives a lower layer success
  748. indication as defined in Section 7.2, it MAY conclude that a Success
  749. packet has been lost, and behave as if it had actually received a
  750. Success packet. This includes choosing to ignore the Success in some
  751. circumstances as described in Section 4.2.
  752. A discussion of some reliability and security issues with lower layer
  753. indications in PPP, IEEE 802 wired networks, and IEEE 802.11 wireless
  754. LANs can be found in the Security Considerations, Section 7.12.
  755. After EAP authentication is complete, the peer will typically
  756. transmit and receive data via the authenticator. It is desirable to
  757. provide assurance that the entities transmitting data are the same
  758. ones that successfully completed EAP authentication. To accomplish
  759. Aboba, et al. Standards Track [Page 19]
  760. RFC 3748 EAP June 2004
  761. this, it is necessary for the lower layer to provide per-packet
  762. integrity, authentication and replay protection, and to bind these
  763. per-packet services to the keys derived during EAP authentication.
  764. Otherwise, it is possible for subsequent data traffic to be modified,
  765. spoofed, or replayed.
  766. Where keying material for the lower layer ciphersuite is itself
  767. provided by EAP, ciphersuite negotiation and key activation are
  768. controlled by the lower layer. In PPP, ciphersuites are negotiated
  769. within ECP so that it is not possible to use keys derived from EAP
  770. authentication until the completion of ECP. Therefore, an initial
  771. EAP exchange cannot be protected by a PPP ciphersuite, although EAP
  772. re-authentication can be protected.
  773. In IEEE 802 media, initial key activation also typically occurs after
  774. completion of EAP authentication. Therefore an initial EAP exchange
  775. typically cannot be protected by the lower layer ciphersuite,
  776. although an EAP re-authentication or pre-authentication exchange can
  777. be protected.
  778. 4. EAP Packet Format
  779. A summary of the EAP packet format is shown below. The fields are
  780. transmitted from left to right.
  781. 0 1 2 3
  782. 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
  783. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  784. | Code | Identifier | Length |
  785. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  786. | Data ...
  787. +-+-+-+-+
  788. Code
  789. The Code field is one octet and identifies the Type of EAP packet.
  790. EAP Codes are assigned as follows:
  791. 1 Request
  792. 2 Response
  793. 3 Success
  794. 4 Failure
  795. Since EAP only defines Codes 1-4, EAP packets with other codes
  796. MUST be silently discarded by both authenticators and peers.
  797. Aboba, et al. Standards Track [Page 20]
  798. RFC 3748 EAP June 2004
  799. Identifier
  800. The Identifier field is one octet and aids in matching Responses
  801. with Requests.
  802. Length
  803. The Length field is two octets and indicates the length, in
  804. octets, of the EAP packet including the Code, Identifier, Length,
  805. and Data fields. Octets outside the range of the Length field
  806. should be treated as Data Link Layer padding and MUST be ignored
  807. upon reception. A message with the Length field set to a value
  808. larger than the number of received octets MUST be silently
  809. discarded.
  810. Data
  811. The Data field is zero or more octets. The format of the Data
  812. field is determined by the Code field.
  813. 4.1. Request and Response
  814. Description
  815. The Request packet (Code field set to 1) is sent by the
  816. authenticator to the peer. Each Request has a Type field which
  817. serves to indicate what is being requested. Additional Request
  818. packets MUST be sent until a valid Response packet is received, an
  819. optional retry counter expires, or a lower layer failure
  820. indication is received.
  821. Retransmitted Requests MUST be sent with the same Identifier value
  822. in order to distinguish them from new Requests. The content of
  823. the data field is dependent on the Request Type. The peer MUST
  824. send a Response packet in reply to a valid Request packet.
  825. Responses MUST only be sent in reply to a valid Request and never
  826. be retransmitted on a timer.
  827. If a peer receives a valid duplicate Request for which it has
  828. already sent a Response, it MUST resend its original Response
  829. without reprocessing the Request. Requests MUST be processed in
  830. the order that they are received, and MUST be processed to their
  831. completion before inspecting the next Request.
  832. A summary of the Request and Response packet format follows. The
  833. fields are transmitted from left to right.
  834. Aboba, et al. Standards Track [Page 21]
  835. RFC 3748 EAP June 2004
  836. 0 1 2 3
  837. 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
  838. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  839. | Code | Identifier | Length |
  840. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  841. | Type | Type-Data ...
  842. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  843. Code
  844. 1 for Request
  845. 2 for Response
  846. Identifier
  847. The Identifier field is one octet. The Identifier field MUST be
  848. the same if a Request packet is retransmitted due to a timeout
  849. while waiting for a Response. Any new (non-retransmission)
  850. Requests MUST modify the Identifier field.
  851. The Identifier field of the Response MUST match that of the
  852. currently outstanding Request. An authenticator receiving a
  853. Response whose Identifier value does not match that of the
  854. currently outstanding Request MUST silently discard the Response.
  855. In order to avoid confusion between new Requests and
  856. retransmissions, the Identifier value chosen for each new Request
  857. need only be different from the previous Request, but need not be
  858. unique within the conversation. One way to achieve this is to
  859. start the Identifier at an initial value and increment it for each
  860. new Request. Initializing the first Identifier with a random
  861. number rather than starting from zero is recommended, since it
  862. makes sequence attacks somewhat more difficult.
  863. Since the Identifier space is unique to each session,
  864. authenticators are not restricted to only 256 simultaneous
  865. authentication conversations. Similarly, with re-authentication,
  866. an EAP conversation might continue over a long period of time, and
  867. is not limited to only 256 roundtrips.
  868. Implementation Note: The authenticator is responsible for
  869. retransmitting Request messages. If the Request message is obtained
  870. from elsewhere (such as from a backend authentication server), then
  871. the authenticator will need to save a copy of the Request in order to
  872. accomplish this. The peer is responsible for detecting and handling
  873. duplicate Request messages before processing them in any way,
  874. including passing them on to an outside party. The authenticator is
  875. also responsible for discarding Response messages with a non-matching
  876. Aboba, et al. Standards Track [Page 22]
  877. RFC 3748 EAP June 2004
  878. Identifier value before acting on them in any way, including passing
  879. them on to the backend authentication server for verification. Since
  880. the authenticator can retransmit before receiving a Response from the
  881. peer, the authenticator can receive multiple Responses, each with a
  882. matching Identifier. Until a new Request is received by the
  883. authenticator, the Identifier value is not updated, so that the
  884. authenticator forwards Responses to the backend authentication
  885. server, one at a time.
  886. Length
  887. The Length field is two octets and indicates the length of the EAP
  888. packet including the Code, Identifier, Length, Type, and Type-Data
  889. fields. Octets outside the range of the Length field should be
  890. treated as Data Link Layer padding and MUST be ignored upon
  891. reception. A message with the Length field set to a value larger
  892. than the number of received octets MUST be silently discarded.
  893. Type
  894. The Type field is one octet. This field indicates the Type of
  895. Request or Response. A single Type MUST be specified for each EAP
  896. Request or Response. An initial specification of Types follows in
  897. Section 5 of this document.
  898. The Type field of a Response MUST either match that of the
  899. Request, or correspond to a legacy or Expanded Nak (see Section
  900. 5.3) indicating that a Request Type is unacceptable to the peer.
  901. A peer MUST NOT send a Nak (legacy or expanded) in response to a
  902. Request, after an initial non-Nak Response has been sent. An EAP
  903. server receiving a Response not meeting these requirements MUST
  904. silently discard it.
  905. Type-Data
  906. The Type-Data field varies with the Type of Request and the
  907. associated Response.
  908. 4.2. Success and Failure
  909. The Success packet is sent by the authenticator to the peer after
  910. completion of an EAP authentication method (Type 4 or greater) to
  911. indicate that the peer has authenticated successfully to the
  912. authenticator. The authenticator MUST transmit an EAP packet with
  913. the Code field set to 3 (Success). If the authenticator cannot
  914. authenticate the peer (unacceptable Responses to one or more
  915. Requests), then after unsuccessful completion of the EAP method in
  916. progress, the implementation MUST transmit an EAP packet with the
  917. Aboba, et al. Standards Track [Page 23]
  918. RFC 3748 EAP June 2004
  919. Code field set to 4 (Failure). An authenticator MAY wish to issue
  920. multiple Requests before sending a Failure response in order to allow
  921. for human typing mistakes. Success and Failure packets MUST NOT
  922. contain additional data.
  923. Success and Failure packets MUST NOT be sent by an EAP authenticator
  924. if the specification of the given method does not explicitly permit
  925. the method to finish at that point. A peer EAP implementation
  926. receiving a Success or Failure packet where sending one is not
  927. explicitly permitted MUST silently discard it. By default, an EAP
  928. peer MUST silently discard a "canned" Success packet (a Success
  929. packet sent immediately upon connection). This ensures that a rogue
  930. authenticator will not be able to bypass mutual authentication by
  931. sending a Success packet prior to conclusion of the EAP method
  932. conversation.
  933. Implementation Note: Because the Success and Failure packets are not
  934. acknowledged, they are not retransmitted by the authenticator, and
  935. may be potentially lost. A peer MUST allow for this circumstance as
  936. described in this note. See also Section 3.4 for guidance on the
  937. processing of lower layer success and failure indications.
  938. As described in Section 2.1, only a single EAP authentication method
  939. is allowed within an EAP conversation. EAP methods may implement
  940. result indications. After the authenticator sends a failure result
  941. indication to the peer, regardless of the response from the peer, it
  942. MUST subsequently send a Failure packet. After the authenticator
  943. sends a success result indication to the peer and receives a success
  944. result indication from the peer, it MUST subsequently send a Success
  945. packet.
  946. On the peer, once the method completes unsuccessfully (that is,
  947. either the authenticator sends a failure result indication, or the
  948. peer decides that it does not want to continue the conversation,
  949. possibly after sending a failure result indication), the peer MUST
  950. terminate the conversation and indicate failure to the lower layer.
  951. The peer MUST silently discard Success packets and MAY silently
  952. discard Failure packets. As a result, loss of a Failure packet need
  953. not result in a timeout.
  954. On the peer, after success result indications have been exchanged by
  955. both sides, a Failure packet MUST be silently discarded. The peer
  956. MAY, in the event that an EAP Success is not received, conclude that
  957. the EAP Success packet was lost and that authentication concluded
  958. successfully.
  959. Aboba, et al. Standards Track [Page 24]
  960. RFC 3748 EAP June 2004
  961. If the authenticator has not sent a result indication, and the peer
  962. is willing to continue the conversation, the peer waits for a Success
  963. or Failure packet once the method completes, and MUST NOT silently
  964. discard either of them. In the event that neither a Success nor
  965. Failure packet is received, the peer SHOULD terminate the
  966. conversation to avoid lengthy timeouts in case the lost packet was an
  967. EAP Failure.
  968. If the peer attempts to authenticate to the authenticator and fails
  969. to do so, the authenticator MUST send a Failure packet and MUST NOT
  970. grant access by sending a Success packet. However, an authenticator
  971. MAY omit having the peer authenticate to it in situations where
  972. limited access is offered (e.g., guest access). In this case, the
  973. authenticator MUST send a Success packet.
  974. Where the peer authenticates successfully to the authenticator, but
  975. the authenticator does not send a result indication, the
  976. authenticator MAY deny access by sending a Failure packet where the
  977. peer is not currently authorized for network access.
  978. A summary of the Success and Failure packet format is shown below.
  979. The fields are transmitted from left to right.
  980. 0 1 2 3
  981. 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
  982. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  983. | Code | Identifier | Length |
  984. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  985. Code
  986. 3 for Success
  987. 4 for Failure
  988. Identifier
  989. The Identifier field is one octet and aids in matching replies to
  990. Responses. The Identifier field MUST match the Identifier field
  991. of the Response packet that it is sent in response to.
  992. Length
  993. 4
  994. Aboba, et al. Standards Track [Page 25]
  995. RFC 3748 EAP June 2004
  996. 4.3. Retransmission Behavior
  997. Because the authentication process will often involve user input,
  998. some care must be taken when deciding upon retransmission strategies
  999. and authentication timeouts. By default, where EAP is run over an
  1000. unreliable lower layer, the EAP retransmission timer SHOULD be
  1001. dynamically estimated. A maximum of 3-5 retransmissions is
  1002. suggested.
  1003. When run over a reliable lower layer (e.g., EAP over ISAKMP/TCP, as
  1004. within [PIC]), the authenticator retransmission timer SHOULD be set
  1005. to an infinite value, so that retransmissions do not occur at the EAP
  1006. layer. The peer may still maintain a timeout value so as to avoid
  1007. waiting indefinitely for a Request.
  1008. Where the authentication process requires user input, the measured
  1009. round trip times may be determined by user responsiveness rather than
  1010. network characteristics, so that dynamic RTO estimation may not be
  1011. helpful. Instead, the retransmission timer SHOULD be set so as to
  1012. provide sufficient time for the user to respond, with longer timeouts
  1013. required in certain cases, such as where Token Cards (see Section
  1014. 5.6) are involved.
  1015. In order to provide the EAP authenticator with guidance as to the
  1016. appropriate timeout value, a hint can be communicated to the
  1017. authenticator by the backend authentication server (such as via the
  1018. RADIUS Session-Timeout attribute).
  1019. In order to dynamically estimate the EAP retransmission timer, the
  1020. algorithms for the estimation of SRTT, RTTVAR, and RTO described in
  1021. [RFC2988] are RECOMMENDED, including use of Karn's algorithm, with
  1022. the following potential modifications:
  1023. [a] In order to avoid synchronization behaviors that can occur with
  1024. fixed timers among distributed systems, the retransmission timer
  1025. is calculated with a jitter by using the RTO value and randomly
  1026. adding a value drawn between -RTOmin/2 and RTOmin/2. Alternative
  1027. calculations to create jitter MAY be used. These MUST be
  1028. pseudo-random. For a discussion of pseudo-random number
  1029. generation, see [RFC1750].
  1030. [b] When EAP is transported over a single link (as opposed to over
  1031. the Internet), smaller values of RTOinitial, RTOmin, and RTOmax
  1032. MAY be used. Recommended values are RTOinitial=1 second,
  1033. RTOmin=200ms, and RTOmax=20 seconds.
  1034. Aboba, et al. Standards Track [Page 26]
  1035. RFC 3748 EAP June 2004
  1036. [c] When EAP is transported over a single link (as opposed to over
  1037. the Internet), estimates MAY be done on a per-authenticator
  1038. basis, rather than a per-session basis. This enables the
  1039. retransmission estimate to make the most use of information on
  1040. link-layer behavior.
  1041. [d] An EAP implementation MAY clear SRTT and RTTVAR after backing off
  1042. the timer multiple times, as it is likely that the current SRTT
  1043. and RTTVAR are bogus in this situation. Once SRTT and RTTVAR are
  1044. cleared, they should be initialized with the next RTT sample
  1045. taken as described in [RFC2988] equation 2.2.
  1046. 5. Initial EAP Request/Response Types
  1047. This section defines the initial set of EAP Types used in Request/
  1048. Response exchanges. More Types may be defined in future documents.
  1049. The Type field is one octet and identifies the structure of an EAP
  1050. Request or Response packet. The first 3 Types are considered special
  1051. case Types.
  1052. The remaining Types define authentication exchanges. Nak (Type 3) or
  1053. Expanded Nak (Type 254) are valid only for Response packets, they
  1054. MUST NOT be sent in a Request.
  1055. All EAP implementations MUST support Types 1-4, which are defined in
  1056. this document, and SHOULD support Type 254. Implementations MAY
  1057. support other Types defined here or in future RFCs.
  1058. 1 Identity
  1059. 2 Notification
  1060. 3 Nak (Response only)
  1061. 4 MD5-Challenge
  1062. 5 One Time Password (OTP)
  1063. 6 Generic Token Card (GTC)
  1064. 254 Expanded Types
  1065. 255 Experimental use
  1066. EAP methods MAY support authentication based on shared secrets. If
  1067. the shared secret is a passphrase entered by the user,
  1068. implementations MAY support entering passphrases with non-ASCII
  1069. characters. In this case, the input should be processed using an
  1070. appropriate stringprep [RFC3454] profile, and encoded in octets using
  1071. UTF-8 encoding [RFC2279]. A preliminary version of a possible
  1072. stringprep profile is described in [SASLPREP].
  1073. Aboba, et al. Standards Track [Page 27]
  1074. RFC 3748 EAP June 2004
  1075. 5.1. Identity
  1076. Description
  1077. The Identity Type is used to query the identity of the peer.
  1078. Generally, the authenticator will issue this as the initial
  1079. Request. An optional displayable message MAY be included to
  1080. prompt the peer in the case where there is an expectation of
  1081. interaction with a user. A Response of Type 1 (Identity) SHOULD
  1082. be sent in Response to a Request with a Type of 1 (Identity).
  1083. Some EAP implementations piggy-back various options into the
  1084. Identity Request after a NUL-character. By default, an EAP
  1085. implementation SHOULD NOT assume that an Identity Request or
  1086. Response can be larger than 1020 octets.
  1087. It is RECOMMENDED that the Identity Response be used primarily for
  1088. routing purposes and selecting which EAP method to use. EAP
  1089. Methods SHOULD include a method-specific mechanism for obtaining
  1090. the identity, so that they do not have to rely on the Identity
  1091. Response. Identity Requests and Responses are sent in cleartext,
  1092. so an attacker may snoop on the identity, or even modify or spoof
  1093. identity exchanges. To address these threats, it is preferable
  1094. for an EAP method to include an identity exchange that supports
  1095. per-packet authentication, integrity and replay protection, and
  1096. confidentiality. The Identity Response may not be the appropriate
  1097. identity for the method; it may have been truncated or obfuscated
  1098. so as to provide privacy, or it may have been decorated for
  1099. routing purposes. Where the peer is configured to only accept
  1100. authentication methods supporting protected identity exchanges,
  1101. the peer MAY provide an abbreviated Identity Response (such as
  1102. omitting the peer-name portion of the NAI [RFC2486]). For further
  1103. discussion of identity protection, see Section 7.3.
  1104. Implementation Note: The peer MAY obtain the Identity via user input.
  1105. It is suggested that the authenticator retry the Identity Request in
  1106. the case of an invalid Identity or authentication failure to allow
  1107. for potential typos on the part of the user. It is suggested that
  1108. the Identity Request be retried a minimum of 3 times before
  1109. terminating the authentication. The Notification Request MAY be used
  1110. to indicate an invalid authentication attempt prior to transmitting a
  1111. new Identity Request (optionally, the failure MAY be indicated within
  1112. the message of the new Identity Request itself).
  1113. Aboba, et al. Standards Track [Page 28]
  1114. RFC 3748 EAP June 2004
  1115. Type
  1116. 1
  1117. Type-Data
  1118. This field MAY contain a displayable message in the Request,
  1119. containing UTF-8 encoded ISO 10646 characters [RFC2279]. Where
  1120. the Request contains a null, only the portion of the field prior
  1121. to the null is displayed. If the Identity is unknown, the
  1122. Identity Response field should be zero bytes in length. The
  1123. Identity Response field MUST NOT be null terminated. In all
  1124. cases, the length of the Type-Data field is derived from the
  1125. Length field of the Request/Response packet.
  1126. Security Claims (see Section 7.2):
  1127. Auth. mechanism: None
  1128. Ciphersuite negotiation: No
  1129. Mutual authentication: No
  1130. Integrity protection: No
  1131. Replay protection: No
  1132. Confidentiality: No
  1133. Key derivation: No
  1134. Key strength: N/A
  1135. Dictionary attack prot.: N/A
  1136. Fast reconnect: No
  1137. Crypt. binding: N/A
  1138. Session independence: N/A
  1139. Fragmentation: No
  1140. Channel binding: No
  1141. 5.2. Notification
  1142. Description
  1143. The Notification Type is optionally used to convey a displayable
  1144. message from the authenticator to the peer. An authenticator MAY
  1145. send a Notification Request to the peer at any time when there is
  1146. no outstanding Request, prior to completion of an EAP
  1147. authentication method. The peer MUST respond to a Notification
  1148. Request with a Notification Response unless the EAP authentication
  1149. method specification prohibits the use of Notification messages.
  1150. In any case, a Nak Response MUST NOT be sent in response to a
  1151. Notification Request. Note that the default maximum length of a
  1152. Notification Request is 1020 octets. By default, this leaves at
  1153. most 1015 octets for the human readable message.
  1154. Aboba, et al. Standards Track [Page 29]
  1155. RFC 3748 EAP June 2004
  1156. An EAP method MAY indicate within its specification that
  1157. Notification messages must not be sent during that method. In
  1158. this case, the peer MUST silently discard Notification Requests
  1159. from the point where an initial Request for that Type is answered
  1160. with a Response of the same Type.
  1161. The peer SHOULD display this message to the user or log it if it
  1162. cannot be displayed. The Notification Type is intended to provide
  1163. an acknowledged notification of some imperative nature, but it is
  1164. not an error indication, and therefore does not change the state
  1165. of the peer. Examples include a password with an expiration time
  1166. that is about to expire, an OTP sequence integer which is nearing
  1167. 0, an authentication failure warning, etc. In most circumstances,
  1168. Notification should not be required.
  1169. Type
  1170. 2
  1171. Type-Data
  1172. The Type-Data field in the Request contains a displayable message
  1173. greater than zero octets in length, containing UTF-8 encoded ISO
  1174. 10646 characters [RFC2279]. The length of the message is
  1175. determined by the Length field of the Request packet. The message
  1176. MUST NOT be null terminated. A Response MUST be sent in reply to
  1177. the Request with a Type field of 2 (Notification). The Type-Data
  1178. field of the Response is zero octets in length. The Response
  1179. should be sent immediately (independent of how the message is
  1180. displayed or logged).
  1181. Security Claims (see Section 7.2):
  1182. Auth. mechanism: None
  1183. Ciphersuite negotiation: No
  1184. Mutual authentication: No
  1185. Integrity protection: No
  1186. Replay protection: No
  1187. Confidentiality: No
  1188. Key derivation: No
  1189. Key strength: N/A
  1190. Dictionary attack prot.: N/A
  1191. Fast reconnect: No
  1192. Crypt. binding: N/A
  1193. Session independence: N/A
  1194. Fragmentation: No
  1195. Channel binding: No
  1196. Aboba, et al. Standards Track [Page 30]
  1197. RFC 3748 EAP June 2004
  1198. 5.3. Nak
  1199. 5.3.1. Legacy Nak
  1200. Description
  1201. The legacy Nak Type is valid only in Response messages. It is
  1202. sent in reply to a Request where the desired authentication Type
  1203. is unacceptable. Authentication Types are numbered 4 and above.
  1204. The Response contains one or more authentication Types desired by
  1205. the Peer. Type zero (0) is used to indicate that the sender has
  1206. no viable alternatives, and therefore the authenticator SHOULD NOT
  1207. send another Request after receiving a Nak Response containing a
  1208. zero value.
  1209. Since the legacy Nak Type is valid only in Responses and has very
  1210. limited functionality, it MUST NOT be used as a general purpose
  1211. error indication, such as for communication of error messages, or
  1212. negotiation of parameters specific to a particular EAP method.
  1213. Code
  1214. 2 for Response.
  1215. Identifier
  1216. The Identifier field is one octet and aids in matching Responses
  1217. with Requests. The Identifier field of a legacy Nak Response MUST
  1218. match the Identifier field of the Request packet that it is sent
  1219. in response to.
  1220. Length
  1221. >=6
  1222. Type
  1223. 3
  1224. Type-Data
  1225. Where a peer receives a Request for an unacceptable authentication
  1226. Type (4-253,255), or a peer lacking support for Expanded Types
  1227. receives a Request for Type 254, a Nak Response (Type 3) MUST be
  1228. sent. The Type-Data field of the Nak Response (Type 3) MUST
  1229. contain one or more octets indicating the desired authentication
  1230. Type(s), one octet per Type, or the value zero (0) to indicate no
  1231. proposed alternative. A peer supporting Expanded Types that
  1232. Aboba, et al. Standards Track [Page 31]
  1233. RFC 3748 EAP June 2004
  1234. receives a Request for an unacceptable authentication Type (4-253,
  1235. 255) MAY include the value 254 in the Nak Response (Type 3) to
  1236. indicate the desire for an Expanded authentication Type. If the
  1237. authenticator can accommodate this preference, it will respond
  1238. with an Expanded Type Request (Type 254).
  1239. Security Claims (see Section 7.2):
  1240. Auth. mechanism: None
  1241. Ciphersuite negotiation: No
  1242. Mutual authentication: No
  1243. Integrity protection: No
  1244. Replay protection: No
  1245. Confidentiality: No
  1246. Key derivation: No
  1247. Key strength: N/A
  1248. Dictionary attack prot.: N/A
  1249. Fast reconnect: No
  1250. Crypt. binding: N/A
  1251. Session independence: N/A
  1252. Fragmentation: No
  1253. Channel binding: No
  1254. 5.3.2. Expanded Nak
  1255. Description
  1256. The Expanded Nak Type is valid only in Response messages. It MUST
  1257. be sent only in reply to a Request of Type 254 (Expanded Type)
  1258. where the authentication Type is unacceptable. The Expanded Nak
  1259. Type uses the Expanded Type format itself, and the Response
  1260. contains one or more authentication Types desired by the peer, all
  1261. in Expanded Type format. Type zero (0) is used to indicate that
  1262. the sender has no viable alternatives. The general format of the
  1263. Expanded Type is described in Section 5.7.
  1264. Since the Expanded Nak Type is valid only in Responses and has
  1265. very limited functionality, it MUST NOT be used as a general
  1266. purpose error indication, such as for communication of error
  1267. messages, or negotiation of parameters specific to a particular
  1268. EAP method.
  1269. Code
  1270. 2 for Response.
  1271. Aboba, et al. Standards Track [Page 32]
  1272. RFC 3748 EAP June 2004
  1273. Identifier
  1274. The Identifier field is one octet and aids in matching Responses
  1275. with Requests. The Identifier field of an Expanded Nak Response
  1276. MUST match the Identifier field of the Request packet that it is
  1277. sent in response to.
  1278. Length
  1279. >=20
  1280. Type
  1281. 254
  1282. Vendor-Id
  1283. 0 (IETF)
  1284. Vendor-Type
  1285. 3 (Nak)
  1286. Vendor-Data
  1287. The Expanded Nak Type is only sent when the Request contains an
  1288. Expanded Type (254) as defined in Section 5.7. The Vendor-Data
  1289. field of the Nak Response MUST contain one or more authentication
  1290. Types (4 or greater), all in expanded format, 8 octets per Type,
  1291. or the value zero (0), also in Expanded Type format, to indicate
  1292. no proposed alternative. The desired authentication Types may
  1293. include a mixture of Vendor-Specific and IETF Types. For example,
  1294. an Expanded Nak Response indicating a preference for OTP (Type 5),
  1295. and an MIT (Vendor-Id=20) Expanded Type of 6 would appear as
  1296. follows:
  1297. Aboba, et al. Standards Track [Page 33]
  1298. RFC 3748 EAP June 2004
  1299. 0 1 2 3
  1300. 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
  1301. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1302. | 2 | Identifier | Length=28 |
  1303. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1304. | Type=254 | 0 (IETF) |
  1305. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1306. | 3 (Nak) |
  1307. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1308. | Type=254 | 0 (IETF) |
  1309. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1310. | 5 (OTP) |
  1311. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1312. | Type=254 | 20 (MIT) |
  1313. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1314. | 6 |
  1315. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1316. An Expanded Nak Response indicating a no desired alternative would
  1317. appear as follows:
  1318. 0 1 2 3
  1319. 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
  1320. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1321. | 2 | Identifier | Length=20 |
  1322. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1323. | Type=254 | 0 (IETF) |
  1324. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1325. | 3 (Nak) |
  1326. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1327. | Type=254 | 0 (IETF) |
  1328. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1329. | 0 (No alternative) |
  1330. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1331. Security Claims (see Section 7.2):
  1332. Auth. mechanism: None
  1333. Ciphersuite negotiation: No
  1334. Mutual authentication: No
  1335. Integrity protection: No
  1336. Replay protection: No
  1337. Confidentiality: No
  1338. Key derivation: No
  1339. Key strength: N/A
  1340. Dictionary attack prot.: N/A
  1341. Fast reconnect: No
  1342. Crypt. binding: N/A
  1343. Aboba, et al. Standards Track [Page 34]
  1344. RFC 3748 EAP June 2004
  1345. Session independence: N/A
  1346. Fragmentation: No
  1347. Channel binding: No
  1348. 5.4. MD5-Challenge
  1349. Description
  1350. The MD5-Challenge Type is analogous to the PPP CHAP protocol
  1351. [RFC1994] (with MD5 as the specified algorithm). The Request
  1352. contains a "challenge" message to the peer. A Response MUST be
  1353. sent in reply to the Request. The Response MAY be either of Type
  1354. 4 (MD5-Challenge), Nak (Type 3), or Expanded Nak (Type 254). The
  1355. Nak reply indicates the peer's desired authentication Type(s).
  1356. EAP peer and EAP server implementations MUST support the MD5-
  1357. Challenge mechanism. An authenticator that supports only pass-
  1358. through MUST allow communication with a backend authentication
  1359. server that is capable of supporting MD5-Challenge, although the
  1360. EAP authenticator implementation need not support MD5-Challenge
  1361. itself. However, if the EAP authenticator can be configured to
  1362. authenticate peers locally (e.g., not operate in pass-through),
  1363. then the requirement for support of the MD5-Challenge mechanism
  1364. applies.
  1365. Note that the use of the Identifier field in the MD5-Challenge
  1366. Type is different from that described in [RFC1994]. EAP allows
  1367. for retransmission of MD5-Challenge Request packets, while
  1368. [RFC1994] states that both the Identifier and Challenge fields
  1369. MUST change each time a Challenge (the CHAP equivalent of the
  1370. MD5-Challenge Request packet) is sent.
  1371. Note: [RFC1994] treats the shared secret as an octet string, and
  1372. does not specify how it is entered into the system (or if it is
  1373. handled by the user at all). EAP MD5-Challenge implementations
  1374. MAY support entering passphrases with non-ASCII characters. See
  1375. Section 5 for instructions how the input should be processed and
  1376. encoded into octets.
  1377. Type
  1378. 4
  1379. Type-Data
  1380. The contents of the Type-Data field is summarized below. For
  1381. reference on the use of these fields, see the PPP Challenge
  1382. Handshake Authentication Protocol [RFC1994].
  1383. Aboba, et al. Standards Track [Page 35]
  1384. RFC 3748 EAP June 2004
  1385. 0 1 2 3
  1386. 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
  1387. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1388. | Value-Size | Value ...
  1389. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1390. | Name ...
  1391. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1392. Security Claims (see Section 7.2):
  1393. Auth. mechanism: Password or pre-shared key.
  1394. Ciphersuite negotiation: No
  1395. Mutual authentication: No
  1396. Integrity protection: No
  1397. Replay protection: No
  1398. Confidentiality: No
  1399. Key derivation: No
  1400. Key strength: N/A
  1401. Dictionary attack prot.: No
  1402. Fast reconnect: No
  1403. Crypt. binding: N/A
  1404. Session independence: N/A
  1405. Fragmentation: No
  1406. Channel binding: No
  1407. 5.5. One-Time Password (OTP)
  1408. Description
  1409. The One-Time Password system is defined in "A One-Time Password
  1410. System" [RFC2289] and "OTP Extended Responses" [RFC2243]. The
  1411. Request contains an OTP challenge in the format described in
  1412. [RFC2289]. A Response MUST be sent in reply to the Request. The
  1413. Response MUST be of Type 5 (OTP), Nak (Type 3), or Expanded Nak
  1414. (Type 254). The Nak Response indicates the peer's desired
  1415. authentication Type(s). The EAP OTP method is intended for use
  1416. with the One-Time Password system only, and MUST NOT be used to
  1417. provide support for cleartext passwords.
  1418. Type
  1419. 5
  1420. Aboba, et al. Standards Track [Page 36]
  1421. RFC 3748 EAP June 2004
  1422. Type-Data
  1423. The Type-Data field contains the OTP "challenge" as a displayable
  1424. message in the Request. In the Response, this field is used for
  1425. the 6 words from the OTP dictionary [RFC2289]. The messages MUST
  1426. NOT be null terminated. The length of the field is derived from
  1427. the Length field of the Request/Reply packet.
  1428. Note: [RFC2289] does not specify how the secret pass-phrase is
  1429. entered by the user, or how the pass-phrase is converted into
  1430. octets. EAP OTP implementations MAY support entering passphrases
  1431. with non-ASCII characters. See Section 5 for instructions on how
  1432. the input should be processed and encoded into octets.
  1433. Security Claims (see Section 7.2):
  1434. Auth. mechanism: One-Time Password
  1435. Ciphersuite negotiation: No
  1436. Mutual authentication: No
  1437. Integrity protection: No
  1438. Replay protection: Yes
  1439. Confidentiality: No
  1440. Key derivation: No
  1441. Key strength: N/A
  1442. Dictionary attack prot.: No
  1443. Fast reconnect: No
  1444. Crypt. binding: N/A
  1445. Session independence: N/A
  1446. Fragmentation: No
  1447. Channel binding: No
  1448. 5.6. Generic Token Card (GTC)
  1449. Description
  1450. The Generic Token Card Type is defined for use with various Token
  1451. Card implementations which require user input. The Request
  1452. contains a displayable message and the Response contains the Token
  1453. Card information necessary for authentication. Typically, this
  1454. would be information read by a user from the Token card device and
  1455. entered as ASCII text. A Response MUST be sent in reply to the
  1456. Request. The Response MUST be of Type 6 (GTC), Nak (Type 3), or
  1457. Expanded Nak (Type 254). The Nak Response indicates the peer's
  1458. desired authentication Type(s). The EAP GTC method is intended
  1459. for use with the Token Cards supporting challenge/response
  1460. Aboba, et al. Standards Track [Page 37]
  1461. RFC 3748 EAP June 2004
  1462. authentication and MUST NOT be used to provide support for
  1463. cleartext passwords in the absence of a protected tunnel with
  1464. server authentication.
  1465. Type
  1466. 6
  1467. Type-Data
  1468. The Type-Data field in the Request contains a displayable message
  1469. greater than zero octets in length. The length of the message is
  1470. determined by the Length field of the Request packet. The message
  1471. MUST NOT be null terminated. A Response MUST be sent in reply to
  1472. the Request with a Type field of 6 (Generic Token Card). The
  1473. Response contains data from the Token Card required for
  1474. authentication. The length of the data is determined by the
  1475. Length field of the Response packet.
  1476. EAP GTC implementations MAY support entering a response with non-
  1477. ASCII characters. See Section 5 for instructions how the input
  1478. should be processed and encoded into octets.
  1479. Security Claims (see Section 7.2):
  1480. Auth. mechanism: Hardware token.
  1481. Ciphersuite negotiation: No
  1482. Mutual authentication: No
  1483. Integrity protection: No
  1484. Replay protection: No
  1485. Confidentiality: No
  1486. Key derivation: No
  1487. Key strength: N/A
  1488. Dictionary attack prot.: No
  1489. Fast reconnect: No
  1490. Crypt. binding: N/A
  1491. Session independence: N/A
  1492. Fragmentation: No
  1493. Channel binding: No
  1494. 5.7. Expanded Types
  1495. Description
  1496. Since many of the existing uses of EAP are vendor-specific, the
  1497. Expanded method Type is available to allow vendors to support
  1498. their own Expanded Types not suitable for general usage.
  1499. Aboba, et al. Standards Track [Page 38]
  1500. RFC 3748 EAP June 2004
  1501. The Expanded Type is also used to expand the global Method Type
  1502. space beyond the original 255 values. A Vendor-Id of 0 maps the
  1503. original 255 possible Types onto a space of 2^32-1 possible Types.
  1504. (Type 0 is only used in a Nak Response to indicate no acceptable
  1505. alternative).
  1506. An implementation that supports the Expanded attribute MUST treat
  1507. EAP Types that are less than 256 equivalently, whether they appear
  1508. as a single octet or as the 32-bit Vendor-Type within an Expanded
  1509. Type where Vendor-Id is 0. Peers not equipped to interpret the
  1510. Expanded Type MUST send a Nak as described in Section 5.3.1, and
  1511. negotiate a more suitable authentication method.
  1512. A summary of the Expanded Type format is shown below. The fields
  1513. are transmitted from left to right.
  1514. 0 1 2 3
  1515. 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
  1516. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1517. | Type | Vendor-Id |
  1518. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1519. | Vendor-Type |
  1520. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1521. | Vendor data...
  1522. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1523. Type
  1524. 254 for Expanded Type
  1525. Vendor-Id
  1526. The Vendor-Id is 3 octets and represents the SMI Network
  1527. Management Private Enterprise Code of the Vendor in network byte
  1528. order, as allocated by IANA. A Vendor-Id of zero is reserved for
  1529. use by the IETF in providing an expanded global EAP Type space.
  1530. Vendor-Type
  1531. The Vendor-Type field is four octets and represents the vendor-
  1532. specific method Type.
  1533. If the Vendor-Id is zero, the Vendor-Type field is an extension
  1534. and superset of the existing namespace for EAP Types. The first
  1535. 256 Types are reserved for compatibility with single-octet EAP
  1536. Types that have already been assigned or may be assigned in the
  1537. future. Thus, EAP Types from 0 through 255 are semantically
  1538. identical, whether they appear as single octet EAP Types or as
  1539. Aboba, et al. Standards Track [Page 39]
  1540. RFC 3748 EAP June 2004
  1541. Vendor-Types when Vendor-Id is zero. There is one exception to
  1542. this rule: Expanded Nak and Legacy Nak packets share the same
  1543. Type, but must be treated differently because they have a
  1544. different format.
  1545. Vendor-Data
  1546. The Vendor-Data field is defined by the vendor. Where a Vendor-Id
  1547. of zero is present, the Vendor-Data field will be used for
  1548. transporting the contents of EAP methods of Types defined by the
  1549. IETF.
  1550. 5.8. Experimental
  1551. Description
  1552. The Experimental Type has no fixed format or content. It is
  1553. intended for use when experimenting with new EAP Types. This Type
  1554. is intended for experimental and testing purposes. No guarantee
  1555. is made for interoperability between peers using this Type, as
  1556. outlined in [RFC3692].
  1557. Type
  1558. 255
  1559. Type-Data
  1560. Undefined
  1561. 6. IANA Considerations
  1562. This section provides guidance to the Internet Assigned Numbers
  1563. Authority (IANA) regarding registration of values related to the EAP
  1564. protocol, in accordance with BCP 26, [RFC2434].
  1565. There are two name spaces in EAP that require registration: Packet
  1566. Codes and method Types.
  1567. EAP is not intended as a general-purpose protocol, and allocations
  1568. SHOULD NOT be made for purposes unrelated to authentication.
  1569. The following terms are used here with the meanings defined in BCP
  1570. 26: "name space", "assigned value", "registration".
  1571. The following policies are used here with the meanings defined in BCP
  1572. 26: "Private Use", "First Come First Served", "Expert Review",
  1573. "Specification Required", "IETF Consensus", "Standards Action".
  1574. Aboba, et al. Standards Track [Page 40]
  1575. RFC 3748 EAP June 2004
  1576. For registration requests where a Designated Expert should be
  1577. consulted, the responsible IESG area director should appoint the
  1578. Designated Expert. The intention is that any allocation will be
  1579. accompanied by a published RFC. But in order to allow for the
  1580. allocation of values prior to the RFC being approved for publication,
  1581. the Designated Expert can approve allocations once it seems clear
  1582. that an RFC will be published. The Designated expert will post a
  1583. request to the EAP WG mailing list (or a successor designated by the
  1584. Area Director) for comment and review, including an Internet-Draft.
  1585. Before a period of 30 days has passed, the Designated Expert will
  1586. either approve or deny the registration request and publish a notice
  1587. of the decision to the EAP WG mailing list or its successor, as well
  1588. as informing IANA. A denial notice must be justified by an
  1589. explanation, and in the cases where it is possible, concrete
  1590. suggestions on how the request can be modified so as to become
  1591. acceptable should be provided.
  1592. 6.1. Packet Codes
  1593. Packet Codes have a range from 1 to 255, of which 1-4 have been
  1594. allocated. Because a new Packet Code has considerable impact on
  1595. interoperability, a new Packet Code requires Standards Action, and
  1596. should be allocated starting at 5.
  1597. 6.2. Method Types
  1598. The original EAP method Type space has a range from 1 to 255, and is
  1599. the scarcest resource in EAP, and thus must be allocated with care.
  1600. Method Types 1-45 have been allocated, with 20 available for re-use.
  1601. Method Types 20 and 46-191 may be allocated on the advice of a
  1602. Designated Expert, with Specification Required.
  1603. Allocation of blocks of method Types (more than one for a given
  1604. purpose) should require IETF Consensus. EAP Type Values 192-253 are
  1605. reserved and allocation requires Standards Action.
  1606. Method Type 254 is allocated for the Expanded Type. Where the
  1607. Vendor-Id field is non-zero, the Expanded Type is used for functions
  1608. specific only to one vendor's implementation of EAP, where no
  1609. interoperability is deemed useful. When used with a Vendor-Id of
  1610. zero, method Type 254 can also be used to provide for an expanded
  1611. IETF method Type space. Method Type values 256-4294967295 may be
  1612. allocated after Type values 1-191 have been allocated, on the advice
  1613. of a Designated Expert, with Specification Required.
  1614. Method Type 255 is allocated for Experimental use, such as testing of
  1615. new EAP methods before a permanent Type is allocated.
  1616. Aboba, et al. Standards Track [Page 41]
  1617. RFC 3748 EAP June 2004
  1618. 7. Security Considerations
  1619. This section defines a generic threat model as well as the EAP method
  1620. security claims mitigating those threats.
  1621. It is expected that the generic threat model and corresponding
  1622. security claims will used to define EAP method requirements for use
  1623. in specific environments. An example of such a requirements analysis
  1624. is provided in [IEEE-802.11i-req]. A security claims section is
  1625. required in EAP method specifications, so that EAP methods can be
  1626. evaluated against the requirements.
  1627. 7.1. Threat Model
  1628. EAP was developed for use with PPP [RFC1661] and was later adapted
  1629. for use in wired IEEE 802 networks [IEEE-802] in [IEEE-802.1X].
  1630. Subsequently, EAP has been proposed for use on wireless LAN networks
  1631. and over the Internet. In all these situations, it is possible for
  1632. an attacker to gain access to links over which EAP packets are
  1633. transmitted. For example, attacks on telephone infrastructure are
  1634. documented in [DECEPTION].
  1635. An attacker with access to the link may carry out a number of
  1636. attacks, including:
  1637. [1] An attacker may try to discover user identities by snooping
  1638. authentication traffic.
  1639. [2] An attacker may try to modify or spoof EAP packets.
  1640. [3] An attacker may launch denial of service attacks by spoofing
  1641. lower layer indications or Success/Failure packets, by replaying
  1642. EAP packets, or by generating packets with overlapping
  1643. Identifiers.
  1644. [4] An attacker may attempt to recover the pass-phrase by mounting
  1645. an offline dictionary attack.
  1646. [5] An attacker may attempt to convince the peer to connect to an
  1647. untrusted network by mounting a man-in-the-middle attack.
  1648. [6] An attacker may attempt to disrupt the EAP negotiation in order
  1649. cause a weak authentication method to be selected.
  1650. [7] An attacker may attempt to recover keys by taking advantage of
  1651. weak key derivation techniques used within EAP methods.
  1652. Aboba, et al. Standards Track [Page 42]
  1653. RFC 3748 EAP June 2004
  1654. [8] An attacker may attempt to take advantage of weak ciphersuites
  1655. subsequently used after the EAP conversation is complete.
  1656. [9] An attacker may attempt to perform downgrading attacks on lower
  1657. layer ciphersuite negotiation in order to ensure that a weaker
  1658. ciphersuite is used subsequently to EAP authentication.
  1659. [10] An attacker acting as an authenticator may provide incorrect
  1660. information to the EAP peer and/or server via out-of-band
  1661. mechanisms (such as via a AAA or lower layer protocol). This
  1662. includes impersonating another authenticator, or providing
  1663. inconsistent information to the peer and EAP server.
  1664. Depending on the lower layer, these attacks may be carried out
  1665. without requiring physical proximity. Where EAP is used over
  1666. wireless networks, EAP packets may be forwarded by authenticators
  1667. (e.g., pre-authentication) so that the attacker need not be within
  1668. the coverage area of an authenticator in order to carry out an attack
  1669. on it or its peers. Where EAP is used over the Internet, attacks may
  1670. be carried out at an even greater distance.
  1671. 7.2. Security Claims
  1672. In order to clearly articulate the security provided by an EAP
  1673. method, EAP method specifications MUST include a Security Claims
  1674. section, including the following declarations:
  1675. [a] Mechanism. This is a statement of the authentication technology:
  1676. certificates, pre-shared keys, passwords, token cards, etc.
  1677. [b] Security claims. This is a statement of the claimed security
  1678. properties of the method, using terms defined in Section 7.2.1:
  1679. mutual authentication, integrity protection, replay protection,
  1680. confidentiality, key derivation, dictionary attack resistance,
  1681. fast reconnect, cryptographic binding. The Security Claims
  1682. section of an EAP method specification SHOULD provide
  1683. justification for the claims that are made. This can be
  1684. accomplished by including a proof in an Appendix, or including a
  1685. reference to a proof.
  1686. [c] Key strength. If the method derives keys, then the effective key
  1687. strength MUST be estimated. This estimate is meant for potential
  1688. users of the method to determine if the keys produced are strong
  1689. enough for the intended application.
  1690. Aboba, et al. Standards Track [Page 43]
  1691. RFC 3748 EAP June 2004
  1692. The effective key strength SHOULD be stated as a number of bits,
  1693. defined as follows: If the effective key strength is N bits, the
  1694. best currently known methods to recover the key (with non-
  1695. negligible probability) require, on average, an effort comparable
  1696. to 2^(N-1) operations of a typical block cipher. The statement
  1697. SHOULD be accompanied by a short rationale, explaining how this
  1698. number was derived. This explanation SHOULD include the
  1699. parameters required to achieve the stated key strength based on
  1700. current knowledge of the algorithms.
  1701. (Note: Although it is difficult to define what "comparable
  1702. effort" and "typical block cipher" exactly mean, reasonable
  1703. approximations are sufficient here. Refer to e.g. [SILVERMAN]
  1704. for more discussion.)
  1705. The key strength depends on the methods used to derive the keys.
  1706. For instance, if keys are derived from a shared secret (such as a
  1707. password or a long-term secret), and possibly some public
  1708. information such as nonces, the effective key strength is limited
  1709. by the strength of the long-term secret (assuming that the
  1710. derivation procedure is computationally simple). To take another
  1711. example, when using public key algorithms, the strength of the
  1712. symmetric key depends on the strength of the public keys used.
  1713. [d] Description of key hierarchy. EAP methods deriving keys MUST
  1714. either provide a reference to a key hierarchy specification, or
  1715. describe how Master Session Keys (MSKs) and Extended Master
  1716. Session Keys (EMSKs) are to be derived.
  1717. [e] Indication of vulnerabilities. In addition to the security
  1718. claims that are made, the specification MUST indicate which of
  1719. the security claims detailed in Section 7.2.1 are NOT being made.
  1720. 7.2.1. Security Claims Terminology for EAP Methods
  1721. These terms are used to describe the security properties of EAP
  1722. methods:
  1723. Protected ciphersuite negotiation
  1724. This refers to the ability of an EAP method to negotiate the
  1725. ciphersuite used to protect the EAP conversation, as well as to
  1726. integrity protect the negotiation. It does not refer to the
  1727. ability to negotiate the ciphersuite used to protect data.
  1728. Aboba, et al. Standards Track [Page 44]
  1729. RFC 3748 EAP June 2004
  1730. Mutual authentication
  1731. This refers to an EAP method in which, within an interlocked
  1732. exchange, the authenticator authenticates the peer and the peer
  1733. authenticates the authenticator. Two independent one-way methods,
  1734. running in opposite directions do not provide mutual
  1735. authentication as defined here.
  1736. Integrity protection
  1737. This refers to providing data origin authentication and protection
  1738. against unauthorized modification of information for EAP packets
  1739. (including EAP Requests and Responses). When making this claim, a
  1740. method specification MUST describe the EAP packets and fields
  1741. within the EAP packet that are protected.
  1742. Replay protection
  1743. This refers to protection against replay of an EAP method or its
  1744. messages, including success and failure result indications.
  1745. Confidentiality
  1746. This refers to encryption of EAP messages, including EAP Requests
  1747. and Responses, and success and failure result indications. A
  1748. method making this claim MUST support identity protection (see
  1749. Section 7.3).
  1750. Key derivation
  1751. This refers to the ability of the EAP method to derive exportable
  1752. keying material, such as the Master Session Key (MSK), and
  1753. Extended Master Session Key (EMSK). The MSK is used only for
  1754. further key derivation, not directly for protection of the EAP
  1755. conversation or subsequent data. Use of the EMSK is reserved.
  1756. Key strength
  1757. If the effective key strength is N bits, the best currently known
  1758. methods to recover the key (with non-negligible probability)
  1759. require, on average, an effort comparable to 2^(N-1) operations of
  1760. a typical block cipher.
  1761. Dictionary attack resistance
  1762. Where password authentication is used, passwords are commonly
  1763. selected from a small set (as compared to a set of N-bit keys),
  1764. which raises a concern about dictionary attacks. A method may be
  1765. said to provide protection against dictionary attacks if, when it
  1766. uses a password as a secret, the method does not allow an offline
  1767. attack that has a work factor based on the number of passwords in
  1768. an attacker's dictionary.
  1769. Aboba, et al. Standards Track [Page 45]
  1770. RFC 3748 EAP June 2004
  1771. Fast reconnect
  1772. The ability, in the case where a security association has been
  1773. previously established, to create a new or refreshed security
  1774. association more efficiently or in a smaller number of round-
  1775. trips.
  1776. Cryptographic binding
  1777. The demonstration of the EAP peer to the EAP server that a single
  1778. entity has acted as the EAP peer for all methods executed within a
  1779. tunnel method. Binding MAY also imply that the EAP server
  1780. demonstrates to the peer that a single entity has acted as the EAP
  1781. server for all methods executed within a tunnel method. If
  1782. executed correctly, binding serves to mitigate man-in-the-middle
  1783. vulnerabilities.
  1784. Session independence
  1785. The demonstration that passive attacks (such as capture of the EAP
  1786. conversation) or active attacks (including compromise of the MSK
  1787. or EMSK) does not enable compromise of subsequent or prior MSKs or
  1788. EMSKs.
  1789. Fragmentation
  1790. This refers to whether an EAP method supports fragmentation and
  1791. reassembly. As noted in Section 3.1, EAP methods should support
  1792. fragmentation and reassembly if EAP packets can exceed the minimum
  1793. MTU of 1020 octets.
  1794. Channel binding
  1795. The communication within an EAP method of integrity-protected
  1796. channel properties such as endpoint identifiers which can be
  1797. compared to values communicated via out of band mechanisms (such
  1798. as via a AAA or lower layer protocol).
  1799. Note: This list of security claims is not exhaustive. Additional
  1800. properties, such as additional denial-of-service protection, may be
  1801. relevant as well.
  1802. 7.3. Identity Protection
  1803. An Identity exchange is optional within the EAP conversation.
  1804. Therefore, it is possible to omit the Identity exchange entirely, or
  1805. to use a method-specific identity exchange once a protected channel
  1806. has been established.
  1807. However, where roaming is supported as described in [RFC2607], it may
  1808. be necessary to locate the appropriate backend authentication server
  1809. before the authentication conversation can proceed. The realm
  1810. portion of the Network Access Identifier (NAI) [RFC2486] is typically
  1811. Aboba, et al. Standards Track [Page 46]
  1812. RFC 3748 EAP June 2004
  1813. included within the EAP-Response/Identity in order to enable the
  1814. authentication exchange to be routed to the appropriate backend
  1815. authentication server. Therefore, while the peer-name portion of the
  1816. NAI may be omitted in the EAP-Response/Identity where proxies or
  1817. relays are present, the realm portion may be required.
  1818. It is possible for the identity in the identity response to be
  1819. different from the identity authenticated by the EAP method. This
  1820. may be intentional in the case of identity privacy. An EAP method
  1821. SHOULD use the authenticated identity when making access control
  1822. decisions.
  1823. 7.4. Man-in-the-Middle Attacks
  1824. Where EAP is tunneled within another protocol that omits peer
  1825. authentication, there exists a potential vulnerability to a man-in-
  1826. the-middle attack. For details, see [BINDING] and [MITM].
  1827. As noted in Section 2.1, EAP does not permit untunneled sequences of
  1828. authentication methods. Were a sequence of EAP authentication
  1829. methods to be permitted, the peer might not have proof that a single
  1830. entity has acted as the authenticator for all EAP methods within the
  1831. sequence. For example, an authenticator might terminate one EAP
  1832. method, then forward the next method in the sequence to another party
  1833. without the peer's knowledge or consent. Similarly, the
  1834. authenticator might not have proof that a single entity has acted as
  1835. the peer for all EAP methods within the sequence.
  1836. Tunneling EAP within another protocol enables an attack by a rogue
  1837. EAP authenticator tunneling EAP to a legitimate server. Where the
  1838. tunneling protocol is used for key establishment but does not require
  1839. peer authentication, an attacker convincing a legitimate peer to
  1840. connect to it will be able to tunnel EAP packets to a legitimate
  1841. server, successfully authenticating and obtaining the key. This
  1842. allows the attacker to successfully establish itself as a man-in-
  1843. the-middle, gaining access to the network, as well as the ability to
  1844. decrypt data traffic between the legitimate peer and server.
  1845. This attack may be mitigated by the following measures:
  1846. [a] Requiring mutual authentication within EAP tunneling mechanisms.
  1847. [b] Requiring cryptographic binding between the EAP tunneling
  1848. protocol and the tunneled EAP methods. Where cryptographic
  1849. binding is supported, a mechanism is also needed to protect
  1850. against downgrade attacks that would bypass it. For further
  1851. details on cryptographic binding, see [BINDING].
  1852. Aboba, et al. Standards Track [Page 47]
  1853. RFC 3748 EAP June 2004
  1854. [c] Limiting the EAP methods authorized for use without protection,
  1855. based on peer and authenticator policy.
  1856. [d] Avoiding the use of tunnels when a single, strong method is
  1857. available.
  1858. 7.5. Packet Modification Attacks
  1859. While EAP methods may support per-packet data origin authentication,
  1860. integrity, and replay protection, support is not provided within the
  1861. EAP layer.
  1862. Since the Identifier is only a single octet, it is easy to guess,
  1863. allowing an attacker to successfully inject or replay EAP packets.
  1864. An attacker may also modify EAP headers (Code, Identifier, Length,
  1865. Type) within EAP packets where the header is unprotected. This could
  1866. cause packets to be inappropriately discarded or misinterpreted.
  1867. To protect EAP packets against modification, spoofing, or replay,
  1868. methods supporting protected ciphersuite negotiation, mutual
  1869. authentication, and key derivation, as well as integrity and replay
  1870. protection, are recommended. See Section 7.2.1 for definitions of
  1871. these security claims.
  1872. Method-specific MICs may be used to provide protection. If a per-
  1873. packet MIC is employed within an EAP method, then peers,
  1874. authentication servers, and authenticators not operating in pass-
  1875. through mode MUST validate the MIC. MIC validation failures SHOULD
  1876. be logged. Whether a MIC validation failure is considered a fatal
  1877. error or not is determined by the EAP method specification.
  1878. It is RECOMMENDED that methods providing integrity protection of EAP
  1879. packets include coverage of all the EAP header fields, including the
  1880. Code, Identifier, Length, Type, and Type-Data fields.
  1881. Since EAP messages of Types Identity, Notification, and Nak do not
  1882. include their own MIC, it may be desirable for the EAP method MIC to
  1883. cover information contained within these messages, as well as the
  1884. header of each EAP message.
  1885. To provide protection, EAP also may be encapsulated within a
  1886. protected channel created by protocols such as ISAKMP [RFC2408], as
  1887. is done in [IKEv2] or within TLS [RFC2246]. However, as noted in
  1888. Section 7.4, EAP tunneling may result in a man-in-the-middle
  1889. vulnerability.
  1890. Aboba, et al. Standards Track [Page 48]
  1891. RFC 3748 EAP June 2004
  1892. Existing EAP methods define message integrity checks (MICs) that
  1893. cover more than one EAP packet. For example, EAP-TLS [RFC2716]
  1894. defines a MIC over a TLS record that could be split into multiple
  1895. fragments; within the FINISHED message, the MIC is computed over
  1896. previous messages. Where the MIC covers more than one EAP packet, a
  1897. MIC validation failure is typically considered a fatal error.
  1898. Within EAP-TLS [RFC2716], a MIC validation failure is treated as a
  1899. fatal error, since that is what is specified in TLS [RFC2246].
  1900. However, it is also possible to develop EAP methods that support
  1901. per-packet MICs, and respond to verification failures by silently
  1902. discarding the offending packet.
  1903. In this document, descriptions of EAP message handling assume that
  1904. per-packet MIC validation, where it occurs, is effectively performed
  1905. as though it occurs before sending any responses or changing the
  1906. state of the host which received the packet.
  1907. 7.6. Dictionary Attacks
  1908. Password authentication algorithms such as EAP-MD5, MS-CHAPv1
  1909. [RFC2433], and Kerberos V [RFC1510] are known to be vulnerable to
  1910. dictionary attacks. MS-CHAPv1 vulnerabilities are documented in
  1911. [PPTPv1]; MS-CHAPv2 vulnerabilities are documented in [PPTPv2];
  1912. Kerberos vulnerabilities are described in [KRBATTACK], [KRBLIM], and
  1913. [KERB4WEAK].
  1914. In order to protect against dictionary attacks, authentication
  1915. methods resistant to dictionary attacks (as defined in Section 7.2.1)
  1916. are recommended.
  1917. If an authentication algorithm is used that is known to be vulnerable
  1918. to dictionary attacks, then the conversation may be tunneled within a
  1919. protected channel in order to provide additional protection.
  1920. However, as noted in Section 7.4, EAP tunneling may result in a man-
  1921. in-the-middle vulnerability, and therefore dictionary attack
  1922. resistant methods are preferred.
  1923. 7.7. Connection to an Untrusted Network
  1924. With EAP methods supporting one-way authentication, such as EAP-MD5,
  1925. the peer does not authenticate the authenticator, making the peer
  1926. vulnerable to attack by a rogue authenticator. Methods supporting
  1927. mutual authentication (as defined in Section 7.2.1) address this
  1928. vulnerability.
  1929. In EAP there is no requirement that authentication be full duplex or
  1930. that the same protocol be used in both directions. It is perfectly
  1931. Aboba, et al. Standards Track [Page 49]
  1932. RFC 3748 EAP June 2004
  1933. acceptable for different protocols to be used in each direction.
  1934. This will, of course, depend on the specific protocols negotiated.
  1935. However, in general, completing a single unitary mutual
  1936. authentication is preferable to two one-way authentications, one in
  1937. each direction. This is because separate authentications that are
  1938. not bound cryptographically so as to demonstrate they are part of the
  1939. same session are subject to man-in-the-middle attacks, as discussed
  1940. in Section 7.4.
  1941. 7.8. Negotiation Attacks
  1942. In a negotiation attack, the attacker attempts to convince the peer
  1943. and authenticator to negotiate a less secure EAP method. EAP does
  1944. not provide protection for Nak Response packets, although it is
  1945. possible for a method to include coverage of Nak Responses within a
  1946. method-specific MIC.
  1947. Within or associated with each authenticator, it is not anticipated
  1948. that a particular named peer will support a choice of methods. This
  1949. would make the peer vulnerable to attacks that negotiate the least
  1950. secure method from among a set. Instead, for each named peer, there
  1951. SHOULD be an indication of exactly one method used to authenticate
  1952. that peer name. If a peer needs to make use of different
  1953. authentication methods under different circumstances, then distinct
  1954. identities SHOULD be employed, each of which identifies exactly one
  1955. authentication method.
  1956. 7.9. Implementation Idiosyncrasies
  1957. The interaction of EAP with lower layers such as PPP and IEEE 802 are
  1958. highly implementation dependent.
  1959. For example, upon failure of authentication, some PPP implementations
  1960. do not terminate the link, instead limiting traffic in Network-Layer
  1961. Protocols to a filtered subset, which in turn allows the peer the
  1962. opportunity to update secrets or send mail to the network
  1963. administrator indicating a problem. Similarly, while an
  1964. authentication failure will result in denied access to the controlled
  1965. port in [IEEE-802.1X], limited traffic may be permitted on the
  1966. uncontrolled port.
  1967. In EAP there is no provision for retries of failed authentication.
  1968. However, in PPP the LCP state machine can renegotiate the
  1969. authentication protocol at any time, thus allowing a new attempt.
  1970. Similarly, in IEEE 802.1X the Supplicant or Authenticator can re-
  1971. authenticate at any time. It is recommended that any counters used
  1972. for authentication failure not be reset until after successful
  1973. authentication, or subsequent termination of the failed link.
  1974. Aboba, et al. Standards Track [Page 50]
  1975. RFC 3748 EAP June 2004
  1976. 7.10. Key Derivation
  1977. It is possible for the peer and EAP server to mutually authenticate
  1978. and derive keys. In order to provide keying material for use in a
  1979. subsequently negotiated ciphersuite, an EAP method supporting key
  1980. derivation MUST export a Master Session Key (MSK) of at least 64
  1981. octets, and an Extended Master Session Key (EMSK) of at least 64
  1982. octets. EAP Methods deriving keys MUST provide for mutual
  1983. authentication between the EAP peer and the EAP Server.
  1984. The MSK and EMSK MUST NOT be used directly to protect data; however,
  1985. they are of sufficient size to enable derivation of a AAA-Key
  1986. subsequently used to derive Transient Session Keys (TSKs) for use
  1987. with the selected ciphersuite. Each ciphersuite is responsible for
  1988. specifying how to derive the TSKs from the AAA-Key.
  1989. The AAA-Key is derived from the keying material exported by the EAP
  1990. method (MSK and EMSK). This derivation occurs on the AAA server. In
  1991. many existing protocols that use EAP, the AAA-Key and MSK are
  1992. equivalent, but more complicated mechanisms are possible (see
  1993. [KEYFRAME] for details).
  1994. EAP methods SHOULD ensure the freshness of the MSK and EMSK, even in
  1995. cases where one party may not have a high quality random number
  1996. generator. A RECOMMENDED method is for each party to provide a nonce
  1997. of at least 128 bits, used in the derivation of the MSK and EMSK.
  1998. EAP methods export the MSK and EMSK, but not Transient Session Keys
  1999. so as to allow EAP methods to be ciphersuite and media independent.
  2000. Keying material exported by EAP methods MUST be independent of the
  2001. ciphersuite negotiated to protect data.
  2002. Depending on the lower layer, EAP methods may run before or after
  2003. ciphersuite negotiation, so that the selected ciphersuite may not be
  2004. known to the EAP method. By providing keying material usable with
  2005. any ciphersuite, EAP methods can used with a wide range of
  2006. ciphersuites and media.
  2007. In order to preserve algorithm independence, EAP methods deriving
  2008. keys SHOULD support (and document) the protected negotiation of the
  2009. ciphersuite used to protect the EAP conversation between the peer and
  2010. server. This is distinct from the ciphersuite negotiated between the
  2011. peer and authenticator, used to protect data.
  2012. The strength of Transient Session Keys (TSKs) used to protect data is
  2013. ultimately dependent on the strength of keys generated by the EAP
  2014. method. If an EAP method cannot produce keying material of
  2015. sufficient strength, then the TSKs may be subject to a brute force
  2016. Aboba, et al. Standards Track [Page 51]
  2017. RFC 3748 EAP June 2004
  2018. attack. In order to enable deployments requiring strong keys, EAP
  2019. methods supporting key derivation SHOULD be capable of generating an
  2020. MSK and EMSK, each with an effective key strength of at least 128
  2021. bits.
  2022. Methods supporting key derivation MUST demonstrate cryptographic
  2023. separation between the MSK and EMSK branches of the EAP key
  2024. hierarchy. Without violating a fundamental cryptographic assumption
  2025. (such as the non-invertibility of a one-way function), an attacker
  2026. recovering the MSK or EMSK MUST NOT be able to recover the other
  2027. quantity with a level of effort less than brute force.
  2028. Non-overlapping substrings of the MSK MUST be cryptographically
  2029. separate from each other, as defined in Section 7.2.1. That is,
  2030. knowledge of one substring MUST NOT help in recovering some other
  2031. substring without breaking some hard cryptographic assumption. This
  2032. is required because some existing ciphersuites form TSKs by simply
  2033. splitting the AAA-Key to pieces of appropriate length. Likewise,
  2034. non-overlapping substrings of the EMSK MUST be cryptographically
  2035. separate from each other, and from substrings of the MSK.
  2036. The EMSK is reserved for future use and MUST remain on the EAP peer
  2037. and EAP server where it is derived; it MUST NOT be transported to, or
  2038. shared with, additional parties, or used to derive any other keys.
  2039. (This restriction will be relaxed in a future document that specifies
  2040. how the EMSK can be used.)
  2041. Since EAP does not provide for explicit key lifetime negotiation, EAP
  2042. peers, authenticators, and authentication servers MUST be prepared
  2043. for situations in which one of the parties discards the key state,
  2044. which remains valid on another party.
  2045. This specification does not provide detailed guidance on how EAP
  2046. methods derive the MSK and EMSK, how the AAA-Key is derived from the
  2047. MSK and/or EMSK, or how the TSKs are derived from the AAA-Key.
  2048. The development and validation of key derivation algorithms is
  2049. difficult, and as a result, EAP methods SHOULD re-use well
  2050. established and analyzed mechanisms for key derivation (such as those
  2051. specified in IKE [RFC2409] or TLS [RFC2246]), rather than inventing
  2052. new ones. EAP methods SHOULD also utilize well established and
  2053. analyzed mechanisms for MSK and EMSK derivation. Further details on
  2054. EAP Key Derivation are provided within [KEYFRAME].
  2055. Aboba, et al. Standards Track [Page 52]
  2056. RFC 3748 EAP June 2004
  2057. 7.11. Weak Ciphersuites
  2058. If after the initial EAP authentication, data packets are sent
  2059. without per-packet authentication, integrity, and replay protection,
  2060. an attacker with access to the media can inject packets, "flip bits"
  2061. within existing packets, replay packets, or even hijack the session
  2062. completely. Without per-packet confidentiality, it is possible to
  2063. snoop data packets.
  2064. To protect against data modification, spoofing, or snooping, it is
  2065. recommended that EAP methods supporting mutual authentication and key
  2066. derivation (as defined by Section 7.2.1) be used, along with lower
  2067. layers providing per-packet confidentiality, authentication,
  2068. integrity, and replay protection.
  2069. Additionally, if the lower layer performs ciphersuite negotiation, it
  2070. should be understood that EAP does not provide by itself integrity
  2071. protection of that negotiation. Therefore, in order to avoid
  2072. downgrading attacks which would lead to weaker ciphersuites being
  2073. used, clients implementing lower layer ciphersuite negotiation SHOULD
  2074. protect against negotiation downgrading.
  2075. This can be done by enabling users to configure which ciphersuites
  2076. are acceptable as a matter of security policy, or the ciphersuite
  2077. negotiation MAY be authenticated using keying material derived from
  2078. the EAP authentication and a MIC algorithm agreed upon in advance by
  2079. lower-layer peers.
  2080. 7.12. Link Layer
  2081. There are reliability and security issues with link layer indications
  2082. in PPP, IEEE 802 LANs, and IEEE 802.11 wireless LANs:
  2083. [a] PPP. In PPP, link layer indications such as LCP-Terminate (a
  2084. link failure indication) and NCP (a link success indication) are
  2085. not authenticated or integrity protected. They can therefore be
  2086. spoofed by an attacker with access to the link.
  2087. [b] IEEE 802. IEEE 802.1X EAPOL-Start and EAPOL-Logoff frames are
  2088. not authenticated or integrity protected. They can therefore be
  2089. spoofed by an attacker with access to the link.
  2090. [c] IEEE 802.11. In IEEE 802.11, link layer indications include
  2091. Disassociate and Deauthenticate frames (link failure
  2092. indications), and the first message of the 4-way handshake (link
  2093. success indication). These messages are not authenticated or
  2094. integrity protected, and although they are not forwardable, they
  2095. are spoofable by an attacker within range.
  2096. Aboba, et al. Standards Track [Page 53]
  2097. RFC 3748 EAP June 2004
  2098. In IEEE 802.11, IEEE 802.1X data frames may be sent as Class 3
  2099. unicast data frames, and are therefore forwardable. This implies
  2100. that while EAPOL-Start and EAPOL-Logoff messages may be authenticated
  2101. and integrity protected, they can be spoofed by an authenticated
  2102. attacker far from the target when "pre-authentication" is enabled.
  2103. In IEEE 802.11, a "link down" indication is an unreliable indication
  2104. of link failure, since wireless signal strength can come and go and
  2105. may be influenced by radio frequency interference generated by an
  2106. attacker. To avoid unnecessary resets, it is advisable to damp these
  2107. indications, rather than passing them directly to the EAP. Since EAP
  2108. supports retransmission, it is robust against transient connectivity
  2109. losses.
  2110. 7.13. Separation of Authenticator and Backend Authentication Server
  2111. It is possible for the EAP peer and EAP server to mutually
  2112. authenticate and derive a AAA-Key for a ciphersuite used to protect
  2113. subsequent data traffic. This does not present an issue on the peer,
  2114. since the peer and EAP client reside on the same machine; all that is
  2115. required is for the client to derive the AAA-Key from the MSK and
  2116. EMSK exported by the EAP method, and to subsequently pass a Transient
  2117. Session Key (TSK) to the ciphersuite module.
  2118. However, in the case where the authenticator and authentication
  2119. server reside on different machines, there are several implications
  2120. for security.
  2121. [a] Authentication will occur between the peer and the authentication
  2122. server, not between the peer and the authenticator. This means
  2123. that it is not possible for the peer to validate the identity of
  2124. the authenticator that it is speaking to, using EAP alone.
  2125. [b] As discussed in [RFC3579], the authenticator is dependent on the
  2126. AAA protocol in order to know the outcome of an authentication
  2127. conversation, and does not look at the encapsulated EAP packet
  2128. (if one is present) to determine the outcome. In practice, this
  2129. implies that the AAA protocol spoken between the authenticator
  2130. and authentication server MUST support per-packet authentication,
  2131. integrity, and replay protection.
  2132. [c] After completion of the EAP conversation, where lower layer
  2133. security services such as per-packet confidentiality,
  2134. authentication, integrity, and replay protection will be enabled,
  2135. a secure association protocol SHOULD be run between the peer and
  2136. authenticator in order to provide mutual authentication between
  2137. Aboba, et al. Standards Track [Page 54]
  2138. RFC 3748 EAP June 2004
  2139. the peer and authenticator, guarantee liveness of transient
  2140. session keys, provide protected ciphersuite and capabilities
  2141. negotiation for subsequent data, and synchronize key usage.
  2142. [d] A AAA-Key derived from the MSK and/or EMSK negotiated between the
  2143. peer and authentication server MAY be transmitted to the
  2144. authenticator. Therefore, a mechanism needs to be provided to
  2145. transmit the AAA-Key from the authentication server to the
  2146. authenticator that needs it. The specification of the AAA-key
  2147. derivation, transport, and wrapping mechanisms is outside the
  2148. scope of this document. Further details on AAA-Key Derivation
  2149. are provided within [KEYFRAME].
  2150. 7.14. Cleartext Passwords
  2151. This specification does not define a mechanism for cleartext password
  2152. authentication. The omission is intentional. Use of cleartext
  2153. passwords would allow the password to be captured by an attacker with
  2154. access to a link over which EAP packets are transmitted.
  2155. Since protocols encapsulating EAP, such as RADIUS [RFC3579], may not
  2156. provide confidentiality, EAP packets may be subsequently encapsulated
  2157. for transport over the Internet where they may be captured by an
  2158. attacker.
  2159. As a result, cleartext passwords cannot be securely used within EAP,
  2160. except where encapsulated within a protected tunnel with server
  2161. authentication. Some of the same risks apply to EAP methods without
  2162. dictionary attack resistance, as defined in Section 7.2.1. For
  2163. details, see Section 7.6.
  2164. 7.15. Channel Binding
  2165. It is possible for a compromised or poorly implemented EAP
  2166. authenticator to communicate incorrect information to the EAP peer
  2167. and/or server. This may enable an authenticator to impersonate
  2168. another authenticator or communicate incorrect information via out-
  2169. of-band mechanisms (such as via a AAA or lower layer protocol).
  2170. Where EAP is used in pass-through mode, the EAP peer typically does
  2171. not verify the identity of the pass-through authenticator, it only
  2172. verifies that the pass-through authenticator is trusted by the EAP
  2173. server. This creates a potential security vulnerability.
  2174. Section 4.3.7 of [RFC3579] describes how an EAP pass-through
  2175. authenticator acting as a AAA client can be detected if it attempts
  2176. to impersonate another authenticator (such by sending incorrect NAS-
  2177. Identifier [RFC2865], NAS-IP-Address [RFC2865] or NAS-IPv6-Address
  2178. Aboba, et al. Standards Track [Page 55]
  2179. RFC 3748 EAP June 2004
  2180. [RFC3162] attributes via the AAA protocol). However, it is possible
  2181. for a pass-through authenticator acting as a AAA client to provide
  2182. correct information to the AAA server while communicating misleading
  2183. information to the EAP peer via a lower layer protocol.
  2184. For example, it is possible for a compromised authenticator to
  2185. utilize another authenticator's Called-Station-Id or NAS-Identifier
  2186. in communicating with the EAP peer via a lower layer protocol, or for
  2187. a pass-through authenticator acting as a AAA client to provide an
  2188. incorrect peer Calling-Station-Id [RFC2865][RFC3580] to the AAA
  2189. server via the AAA protocol.
  2190. In order to address this vulnerability, EAP methods may support a
  2191. protected exchange of channel properties such as endpoint
  2192. identifiers, including (but not limited to): Called-Station-Id
  2193. [RFC2865][RFC3580], Calling-Station-Id [RFC2865][RFC3580], NAS-
  2194. Identifier [RFC2865], NAS-IP-Address [RFC2865], and NAS-IPv6-Address
  2195. [RFC3162].
  2196. Using such a protected exchange, it is possible to match the channel
  2197. properties provided by the authenticator via out-of-band mechanisms
  2198. against those exchanged within the EAP method. Where discrepancies
  2199. are found, these SHOULD be logged; additional actions MAY also be
  2200. taken, such as denying access.
  2201. 7.16. Protected Result Indications
  2202. Within EAP, Success and Failure packets are neither acknowledged nor
  2203. integrity protected. Result indications improve resilience to loss
  2204. of Success and Failure packets when EAP is run over lower layers
  2205. which do not support retransmission or synchronization of the
  2206. authentication state. In media such as IEEE 802.11, which provides
  2207. for retransmission, as well as synchronization of authentication
  2208. state via the 4-way handshake defined in [IEEE-802.11i], additional
  2209. resilience is typically of marginal benefit.
  2210. Depending on the method and circumstances, result indications can be
  2211. spoofable by an attacker. A method is said to provide protected
  2212. result indications if it supports result indications, as well as the
  2213. "integrity protection" and "replay protection" claims. A method
  2214. supporting protected result indications MUST indicate which result
  2215. indications are protected, and which are not.
  2216. Protected result indications are not required to protect against
  2217. rogue authenticators. Within a mutually authenticating method,
  2218. requiring that the server authenticate to the peer before the peer
  2219. will accept a Success packet prevents an attacker from acting as a
  2220. rogue authenticator.
  2221. Aboba, et al. Standards Track [Page 56]
  2222. RFC 3748 EAP June 2004
  2223. However, it is possible for an attacker to forge a Success packet
  2224. after the server has authenticated to the peer, but before the peer
  2225. has authenticated to the server. If the peer were to accept the
  2226. forged Success packet and attempt to access the network when it had
  2227. not yet successfully authenticated to the server, a denial of service
  2228. attack could be mounted against the peer. After such an attack, if
  2229. the lower layer supports failure indications, the authenticator can
  2230. synchronize state with the peer by providing a lower layer failure
  2231. indication. See Section 7.12 for details.
  2232. If a server were to authenticate the peer and send a Success packet
  2233. prior to determining whether the peer has authenticated the
  2234. authenticator, an idle timeout can occur if the authenticator is not
  2235. authenticated by the peer. Where supported by the lower layer, an
  2236. authenticator sensing the absence of the peer can free resources.
  2237. In a method supporting result indications, a peer that has
  2238. authenticated the server does not consider the authentication
  2239. successful until it receives an indication that the server
  2240. successfully authenticated it. Similarly, a server that has
  2241. successfully authenticated the peer does not consider the
  2242. authentication successful until it receives an indication that the
  2243. peer has authenticated the server.
  2244. In order to avoid synchronization problems, prior to sending a
  2245. success result indication, it is desirable for the sender to verify
  2246. that sufficient authorization exists for granting access, though, as
  2247. discussed below, this is not always possible.
  2248. While result indications may enable synchronization of the
  2249. authentication result between the peer and server, this does not
  2250. guarantee that the peer and authenticator will be synchronized in
  2251. terms of their authorization or that timeouts will not occur. For
  2252. example, the EAP server may not be aware of an authorization decision
  2253. made by a AAA proxy; the AAA server may check authorization only
  2254. after authentication has completed successfully, to discover that
  2255. authorization cannot be granted, or the AAA server may grant access
  2256. but the authenticator may be unable to provide it due to a temporary
  2257. lack of resources. In these situations, synchronization may only be
  2258. achieved via lower layer result indications.
  2259. Success indications may be explicit or implicit. For example, where
  2260. a method supports error messages, an implicit success indication may
  2261. be defined as the reception of a specific message without a preceding
  2262. error message. Failures are typically indicated explicitly. As
  2263. described in Section 4.2, a peer silently discards a Failure packet
  2264. received at a point where the method does not explicitly permit this
  2265. Aboba, et al. Standards Track [Page 57]
  2266. RFC 3748 EAP June 2004
  2267. to be sent. For example, a method providing its own error messages
  2268. might require the peer to receive an error message prior to accepting
  2269. a Failure packet.
  2270. Per-packet authentication, integrity, and replay protection of result
  2271. indications protects against spoofing. Since protected result
  2272. indications require use of a key for per-packet authentication and
  2273. integrity protection, methods supporting protected result indications
  2274. MUST also support the "key derivation", "mutual authentication",
  2275. "integrity protection", and "replay protection" claims.
  2276. Protected result indications address some denial-of-service
  2277. vulnerabilities due to spoofing of Success and Failure packets,
  2278. though not all. EAP methods can typically provide protected result
  2279. indications only in some circumstances. For example, errors can
  2280. occur prior to key derivation, and so it may not be possible to
  2281. protect all failure indications. It is also possible that result
  2282. indications may not be supported in both directions or that
  2283. synchronization may not be achieved in all modes of operation.
  2284. For example, within EAP-TLS [RFC2716], in the client authentication
  2285. handshake, the server authenticates the peer, but does not receive a
  2286. protected indication of whether the peer has authenticated it. In
  2287. contrast, the peer authenticates the server and is aware of whether
  2288. the server has authenticated it. In the session resumption
  2289. handshake, the peer authenticates the server, but does not receive a
  2290. protected indication of whether the server has authenticated it. In
  2291. this mode, the server authenticates the peer and is aware of whether
  2292. the peer has authenticated it.
  2293. 8. Acknowledgements
  2294. This protocol derives much of its inspiration from Dave Carrel's AHA
  2295. document, as well as the PPP CHAP protocol [RFC1994]. Valuable
  2296. feedback was provided by Yoshihiro Ohba of Toshiba America Research,
  2297. Jari Arkko of Ericsson, Sachin Seth of Microsoft, Glen Zorn of Cisco
  2298. Systems, Jesse Walker of Intel, Bill Arbaugh, Nick Petroni and Bryan
  2299. Payne of the University of Maryland, Steve Bellovin of AT&T Research,
  2300. Paul Funk of Funk Software, Pasi Eronen of Nokia, Joseph Salowey of
  2301. Cisco, Paul Congdon of HP, and members of the EAP working group.
  2302. The use of Security Claims sections for EAP methods, as required by
  2303. Section 7.2 and specified for each EAP method described in this
  2304. document, was inspired by Glen Zorn through [EAP-EVAL].
  2305. Aboba, et al. Standards Track [Page 58]
  2306. RFC 3748 EAP June 2004
  2307. 9. References
  2308. 9.1. Normative References
  2309. [RFC1661] Simpson, W., "The Point-to-Point Protocol (PPP)",
  2310. STD 51, RFC 1661, July 1994.
  2311. [RFC1994] Simpson, W., "PPP Challenge Handshake
  2312. Authentication Protocol (CHAP)", RFC 1994, August
  2313. 1996.
  2314. [RFC2119] Bradner, S., "Key words for use in RFCs to
  2315. Indicate Requirement Levels", BCP 14, RFC 2119,
  2316. March 1997.
  2317. [RFC2243] Metz, C., "OTP Extended Responses", RFC 2243,
  2318. November 1997.
  2319. [RFC2279] Yergeau, F., "UTF-8, a transformation format of
  2320. ISO 10646", RFC 2279, January 1998.
  2321. [RFC2289] Haller, N., Metz, C., Nesser, P. and M. Straw, "A
  2322. One-Time Password System", RFC 2289, February
  2323. 1998.
  2324. [RFC2434] Narten, T. and H. Alvestrand, "Guidelines for
  2325. Writing an IANA Considerations Section in RFCs",
  2326. BCP 26, RFC 2434, October 1998.
  2327. [RFC2988] Paxson, V. and M. Allman, "Computing TCP's
  2328. Retransmission Timer", RFC 2988, November 2000.
  2329. [IEEE-802] Institute of Electrical and Electronics Engineers,
  2330. "Local and Metropolitan Area Networks: Overview
  2331. and Architecture", IEEE Standard 802, 1990.
  2332. [IEEE-802.1X] Institute of Electrical and Electronics Engineers,
  2333. "Local and Metropolitan Area Networks: Port-Based
  2334. Network Access Control", IEEE Standard 802.1X,
  2335. September 2001.
  2336. Aboba, et al. Standards Track [Page 59]
  2337. RFC 3748 EAP June 2004
  2338. 9.2. Informative References
  2339. [RFC793] Postel, J., "Transmission Control Protocol", STD
  2340. 7, RFC 793, September 1981.
  2341. [RFC1510] Kohl, J. and B. Neuman, "The Kerberos Network
  2342. Authentication Service (V5)", RFC 1510, September
  2343. 1993.
  2344. [RFC1750] Eastlake, D., Crocker, S. and J. Schiller,
  2345. "Randomness Recommendations for Security", RFC
  2346. 1750, December 1994.
  2347. [RFC2246] Dierks, T., Allen, C., Treese, W., Karlton, P.,
  2348. Freier, A. and P. Kocher, "The TLS Protocol
  2349. Version 1.0", RFC 2246, January 1999.
  2350. [RFC2284] Blunk, L. and J. Vollbrecht, "PPP Extensible
  2351. Authentication Protocol (EAP)", RFC 2284, March
  2352. 1998.
  2353. [RFC2486] Aboba, B. and M. Beadles, "The Network Access
  2354. Identifier", RFC 2486, January 1999.
  2355. [RFC2408] Maughan, D., Schneider, M. and M. Schertler,
  2356. "Internet Security Association and Key Management
  2357. Protocol (ISAKMP)", RFC 2408, November 1998.
  2358. [RFC2409] Harkins, D. and D. Carrel, "The Internet Key
  2359. Exchange (IKE)", RFC 2409, November 1998.
  2360. [RFC2433] Zorn, G. and S. Cobb, "Microsoft PPP CHAP
  2361. Extensions", RFC 2433, October 1998.
  2362. [RFC2607] Aboba, B. and J. Vollbrecht, "Proxy Chaining and
  2363. Policy Implementation in Roaming", RFC 2607, June
  2364. 1999.
  2365. [RFC2661] Townsley, W., Valencia, A., Rubens, A., Pall, G.,
  2366. Zorn, G. and B. Palter, "Layer Two Tunneling
  2367. Protocol "L2TP"", RFC 2661, August 1999.
  2368. [RFC2716] Aboba, B. and D. Simon, "PPP EAP TLS
  2369. Authentication Protocol", RFC 2716, October 1999.
  2370. [RFC2865] Rigney, C., Willens, S., Rubens, A. and W.
  2371. Simpson, "Remote Authentication Dial In User
  2372. Service (RADIUS)", RFC 2865, June 2000.
  2373. Aboba, et al. Standards Track [Page 60]
  2374. RFC 3748 EAP June 2004
  2375. [RFC2960] Stewart, R., Xie, Q., Morneault, K., Sharp, C.,
  2376. Schwarzbauer, H., Taylor, T., Rytina, I., Kalla,
  2377. M., Zhang, L. and V. Paxson, "Stream Control
  2378. Transmission Protocol", RFC 2960, October 2000.
  2379. [RFC3162] Aboba, B., Zorn, G. and D. Mitton, "RADIUS and
  2380. IPv6", RFC 3162, August 2001.
  2381. [RFC3454] Hoffman, P. and M. Blanchet, "Preparation of
  2382. Internationalized Strings ("stringprep")", RFC
  2383. 3454, December 2002.
  2384. [RFC3579] Aboba, B. and P. Calhoun, "RADIUS (Remote
  2385. Authentication Dial In User Service) Support For
  2386. Extensible Authentication Protocol (EAP)", RFC
  2387. 3579, September 2003.
  2388. [RFC3580] Congdon, P., Aboba, B., Smith, A., Zorn, G. and J.
  2389. Roese, "IEEE 802.1X Remote Authentication Dial In
  2390. User Service (RADIUS) Usage Guidelines", RFC 3580,
  2391. September 2003.
  2392. [RFC3692] Narten, T., "Assigning Experimental and Testing
  2393. Numbers Considered Useful", BCP 82, RFC 3692,
  2394. January 2004.
  2395. [DECEPTION] Slatalla, M. and J. Quittner, "Masters of
  2396. Deception", Harper-Collins, New York, 1995.
  2397. [KRBATTACK] Wu, T., "A Real-World Analysis of Kerberos
  2398. Password Security", Proceedings of the 1999 ISOC
  2399. Network and Distributed System Security Symposium,
  2400. http://www.isoc.org/isoc/conferences/ndss/99/
  2401. proceedings/papers/wu.pdf.
  2402. [KRBLIM] Bellovin, S. and M. Merrit, "Limitations of the
  2403. Kerberos authentication system", Proceedings of
  2404. the 1991 Winter USENIX Conference, pp. 253-267,
  2405. 1991.
  2406. [KERB4WEAK] Dole, B., Lodin, S. and E. Spafford, "Misplaced
  2407. trust: Kerberos 4 session keys", Proceedings of
  2408. the Internet Society Network and Distributed
  2409. System Security Symposium, pp. 60-70, March 1997.
  2410. Aboba, et al. Standards Track [Page 61]
  2411. RFC 3748 EAP June 2004
  2412. [PIC] Aboba, B., Krawczyk, H. and Y. Sheffer, "PIC, A
  2413. Pre-IKE Credential Provisioning Protocol", Work in
  2414. Progress, October 2002.
  2415. [IKEv2] Kaufman, C., "Internet Key Exchange (IKEv2)
  2416. Protocol", Work in Progress, January 2004.
  2417. [PPTPv1] Schneier, B. and Mudge, "Cryptanalysis of
  2418. Microsoft's Point-to- Point Tunneling Protocol",
  2419. Proceedings of the 5th ACM Conference on
  2420. Communications and Computer Security, ACM Press,
  2421. November 1998.
  2422. [IEEE-802.11] Institute of Electrical and Electronics Engineers,
  2423. "Wireless LAN Medium Access Control (MAC) and
  2424. Physical Layer (PHY) Specifications", IEEE
  2425. Standard 802.11, 1999.
  2426. [SILVERMAN] Silverman, Robert D., "A Cost-Based Security
  2427. Analysis of Symmetric and Asymmetric Key Lengths",
  2428. RSA Laboratories Bulletin 13, April 2000 (Revised
  2429. November 2001),
  2430. http://www.rsasecurity.com/rsalabs/bulletins/
  2431. bulletin13.html.
  2432. [KEYFRAME] Aboba, B., "EAP Key Management Framework", Work in
  2433. Progress, October 2003.
  2434. [SASLPREP] Zeilenga, K., "SASLprep: Stringprep profile for
  2435. user names and passwords", Work in Progress, March
  2436. 2004.
  2437. [IEEE-802.11i] Institute of Electrical and Electronics Engineers,
  2438. "Unapproved Draft Supplement to Standard for
  2439. Telecommunications and Information Exchange
  2440. Between Systems - LAN/MAN Specific Requirements -
  2441. Part 11: Wireless LAN Medium Access Control (MAC)
  2442. and Physical Layer (PHY) Specifications:
  2443. Specification for Enhanced Security", IEEE Draft
  2444. 802.11i (work in progress), 2003.
  2445. [DIAM-EAP] Eronen, P., Hiller, T. and G. Zorn, "Diameter
  2446. Extensible Authentication Protocol (EAP)
  2447. Application", Work in Progress, February 2004.
  2448. [EAP-EVAL] Zorn, G., "Specifying Security Claims for EAP
  2449. Authentication Types", Work in Progress, October
  2450. 2002.
  2451. Aboba, et al. Standards Track [Page 62]
  2452. RFC 3748 EAP June 2004
  2453. [BINDING] Puthenkulam, J., "The Compound Authentication
  2454. Binding Problem", Work in Progress, October 2003.
  2455. [MITM] Asokan, N., Niemi, V. and K. Nyberg, "Man-in-the-
  2456. Middle in Tunneled Authentication Protocols", IACR
  2457. ePrint Archive Report 2002/163, October 2002,
  2458. <http://eprint.iacr.org/2002/163>.
  2459. [IEEE-802.11i-req] Stanley, D., "EAP Method Requirements for Wireless
  2460. LANs", Work in Progress, February 2004.
  2461. [PPTPv2] Schneier, B. and Mudge, "Cryptanalysis of
  2462. Microsoft's PPTP Authentication Extensions (MS-
  2463. CHAPv2)", CQRE 99, Springer-Verlag, 1999, pp.
  2464. 192-203.
  2465. Aboba, et al. Standards Track [Page 63]
  2466. RFC 3748 EAP June 2004
  2467. Appendix A. Changes from RFC 2284
  2468. This section lists the major changes between [RFC2284] and this
  2469. document. Minor changes, including style, grammar, spelling, and
  2470. editorial changes are not mentioned here.
  2471. o The Terminology section (Section 1.2) has been expanded, defining
  2472. more concepts and giving more exact definitions.
  2473. o The concepts of Mutual Authentication, Key Derivation, and Result
  2474. Indications are introduced and discussed throughout the document
  2475. where appropriate.
  2476. o In Section 2, it is explicitly specified that more than one
  2477. exchange of Request and Response packets may occur as part of the
  2478. EAP authentication exchange. How this may be used and how it may
  2479. not be used is specified in detail in Section 2.1.
  2480. o Also in Section 2, some requirements have been made explicit for
  2481. the authenticator when acting in pass-through mode.
  2482. o An EAP multiplexing model (Section 2.2) has been added to
  2483. illustrate a typical implementation of EAP. There is no
  2484. requirement that an implementation conform to this model, as long
  2485. as the on-the-wire behavior is consistent with it.
  2486. o As EAP is now in use with a variety of lower layers, not just PPP
  2487. for which it was first designed, Section 3 on lower layer behavior
  2488. has been added.
  2489. o In the description of the EAP Request and Response interaction
  2490. (Section 4.1), both the behavior on receiving duplicate requests,
  2491. and when packets should be silently discarded has been more
  2492. exactly specified. The implementation notes in this section have
  2493. been substantially expanded.
  2494. o In Section 4.2, it has been clarified that Success and Failure
  2495. packets must not contain additional data, and the implementation
  2496. note has been expanded. A subsection giving requirements on
  2497. processing of success and failure packets has been added.
  2498. o Section 5 on EAP Request/Response Types lists two new Type values:
  2499. the Expanded Type (Section 5.7), which is used to expand the Type
  2500. value number space, and the Experimental Type. In the Expanded
  2501. Type number space, the new Expanded Nak (Section 5.3.2) Type has
  2502. been added. Clarifications have been made in the description of
  2503. most of the existing Types. Security claims summaries have been
  2504. added for authentication methods.
  2505. Aboba, et al. Standards Track [Page 64]
  2506. RFC 3748 EAP June 2004
  2507. o In Sections 5, 5.1, and 5.2, a requirement has been added such
  2508. that fields with displayable messages should contain UTF-8 encoded
  2509. ISO 10646 characters.
  2510. o It is now required in Section 5.1 that if the Type-Data field of
  2511. an Identity Request contains a NUL-character, only the part before
  2512. the null is displayed. RFC 2284 prohibits the null termination of
  2513. the Type-Data field of Identity messages. This rule has been
  2514. relaxed for Identity Request messages and the Identity Request
  2515. Type-Data field may now be null terminated.
  2516. o In Section 5.5, support for OTP Extended Responses [RFC2243] has
  2517. been added to EAP OTP.
  2518. o An IANA Considerations section (Section 6) has been added, giving
  2519. registration policies for the numbering spaces defined for EAP.
  2520. o The Security Considerations (Section 7) have been greatly
  2521. expanded, giving a much more comprehensive coverage of possible
  2522. threats and other security considerations.
  2523. o In Section 7.5, text has been added on method-specific behavior,
  2524. providing guidance on how EAP method-specific integrity checks
  2525. should be processed. Where possible, it is desirable for a
  2526. method-specific MIC to be computed over the entire EAP packet,
  2527. including the EAP layer header (Code, Identifier, Length) and EAP
  2528. method layer header (Type, Type-Data).
  2529. o In Section 7.14 the security risks involved in use of cleartext
  2530. passwords with EAP are described.
  2531. o In Section 7.15 text has been added relating to detection of rogue
  2532. NAS behavior.
  2533. Aboba, et al. Standards Track [Page 65]
  2534. RFC 3748 EAP June 2004
  2535. Authors' Addresses
  2536. Bernard Aboba
  2537. Microsoft Corporation
  2538. One Microsoft Way
  2539. Redmond, WA 98052
  2540. USA
  2541. Phone: +1 425 706 6605
  2542. Fax: +1 425 936 6605
  2543. EMail: bernarda@microsoft.com
  2544. Larry J. Blunk
  2545. Merit Network, Inc
  2546. 4251 Plymouth Rd., Suite 2000
  2547. Ann Arbor, MI 48105-2785
  2548. USA
  2549. Phone: +1 734-647-9563
  2550. Fax: +1 734-647-3185
  2551. EMail: ljb@merit.edu
  2552. John R. Vollbrecht
  2553. Vollbrecht Consulting LLC
  2554. 9682 Alice Hill Drive
  2555. Dexter, MI 48130
  2556. USA
  2557. EMail: jrv@umich.edu
  2558. James Carlson
  2559. Sun Microsystems, Inc
  2560. 1 Network Drive
  2561. Burlington, MA 01803-2757
  2562. USA
  2563. Phone: +1 781 442 2084
  2564. Fax: +1 781 442 1677
  2565. EMail: james.d.carlson@sun.com
  2566. Henrik Levkowetz
  2567. ipUnplugged AB
  2568. Arenavagen 33
  2569. Stockholm S-121 28
  2570. SWEDEN
  2571. Phone: +46 708 32 16 08
  2572. EMail: henrik@levkowetz.com
  2573. Aboba, et al. Standards Track [Page 66]
  2574. RFC 3748 EAP June 2004
  2575. Full Copyright Statement
  2576. Copyright (C) The Internet Society (2004). This document is subject
  2577. to the rights, licenses and restrictions contained in BCP 78, and
  2578. except as set forth therein, the authors retain all their rights.
  2579. This document and the information contained herein are provided on an
  2580. "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
  2581. OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
  2582. ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
  2583. INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
  2584. INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
  2585. WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  2586. Intellectual Property
  2587. The IETF takes no position regarding the validity or scope of any
  2588. Intellectual Property Rights or other rights that might be claimed to
  2589. pertain to the implementation or use of the technology described in
  2590. this document or the extent to which any license under such rights
  2591. might or might not be available; nor does it represent that it has
  2592. made any independent effort to identify any such rights. Information
  2593. on the procedures with respect to rights in RFC documents can be
  2594. found in BCP 78 and BCP 79.
  2595. Copies of IPR disclosures made to the IETF Secretariat and any
  2596. assurances of licenses to be made available, or the result of an
  2597. attempt made to obtain a general license or permission for the use of
  2598. such proprietary rights by implementers or users of this
  2599. specification can be obtained from the IETF on-line IPR repository at
  2600. http://www.ietf.org/ipr.
  2601. The IETF invites any interested party to bring to its attention any
  2602. copyrights, patents or patent applications, or other proprietary
  2603. rights that may cover technology that may be required to implement
  2604. this standard. Please address the information to the IETF at ietf-
  2605. ipr@ietf.org.
  2606. Acknowledgement
  2607. Funding for the RFC Editor function is currently provided by the
  2608. Internet Society.
  2609. Aboba, et al. Standards Track [Page 67]