3.2.7.1 Client-Side Interface with PPP
Inner Authentication Completed Event: This event will be sent by the higher layer when the authentication (that is, PPP authentication) has been completed successfully or bypassed (that is, ClientBypassHLAuth is set to TRUE). If the higher-layer authentication has failed, the higher layer sends the Disconnect Tunnel Event (section 3.2.4.2) to notify the client. When this event is sent the client MUST:
Send an SSTP_MSG_CALL_CONNECTED (section 3.3.5.2.3) message that contains the same nonce value that the server sends in the Call Connect Acknowledge (section 2.2.10) message. This message MUST contain the Crypto Binding attribute. For information about how to construct the Crypto Binding attribute, see section 3.2.5.2.
Update CurrentState to Client_Call_Connected.
-
When the client receives a PPP control frame from the PPP layer, the client MUST:
If CurrentState is set to Client_Connect_Ack_Received or Client_Call_Connected: Generate an SSTP data packet (section 2.2.3) with the PPP frame as the higher-layer payload and send the packet to the HTTPS layer.
Else, drop the PPP frame.
-
When the client receives a PPP data frame from the PPP layer, the client MUST:
If CurrentState is set to Client_Call_Connected: Generate an SSTP data packet (section 2.2.3) with the PPP frame as the higher-layer payload and send the packet to the HTTPS layer.
Else, drop the PPP frame.