Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSE 8343 State Machines for Extensible Authentication Protocol Peer and Authenticator.

Similar presentations


Presentation on theme: "CSE 8343 State Machines for Extensible Authentication Protocol Peer and Authenticator."— Presentation transcript:

1 CSE 8343 State Machines for Extensible Authentication Protocol Peer and Authenticator

2 IETF RFC 4137 Extensible Authentication Protocol (EAP) Working Group RFC 4137 State Machines for EAP Peer and Authenticator

3 RFC 4137 Overview RFC 4137 describes a set of State Machines for: EAP Peer EAP Stand-Alone Authenticator (Non-Pass-Through) EAP Backend Authenticator EAP Full Authenticator Describes sample EAP implementations Peer / Authenticator Peer / Authenticator / AAA

4 RFC 4137 Overview Illustrative of authoritative RFCs Peer and Stand-Alone Authenticator for EAP from RFC 3748 Backend and Full/Pass-Through for EAP/AAA from RFC 3748 and 3579 Based on the EAP “Switch” model

5 EAP Switch Model An EAP Authentication is a sequence of EAP methods Result sent from Authenticator to Peer If successful, EAP Success If unsuccessful, EAP Failure EAP Switches control the negotiation sequence Select which methods each will use Negotiate methods or sequence of methods PeerAuthenticator Peer EAP Switch Auth EAP Switch Peer Method Auth Method

6 EAP Pass-Through Model Authentication resident on backend server Allows edge device to pass EAP Responses PeerAuthenticator Peer EAP Switch Auth EAP Switch Peer Method Local Method Pass-Through Backend EAP Server

7 State Machine Notation IEEE 802.1X-2004 State diagrams represent the operation of a protocol Group of connected, mutually exclusive states Only one state of each machine can be active at a time Upon entry to a state the defined procedures are executed exactly once Executed in the given order Atomic actions STATE IDENTIFIER Procedure 1 … Procedure N Condition

8 EAP Peer Global Transitions: DISABLED INITIALIZED

9 EAP Peer Transitions: INITIALIZED DISABLED: Reached whenever service from the transport layer is Interrupted or unavailable.

10 EAP Peer Transitions: IDLE INITIALIZE: Initializes the state machine variables.

11 EAP Peer Transitions: RECEIVED SUCCESS FAILURE IDLE: The state machine is waiting for something to happen.

12 EAP Peer Transitions: METHOD GET_METHOD IDENTITY NOTIFICATION RETRANSMIT SUCCESS FAILURE DISCARD RECEIVED: Entered when an EAP packet is received.

13 EAP Peer Transitions: DISCARD FAILURE SEND_RESPONSE METHOD: Performs the method processing. The request from the Authenticator is processed, and the appropriate response packet built.

14 EAP Peer Transitions: METHOD SEND_RESPONSE GET_METHOD: Entered when a request for a new type comes in. This will result in either starting the appropriate method, or responding with a Nak.

15 EAP Peer Transitions: SEND_RESPONSE IDENTITY: Separate handling for the Identity method, including building the response packet.

16 EAP Peer Transitions: SEND_RESPONSE NOTIFICATION: Separate handling for the Notification method, including building the response packet.

17 EAP Peer Transitions: SEND_RESPONSE RETRANSMIT: Resends the previous response packet.

18 EAP Peer Transitions: IDLE DISCARD: Signals the transport layer that the request has been ignored and that no response will be sent.

19 EAP Peer Transitions: IDLE SEND_RESPONSE: Signals the transport layer that a response packet is ready to be sent.

20 EAP Peer Transitions: None SUCCESS: Terminal state indicating a successful authentication.

21 EAP Peer Transitions: None FAILURE: Terminal state indicating a failed authentication.

22 EAP Stand-Alone Authenticator Global Transitions: DISABLED INITIALIZE

23 EAP Stand-Alone Authenticator Transitions: INITIALIZE DISABLED: The Authenticator is disabled until the port is enabled by the transport layer.

24 EAP Stand-Alone Authenticator Transitions: SELECT_ACTION INITIALIZE: Initializes all state machine variables.

25 EAP Stand-Alone Authenticator Transitions: RETRANSMIT RECEIVED IDLE: The State Machine is waiting for something to happen.

26 EAP Stand-Alone Authenticator Transitions: TIMEOUT_FAILURE IDLE RETRANSMIT: Retransmit the previous request packet.

27 EAP Stand-Alone Authenticator Transitions: NAK INTEGRITY_CHECK DISCARD RECEIVED: Entered when an EAP packet is received, and parses the packet header.

28 EAP Stand-Alone Authenticator Transitions: SELECT_ACTION NAK: Process a Nak request.

29 EAP Stand-Alone Authenticator Transitions: FAILURE SUCCESS PROPOSE_METHOD SELECT_ACTION: Re-evaluates whether or not the authenticator policy has been satisfied (implying success), has been unsatisfied (implying failure), or is still undecided.

30 EAP Stand-Alone Authenticator Transitions: DISCARD METHOD_RESPONSE INTEGRITY_CHECK: Checks and verifies the integrity of the incoming packet from the Peer.

31 EAP Stand-Alone Authenticator Transitions: SELECT_ACTION METHOD_REQUEST METHOD_RESPONSE: Processes the incoming packet.

32 EAP Stand-Alone Authenticator Transitions: METHOD_REQUEST PROPOSE_METHOD: Decision as to which authentication method to try next.

33 EAP Stand-Alone Authenticator Transitions: SEND_REQUEST METHOD_REQUEST: Formulates a new request for the Peer.

34 EAP Stand-Alone Authenticator Transitions: IDLE DISCARD: Signals the transport layer that the response has been discarded, and no new request will be sent.

35 EAP Stand-Alone Authenticator Transitions: IDLE SEND_REQUEST: Signals the transport layer that a new is ready to be sent.

36 EAP Stand-Alone Authenticator Transitions: None TIMEOUT_FAILURE: Terminal state indicating a failure because no response has been received from the Peer.

37 EAP Stand-Alone Authenticator Transitions: None FAILURE: Terminal state indicating that the authentication has failed.

38 EAP Stand-Alone Authenticator Transitions: None SUCCESS: Terminal state indicating that the authentication has successfully completed.

39 EAP Backend Authenticator The Backend Authenticator is functionally equivalent to the a Stand-Alone Authenticator, with the addition of the ability to “Pick Up” a conversation which had previously been started by a Pass-Through. The only difference between the state machines is the addition of the PICK_UP_METHOD state, and the removal of the TIMEOUT_FAILURE state.

40 EAP Backend Authenticator Transitions: SELECT_ACTION METHOD_RESPONSE PICK_UP_METHOD: Sets the initial state for a method being continued which was started elsewhere (e.g. in the Pass-Through).

41 EAP Full Authenticator The first part of a Full Authenticator is functionally identical to the Stand-Alone Authenticator, with the addition of a transition from the SELECT_ACTION state to PASSTHROUGH.

42 EAP Full Authenticator Transitions: FAILURE SUCCESS INITIALIZE_PASSTHROUGH PROPOSE_METHOD SELECT_ACTION: Re-evaluates whether or not the authenticator policy has been satisfied (implying success), has been unsatisfied (implying failure), or is still undecided.

43 EAP Full Authenticator The second part of a Full Authenticator supports the operation of Pass-Through Mode.

44 EAP Full Authenticator Transitions: AAA_REQUEST AAA_IDLE INITIALIZE_PASSTHROUGH: Initializes the variables used by the pass-through portion of the state machine.

45 EAP Full Authenticator Transitions: RETRANSMIT2 RECEIVED2 IDLE2: The state machine is awaiting a response from the Peer.

46 EAP Full Authenticator Transitions: TIMEOUT_FAILURE2 IDLE2 RETRANSMIT2: Retransmits the previous packet request.

47 EAP Full Authenticator Transitions: AAA_REQUEST DISCARD2 RECEIVED2: Entered when an EAP packet is received and the authenticator is in PASSTHROUGH mode.

48 EAP Full Authenticator Transitions: AAA_IDLE AAA_REQUEST: Parses the incoming EAP packet for submission to the AAA server.

49 EAP Full Authenticator Transitions: DISCARD2 AAA_RESPONSE TIMEOUT_FAILURE2 FAILURE2 SUCCESS AAA_IDLE: Idle state indicating to the AAA server that there is a response. The state machine is awaiting a new request, a no-request signal, or a success / failure determination.

50 EAP Full Authenticator Transitions: SEND_REQUEST2 AAA_RESPONSE: Processes the request from the AAA interface into an EAP request.

51 EAP Full Authenticator Transitions: IDLE2 DISCARD2: Signals the transport layer that the response has been discarded. No new request packet will be sent.

52 EAP Full Authenticator Transitions: IDLE2 SEND_REQUEST2: Signals the transport layer that a request packet is ready to be sent.

53 EAP Full Authenticator Transitions: None TIMEOUT_FAILURE2: Terminal state indicating failure because no response has been received.

54 EAP Full Authenticator Transitions: None FAILURE2: Terminal state indicating authentication failure.

55 EAP Full Authenticator Transitions: None SUCCESS2: Terminal state indicating authentication success.

56 Other Considerations Robustness Certain states will block, possibly for extended periods IDENTITY METHOD Can be resolved via implementation considerations Multithreading Security Certain EAP packets are not encrypted (RFC 3748) Known DoS vulnerabilities EAP Peer EAP Stand-Alone Need to weigh additional security vs. peer support

57 Review EAP Peer State Machine Implementation of EAP Peer EAP Stand-Alone Authenticator Implementation of a self-contained authenticator EAP Backend Authenticator Implementation of a backend authenticator when using an AAA server EAP Full Authenticator Implementation of a complete authenticator

58 References Aboba, B. and P. Calhoun, "RADIUS (Remote Authentication Dial In User Service) Support For Extensible Authentication Protocol (EAP)", RFC 3579, September 2003. Aboba, B., Blunk, L., Vollbrecht, J., Carlson, J., and H. Levkowetz, Ed., "Extensible Authentication Protocol (EAP)", RFC 3748, June 2004. Aboba, B., Simon, D., Arkko, J., Eronen, P., Levkowetz, H., "Extensible Authentication Protocol (EAP) Key Management Framework", Work in Progress, July 2005. Institute of Electrical and Electronics Engineers, "Standard for Local and Metropolitan Area Networks: Port-Based Network Access Control", IEEE 802.1X-2004, December 2004. Vollbrecht, J., Eronen, E., Petroni, N., Ohba, Y., “State Machines for Extensible Authentication Protocol (EAP) Peer and Authenticator”, RFC 4137, August 2005.


Download ppt "CSE 8343 State Machines for Extensible Authentication Protocol Peer and Authenticator."

Similar presentations


Ads by Google