CNES Protocol Simulator

Download Report

Transcript CNES Protocol Simulator

Space Data Link Secure Protocol Simulator
Bruno Saba
DCT/TV/IN
15/04/2010
Rationale
■ A Secure Space Data Link Protocol has been developped for CNES
by Thales Alenia Space (CNES R&D funds)
■ The same contract included the developement of this simulator, in
order to validate all the concepts of the Secure Protocol
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
2
Main Features
■ Simulation of a complete end to end
Secure TM/TC link between a ground
center and a spacecraft
 Ground Data Link Layer Node for TC
Forward link (GND-FWD)
 Forward link ( TC : Ground  Spacecraft)
 Spacecraft Data Link Layer Node for TC
Forward link (SC-FWD)
 Spacecraft Data Link Layer Node for TM
Return link (SC-RTN)
 Return link (TM : Spacecraft  Ground)
 Ground Data Link Layer Node for TM
Return link (GND-RTN)
GND-FWD
GND-RTN
Forward link
Return link
SC-FWD
SC-RTN
 Simulator management
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
3
Block Diagram
Ground Simulation
Emulation of Data
link protocol sublayer
TC or AOS Fwd
SDLP
TC or AOS Fwd
SDLP
Secured TM/TC Protocol
CLCW
TC / AOS Fwd link
TM / AOS Rtn link
TM or AOS Rtn
SDLP
Emulation of Data
link protocol sublayer
Simulation Scenarii
&
Configuration
CNES
DCT/TV/IN
Secured TM/TC Protocol
CLCW
Security TM data
Secured TM/TC Protocol
Space Data Link Secure Protocol Simulator
Spacecraft Simulation
Security TM data
Secured TM/TC Protocol
TM or AOS Rtn
SDLP
Simulation
Results
& Logs
B. Saba 14/04/2010
4
Blocks description
■ Ground Data Link Layer for TC Forward Link (GND-FWD)
 Supports ground part of CCSDS TC data link protocol sublayer
 Supports ground part of Secure Protocol
 Generates TC frames (from a scenario file) and gives them to the Forward
Link for transmission
■ Forward Link “Sender”
 Transmits the TC frames to the “transmission channel”
 Transmission channel : UDP/IP socket (localhost)
GND-FWD
GND-FWD
GND-RTN
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
Forward link
SC-FWD
Return link
B. Saba 14/04/2010
SC-RTN
5
Blocks description (cont’d)
■ Forward Link “Receiver”
 Receives the TC frames from the UDP/IP socket “transmission channel”
(localhost)
 Gives the received TC frames to the Spacecraft Data Link Layer Node for Forward
link
■ Spacecraft Data Link Layer Node for TC Forward Link (SC-FWD)
 Supports on-board part of CCSDS TC data link protocol sublayer
 Supports on-board part of Secure Protocol
 Provides CLCW to the Spacecraft Data Link Layer Node for TM Return link
GND-FWD
GND-RTN
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
Forward link
Return link
SC-FWD
SC-FWD
SC-RTN
B. Saba 14/04/2010
6
Blocks description (cont’d)
■ Interface between Spacecraft Nodes
 Supports routing of CLCW and Security TM data from SC-FWD to SC-RTN nodes
■ Spacecraft Data Link Layer Node for TM Return Link (SC-RTN)
 Supports on-board part of CCSDS TM data link protocol sublayer
 Supports on-board part of Secure Protocol
 Generates TM Frames and inserts CLCW at the right place in TM data stream
■ Return Link “Sender”
 Transmits the TM frames + CLCW to the “transmission channel”
 Transmission channel : UDP/IP socket (localhost)
GND-FWD
GND-RTN
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
Forward link
Return link
SC-FWD
SC-RTN
SC-RTN
B. Saba 14/04/2010
7
Blocks description (cont’d)
■ Return Link “Receiver”
 Receives TM frames + CLCW from the UDP/IP socket “transmission channel” (localhost)
 Gives the received data to the Ground Data Link Layer Node for Return Link
■ Ground Data Link Layer Node for TM Return link (GND-RTN)
 Supports ground part of CCSDS TM data link protocol sublayer
 Supports ground part of Secure TM protocol
■ Interface between ground nodes
 Supports routing of CLCW and Security TM Data from GND-RTN to GND-FWD nodes
GND-FWD
GND-RTN
GND-RTN
Space Data Link Secure Protocol Simulator
CNES
Forward link
Return link
DCT/TV/IN
SC-FWD
SC-RTN
B. Saba 14/04/2010
8
Blocks description (cont’d)
■ Simulator Management
 Provides complete control of the simulator by the user, both on-line or off-line
 On-line : with operator present
 Off-line : no operator present, use of ASCII files
 Reads scenario from file
 TC and TM channels configurations (Unprotected, Authenticated, Authenticated and Encrypted)
 Keys used,
 …
 Writes log results to file
 Frames exchanges, errors, etc…
 Provides synchronisation between processes
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
9
simSec
Software architecture
configuration
udp link
scFwd
gndFwd
globalSim
defines
util
udp link
gndRtn
scRtn
security
testCrytoDllNew.dll
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
CryptoHMAC.dll
10
Next Step
■ Split the simulator in two completely independent programs
 (1) Ground node




Elaborates TC frames (from scenario, or from a file received from Internet)
Computes TC security functions
Performs the ground part of the CCSDS TC link protocol (COP-1 management, …)
Sends the Secure TC Frames to the Spacecraft Node via UDP/IP socket




Receives TM frames from UDP/IP socket
Computes TM security functions
Retrieves CLCW and pass it on to the COP-1 management process
Compares the plaintext TM frame with the expected data (from scenario, or from a file received
from Internet)
 Performs control and monitoring functions, and synchronisation with the other node (exchange
of data files via Internet)
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
11
Next Step (cont’d)
 (2) Spacecraft node





Receives Secure TC frames from UDP/IP socket
Performs the Spacecraft part of the CCSDS TC link protocol (FARM-1 management)
Computes Security functions for TC link
Generates CLCW and Security TM data, and pass them on to the TM frame generation process
Compares the plaintext received TC frames with the expected data (from scenario, or from a file
received from Internet)




Generates TM frames (from scenario, or from a file received from Internet)
Computes security functions for TM link
Performs the Spacecraft part of the CCSDS TM link (inserts CLCW, …)
Sends the TM frames to the Ground node via UDP/IP socket
 Performs control and monitoring functions, and synchronisation with the other node (exchange
of data files via Internet)
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
12
Conclusion
■ From the existing simulator, CNES can easily reuse the basic blocks
to develop a new simulator for interoperability testing
■ This new simulator will be composed of two independant parts
 Ground Node simulator
 Spacecraft Node simulator
■ The interface between Ground Node and Spacecraft Node being
based on UDP/IP, the frames could be sent easily via Internet to
realize interoperability tests between two different Space Agencies
Space Data Link Secure Protocol Simulator
CNES
DCT/TV/IN
B. Saba 14/04/2010
13