Conformance coverage
Look up the evidence for an IEC 101 or 104 procedure and see which checks are still open.
Read the evidence#
Search by case ID, role, procedure or test name. The Role column identifies which side of the protocol the procedure describes. Use the evidence columns to see which implementations were exercised. The Wireshark column identifies checks of the encoded fields. The lib60870-C column identifies exchanges with an independent peer. The Gap column records missing evidence, including procedures that still need a physical outstation.
The case IDs belong to this project. They are not IEC test-suite case numbers, and the stack is not laboratory-certified.
The interoperability statement lists what each station reports for an individual ASDU type and the defaults used to configure a peer.
Reproduce the report#
cargo test --locked --test conformance -- --nocaptureThis checks the case list and writes target/conformance/coverage.md. To exercise the referenced tests with Docker and tshark 4.6 or newer, run the full suite from a checkout.
IEC60870_REQUIRE_INTEROP=1 IEC60870_REQUIRE_TSHARK=1 cargo test --locked --all-featuresFor field-by-field checks of packed status, protection events, parameter activation and file transfer, run scripts/test-field-oracle.sh. The first run builds the pinned Wireshark source with Docker. Subsequent runs reuse Docker's build cache. The check fails if any typed IEC 104 ASDU except the read command falls back to raw bytes. The read command carries only an information object address.
Review the packaged Rust API#
Install the reviewer with cargo install --locked cargo-semver-checks --version 0.51.0, then run scripts/review-release-api.sh 0.2.0 from a checkout. The script compares the library against the published release with no optional features, with default features and with all features. It prints the archive path and SHA-256 digest that identify the reviewed build. Pass --allow-dirty to review local edits. Before 1.0, a minor release may break the API; the changelog lists every break.
Procedure coverage#
Download the Markdown table. On a narrow screen, scroll the evidence table horizontally.
Generated by cargo test --test conformance from tests/conformance/cases.rs. The case ids are this crate's own, derived from the procedures of IEC 60870-5-101 and -104; the column for the IEC TS 60870-5-604/-601 case id is filled once those specifications are held.
56 cases: 37 covered, 18 covered with a gap, 1 uncovered; 28 with lib60870-C interop. Gaps: needs hardware 2, standard not held 5, not implemented 1, no third-party scenario 11.
| Case | TS id | Role | Procedure | unit | simulation | fuzz replay | Wireshark | lib60870-C | Gap |
|---|---|---|---|---|---|---|---|---|---|
ASDU-TYPES | — | Role-independent codec | every standard type identification encodes and decodes to itself | asdu_edges::type_identifications_are_the_standard_numbersasdu_roundtrip::every_standard_type_round_trips_under_every_width_combinationasdu_roundtrip::every_typed_variant_names_a_distinct_typereference_capture::every_asdu_in_the_reference_capture_round_trips | — | — | tshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_in | — | — |
ASDU-COT | — | Role-independent codec | cause of transmission values, P/N and T bits, originator address | asdu_edges::causes_of_transmission_are_the_standard_numbersasdu_edges::cot_octet_layout | — | — | — | — | — |
ASDU-WIDTHS | — | Role-independent codec | COT 1/2, common address 1/2 and IOA 1/2/3 octets as a profile | asdu_roundtrip::every_standard_type_round_trips_under_every_width_combinationasdu_roundtrip::untyped_types_round_trip_as_raw_under_every_width_combinationasdu_edges::profile_constantsasdu_edges::encode_refuses_what_the_profile_cannot_carry | — | regressions::the_derivation_reaches_every_width | — | — | — |
ASDU-ELEMENTS | — | Role-independent codec | information elements over their full declared ranges (quality, NVA, SVA, float, BCR, CP24/CP56) | asdu_edges::element_lengths_match_the_reference_tablesasdu_edges::element_bit_layoutsasdu_edges::normalized_limitsasdu_edges::scaled_limitsasdu_edges::floats_nan_and_infinities_keep_their_bitsasdu_edges::cp56_out_of_range_and_flags_are_kept_as_receivedasdu_edges::cp24_substituted_bit_survivesasdu_edges::packed_single_points_type_20asdu_edges::bitstring32_is_little_endianasdu_edges::test_bit_and_negative_confirmationasdu_edges::test_command_pattern_and_gi_bytes | — | — | tshark_oracle::wireshark_dissects_every_104_type_as_what_was_put_in | — | — |
ASDU-VSQ | — | Role-independent codec | variable structure qualifier: SQ 0 and 1, object count, address overflow | asdu_edges::sequence_form_writes_one_addressasdu_edges::vsq_overclaim_is_refused_at_the_first_missing_fieldasdu_edges::sequence_address_overflow_is_refusedasdu_edges::zero_objects | — | — | — | — | — |
ASDU-MALFORMED | — | Role-independent codec | truncated, over-long and malformed ASDUs are refused without panicking | asdu_edges::truncation_at_every_octet_names_the_field_and_its_offsetasdu_edges::trailing_octets_and_too_long_are_refusedasdu_edges::header_decodes_alone | — | regressions::every_committed_crash_input_replays_cleanly | — | — | — |
ASDU-UNKNOWN-TYPES | — | Role-independent codec | private, reserved and security type identifications are kept as raw octets | asdu_edges::unknown_private_forbidden_and_security_types_decode_raw | — | — | — | — | — |
ASDU-PROFILE-TYPES | — | Role-independent codec | a profile permits only the type identifications of its companion standard | station_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_them | — | — | — | — | standard not held: the per-profile permission tables |
104-LINK-FORMATS | — | Controlling and controlled stations | I, S and U formats, APDU length, malformed octets close the connection with a reason | cs104_link::malformed_octets_close_with_the_reasoncs104_link::unexpected_u_frames_close_with_their_namecs104_link::partial_reads_of_one_octet_are_reassembledcs104_link::submit_refuses_empty_and_too_long_asdus | — | regressions_cs104::every_committed_apci_input_replays_cleanly | tshark_apci::every_emitted_apci_frame_dissects_as_encoded | — | — |
104-LINK-STARTDT | — | Controlling and controlled stations | STARTDT act/con; no I-frame before data transfer is started | cs104_link::an_i_frame_before_startdt_is_not_delivered_and_closescs104_link::submit_before_start_is_refusedcs104_link::only_the_controlling_role_starts_and_stopscs104_adapters::start_and_exchange_in_both_directions | — | — | — | interop::server_startdtinterop::client_startdt | — |
104-LINK-STOPDT | — | Controlling and controlled stations | STOPDT act/con, outstanding I-frames acknowledged before the confirmation | cs104_link::stopdt_act_with_outstanding_frames_withholds_the_con_until_they_are_acknowledgedcs104_link::stopdt_act_with_nothing_outstanding_is_confirmed_at_once_and_t1_still_bounds_a_draincs104_link::a_local_stop_acknowledges_and_still_accepts_in_flight_framescs104_adapters::stop_with_outstanding_frames_delivers_them_first | — | — | — | interop::server_stopdt_with_outstanding_framesinterop::client_stopdt_with_outstanding_frames | no third-party scenario: the withheld confirmation against lib60870-C, whose master acknowledges before it stops |
104-LINK-TESTFR | — | Controlling and controlled stations | TESTFR act/con after t3 idle, in every state and role | cs104_link::an_idle_link_sends_testfr_act_after_t3_and_closes_without_a_concs104_link::a_testfr_con_keeps_the_link_open_and_any_frame_restarts_t3cs104_link::testfr_act_is_answered_in_every_state_and_rolecs104_link::an_unsolicited_testfr_con_is_ignoredcs104_adapters::testfr_keeps_an_idle_link_open | — | — | — | interop::server_t3_oursinterop::server_t3_theirsinterop::client_t3_oursinterop::client_t3_theirs | — |
104-LINK-K | — | Controlling and controlled stations | at most k unacknowledged I-frames outstanding | cs104_link::k_outstanding_frames_refuse_the_next_submit_with_back_pressurecs104_adapters::back_pressure_resolves_through_acknowledgments | — | — | — | interop::server_k_and_w_back_pressureinterop::client_k_and_w_back_pressure | — |
104-LINK-W | — | Controlling and controlled stations | acknowledge at the latest after w received I-frames | cs104_link::w_received_frames_are_acknowledged_at_oncecs104_link::an_i_frame_sent_acknowledges_what_was_received | — | — | — | interop::server_k_and_w_back_pressureinterop::client_k_and_w_back_pressure | — |
104-LINK-T0 | — | Controlling station | connection establishment gives up after t0 | cs104_adapters::connect_gives_up_after_t0 | — | — | — | — | no third-party scenario: no lib60870-C scenario; a refused connection needs no peer |
104-LINK-T1 | — | Controlling and controlled stations | an unacknowledged I-frame or U act closes the connection after t1 | cs104_link::an_unacknowledged_i_frame_closes_with_t1_expired_after_t1cs104_link::t1_runs_on_the_oldest_outstanding_framecs104_link::t1_runs_on_startdt_act_and_stopdt_actcs104_adapters::a_silent_peer_ends_in_t1_expired | — | — | — | interop::server_t1_expiryinterop::client_t1_expiry | — |
104-LINK-T2 | — | Controlling and controlled stations | fewer than w I-frames are acknowledged by an S-frame when t2 elapses | cs104_link::fewer_than_w_frames_are_acknowledged_when_t2_elapses | — | — | — | interop::server_t2_acknowledgmentinterop::client_t2_acknowledgment | — |
104-LINK-SEQUENCE | — | Controlling and controlled stations | send and receive sequence numbers: order, wrap at 32767, bad acknowledgments close | cs104_link::an_unexpected_send_sequence_number_closescs104_link::sequence_numbers_wrap_at_32767_in_both_directionscs104_link::an_acknowledgment_of_a_frame_never_sent_closescs104_link::a_repeated_acknowledgment_is_harmlesscs104_link::a_peer_acknowledging_only_every_32767_frames_is_served | simulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reason | regressions_cs104::every_committed_link_input_replays_cleanly | — | — | — |
104-LINK-CLOSE | — | Controlling and controlled stations | every close and disconnect is reported once with its reason | cs104_link::disconnect_and_close_name_their_reason_oncecs104_adapters::a_peer_close_is_reported_as_peer_closed | simulation::every_accepted_i_frame_is_delivered_once_in_order_or_the_connection_closes_with_a_reason | — | — | — | — |
104-LINK-CONFIG | — | Controlling and controlled stations | k, w and t0-t3 are validated (w at most two thirds of k) | cs104_link::an_invalid_configuration_is_refusedcs104_adapters::an_invalid_configuration_and_an_unreachable_peer_are_errors | — | — | — | — | standard not held: the defaults and ranges are taken from the peers |
STA-GI | — | Controlling and controlled stations | station interrogation: confirmation, the points (COT 20), termination | station_controlled::station_interrogation_answers_from_current_statestation_controlled::broadcast_gi_answers_every_common_addressstation_controlled::large_interrogations_are_packed_up_to_the_maximum_lengthstation_controlled::a_gi_while_a_gi_is_in_progress_is_refusedstation_controlling::gi_confirmed_answered_and_terminated_completesstation_controlling::gi_without_termination_times_out_naming_the_termination | — | — | tshark_station::every_station_apdu_dissects_as_decoded | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-GROUP-GI | — | Controlling and controlled stations | group interrogation 1-16 answers only the group; an empty group only confirms | station_controlled::group_interrogation_answers_only_the_group_and_an_empty_group_only_confirmsstation_controlled::a_bad_qualifier_or_ioa_is_refused | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-COUNTER | — | Controlling and controlled stations | counter interrogation: read, freeze, reset | station_controlled::counter_interrogation_reads_freezes_and_resetsstation_controlling::counter_interrogation_completes_on_termination | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | standard not held: the counter interrogation modes |
STA-READ | — | Controlling and controlled stations | read command answered with the current value (COT 5) or COT 47 | station_controlled::read_answers_with_the_current_value_or_cot_47station_controlling::read_completes_with_the_point | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-CLOCK | — | Controlling and controlled stations | clock synchronisation, applied to later time tags; a refusal is negative | station_controlled::clock_sync_is_handed_to_the_handler_and_applied_to_later_time_tagsstation_controlled::a_refused_clock_sync_is_negative_and_changes_nothingstation_controlling::clock_sync_carries_the_clock_time | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-TEST-COMMAND | — | Controlling and controlled stations | test command (107 on 104, 104 where the profile permits it) mirrored | station_controlled::test_command_107_is_mirroredstation_controlled::test_command_104_and_delay_acquisition_work_where_the_profile_permits_themstation_controlling::test_command_is_107_on_104 | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-RESET-PROCESS | — | Controlling and controlled stations | reset process command; QRP 2 clears the event buffer | station_controlled::reset_process_asks_the_handler_and_qrp_2_clears_the_event_bufferstation_controlled::reset_process_qrp_2_drops_unsent_eventsstation_controlling::reset_process_and_parameters | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_server | no third-party scenario: our controlling station against lib60870-C's |
STA-PARAMETERS | — | Controlling and controlled stations | parameter loading (110-112) and activation (113) | station_controlled::parameters_are_handed_to_the_handler_and_confirmedstation_controlling::reset_process_and_parameters | — | — | — | — | no third-party scenario: neither role against lib60870-C |
STA-COMMAND-DIRECT | — | Controlling and controlled stations | direct commands of every type (45-51, 58-64): confirmation and termination | station_controlled::direct_points_execute_directly_and_refuse_a_selectstation_controlled::direct_or_select_points_take_bothstation_controlled::bitstring_commands_are_directstation_controlled::every_handler_call_carries_its_contextstation_controlling::direct_commands_with_and_without_termination | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-COMMAND-SBO | — | Controlling and controlled stations | select-before-operate: select, execute, confirmation and termination | station_controlled::select_then_execute_confirms_and_terminatesstation_controlling::sbo_reports_selected_confirmed_completedstation_controlling::a_refused_select_sends_no_execute | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-COMMAND-SBO-REFUSAL | — | Controlled station | an execute without a matching, timely select from the same connection is refused and not executed | station_controlled::execute_without_select_is_refused_and_the_handler_is_not_calledstation_controlled::an_execute_after_the_select_timeout_is_refusedstation_controlled::an_execute_that_does_not_match_the_select_is_refusedstation_controlled::an_execute_from_another_connection_is_refusedstation_controlled::a_second_select_by_another_originator_is_refused_but_the_same_one_reselectsstation_controlled::deactivation_cancels_a_select | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_server | — |
STA-COMMAND-TIME-TAG | — | Controlled station | time-tagged commands (58-64) carry their CP56Time2a to the handler | station_controlled::time_tagged_commands_pass_their_time_to_the_handler | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_server | standard not held: the validity window of a time-tagged command |
STA-COMMAND-PENDING | — | Controlled station | a long-running command is confirmed now and terminated later, once, or abandoned with its connection | station_controlled::a_pending_execute_is_confirmed_at_once_and_terminated_when_the_application_says_sostation_controlled::a_pending_execute_can_terminate_negativelystation_controlled::a_pending_execute_terminates_exactly_oncestation_controlled::a_pending_execute_is_abandoned_when_its_connection_closes_and_never_terminated_elsewherestation_controlled::a_connection_holds_at_most_max_pending_commandsstation_adapters::a_pending_command_terminates_later_through_the_async_server_handle | — | — | — | interop_station::lib60870_client_sees_deferred_terminations_and_an_abandoned_command_is_never_terminated | — |
STA-NEGATIVE | — | Controlling and controlled stations | unknown type, cause, common address and IOA (COT 44-47) and refused commands are confirmed negatively | station_controlled::unknown_type_is_cot_44station_controlled::unknown_cause_is_cot_45station_controlled::unknown_common_address_is_cot_46station_controlled::unknown_ioa_is_cot_47station_controlled::a_refused_command_is_confirmed_negatively_without_terminationstation_controlled::a_command_with_two_objects_is_refusedstation_controlled::an_asdu_that_does_not_decode_is_dropped_and_countedstation_controlling::a_negative_confirmation_is_an_error_carrying_the_cotstation_controlling::cot_44_to_47_mirrors_are_negative | — | — | — | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
STA-END-OF-INIT | — | Controlling and controlled stations | end of initialisation (70) is the first ASDU after start | station_controlled::end_of_initialisation_comes_first_after_startstation_controlling::spontaneous_data_and_end_of_initialisation_are_events | — | — | — | — | no third-party scenario: not asserted against lib60870-C |
STA-SPONTANEOUS | — | Controlling and controlled stations | spontaneous events (COT 3) with the clock's time tag, packed by type | station_controlled::spontaneous_events_carry_the_clock_time_in_the_configured_formatstation_controlled::events_are_packed_by_type_up_to_the_maximum_lengthstation_controlling::spontaneous_data_and_end_of_initialisation_are_events | — | — | tshark_station::every_station_apdu_dissects_as_decoded | interop_station::our_client_runs_every_procedure_against_lib60870_server | no third-party scenario: our controlled station's events into lib60870-C's client |
STA-CYCLIC | — | Controlled station | cyclic (COT 1) and background (COT 2) transmission | station_controlled::cyclic_and_background_points_are_sent_periodically | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
STA-EVENT-BUFFER | — | Controlled station | events kept until acknowledged and re-sent after a reconnection or STOPDT; overflow reported | station_controlled::events_are_kept_until_acknowledged_and_re_sent_after_reconnectionstation_controlled::an_update_storm_beyond_the_buffer_reports_the_loss_and_keeps_the_neweststation_controlled::stopdt_keeps_the_events_for_the_next_startstation_adapters::events_survive_a_reconnection_through_the_adapters | station_simulation::reconnect_delivers_every_event_or_reports_it_lost | regressions_station::every_committed_controlled_station_input_replays_cleanly | — | interop_station::our_client_runs_every_procedure_against_lib60870_server | no third-party scenario: a connection dropped with events outstanding, against lib60870-C |
STA-REDUNDANCY | — | Controlled station | redundancy groups: one active connection, switch-over re-sends what was not acknowledged | station_controlled::a_switch_over_closes_the_old_connection_and_re_sends_its_unacknowledged_events_firststation_controlled::the_standby_connection_is_not_acted_onstation_controlled::groups_have_separate_buffersstation_adapters::a_redundancy_group_by_address_switches_over | station_simulation::switch_over_loses_nothing_and_duplicates_only_unacknowledged_events | — | — | — | standard not held: the redundancy rule; no lib60870-C scenario |
STA-REQUESTS | — | Controlling station | the controlling station's requests: one per kind and address, timeouts, refused before start, failed on disconnect | station_controlling::no_confirmation_times_out_naming_the_confirmationstation_controlling::a_duplicate_request_is_busy_and_nothing_goes_before_startstation_controlling::a_disconnect_fails_every_outstanding_requeststation_controlling::requests_wait_while_the_window_is_fullstation_controlling::an_unstarted_master_refuses_requests | — | — | — | — | — |
STA-ADAPTERS | — | Controlling and controlled stations | the blocking and Tokio client and server against each other | station_adapters::blocking_client_against_blocking_serverstation_adapters::blocking_client_against_async_serverstation_adapters::async_client_against_both_servers | — | — | — | — | — |
STA-FILE-TRANSFER | — | Controlling and controlled stations | file retrieval (120-126): directory, select, call, segments, acknowledgments | file_transfer::cancelled_downloads_late_reply_cannot_supply_successor_contentsfile_transfer::cancel_download_targets_one_request_and_uses_resolved_namefile_transfer::dropping_download_future_deactivates_selected_filefile_transfer::timeout_deactivates_and_retry_waits_for_ordered_confirmationfile_transfer::download_is_byte_exact_across_sections_and_profilesfile_transfer::download_rejects_oversized_file_before_calling_itfile_transfer::checksum_failure_retries_only_the_bad_section_and_rejects_a_bad_filefile_transfer::interrupted_client_drops_partial_downloadfile_transfer::file_ready_rejects_oversize_and_completion_reports_the_file_identityfile_transfer::section_overrun_fails_before_returning_datafile_transfer::selection_is_connection_scoped_and_released_on_timeout_and_disconnectfile_directory::directory_frames_fit_both_profiles_and_only_the_last_entry_ends_the_listingfile_directory::blocking_client_collects_complete_empty_and_unknown_directoriesfile_directory::async_client_collects_directory_from_async_serverfile_directory::server_refuses_oversized_catalogs_and_unrepresentable_recordsfile_directory::malformed_end_marker_fails_request_and_releases_itfile_directory::oversized_directory_is_refused_before_any_partial_listing_is_returnedfile_directory::incomplete_directory_times_out_and_another_station_cannot_finish_it | — | — | tshark_station::every_station_apdu_dissects_as_decoded | interop_station::lib60870_client_runs_every_procedure_against_our_serverinterop_station::our_client_runs_every_procedure_against_lib60870_server | — |
101-LINK-FRAMES | — | Role-independent codec | FT 1.2 single character, fixed and variable frames; bad checksum, end or length discarded | cs101_link::bad_checksum_end_and_length_are_discarded_and_countedcs101_link::an_interrupted_frame_is_discardedcs101_link::single_char_e5_is_ack_and_no_data | — | regressions_cs101::every_committed_ft12_input_replays_cleanly | tshark_ft12::every_emitted_frame_dissects_as_what_was_put_in | — | — |
101-LINK-ADDRESS | — | Primary and secondary links | link address of 0, 1 or 2 octets; a foreign address is ignored | cs101_link::every_address_width_works_end_to_endcs101_link::foreign_address_is_ignoredcs101_link::constructors_check_addresses | — | — | — | interop_cs101::unbalanced_primary_against_lib60870_slaveinterop_cs101::unbalanced_primary_against_lib60870_slave_two_octet_addressinterop_cs101::passive_cli_decodes_independent_master_link_status | — |
101-LINK-BROADCAST | — | Secondary link | a broadcast is delivered and never answered | cs101_link::broadcast_is_delivered_and_never_answered | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
101-LINK-UNBALANCED-POLL | — | Primary and secondary links | unbalanced polling of class 1 and class 2, ACD, several secondaries round-robin | cs101_link::class2_poll_with_class1_pending_sets_acd_and_master_polls_class1cs101_link::end_to_end_class1_and_class2_arrive_and_are_acknowledgedcs101_link::two_outstations_are_polled_round_robincs101_station::stations_over_an_unbalanced_linkcs101_adapters::unbalanced_over_tcp | — | — | — | interop_cs101::unbalanced_primary_against_lib60870_slaveinterop_cs101::unbalanced_secondary_against_lib60870_master | — |
101-LINK-FCB | — | Primary and secondary links | frame count bit: a repeated FCB gets the identical response, user data delivered once | cs101_link::repeated_fcb_gets_the_identical_response_and_nothing_is_dequeuedcs101_link::repeated_user_data_is_acknowledged_but_delivered_oncecs101_link::master_retransmits_byte_identical_frame_after_timeoutcs101_link::fcv_frame_before_reset_is_answered_not_functioning | cs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_named | — | — | interop_cs101::unbalanced_secondary_against_lib60870_master | — |
101-LINK-RESET-AND-RETRIES | — | Primary and secondary links | link reset, bounded retries, a silent secondary stopped without stalling the others | cs101_link::a_silent_outstation_is_stopped_and_does_not_stall_the_othercs101_link::retries_exhausted_reports_user_data_unconfirmedcs101_link::reset_with_a_response_in_flight_reports_it_unconfirmedcs101_link::disconnect_and_close_end_the_link | — | regressions_cs101::every_committed_link_input_replays_cleanly | — | — | — |
101-LINK-DFC | — | Primary and secondary links | data flow control: a busy secondary sets DFC and the primary holds user data | cs101_link::busy_secondary_sets_dfc_and_the_master_holds_user_data | — | — | — | — | no third-party scenario: not exercised against lib60870-C |
101-LINK-BALANCED | — | Primary and secondary links | balanced transmission in both directions with DIR, test function when idle | cs101_link::balanced_runs_both_directions_with_dircs101_link::balanced_sends_test_function_when_idlecs101_station::stations_over_a_balanced_linkcs101_adapters::balanced_over_tcp | — | — | — | interop_cs101::balanced_controlled_against_lib60870_masterinterop_cs101::balanced_controlling_against_lib60870_slave | — |
101-LINK-FUNCTIONS | — | Secondary link | reserved and unsupported function codes are answered as not implemented | cs101_link::reserved_and_unsupported_functions_are_not_implementedcs101_link::submit_refusals_are_named | — | — | — | — | — |
101-LINK-TIMING | — | Primary and secondary links | inter-character timeout and line idle detection | cs101_link::an_interrupted_frame_is_discardedcs101_link::deadlines_are_reported | cs101_simulation::every_asdu_is_delivered_at_most_once_and_ends_named | — | — | — | needs hardware: a real line, UART and modem timing |
101-LINK-SERIAL | — | Primary and secondary links | the serial adapter over a serial device | cs101_adapters::unbalanced_over_a_pty_paircs101_adapters::balanced_over_a_pty_paircs101_adapters::open_serial_reports_a_missing_portcs101_adapters::unbalanced_under_tokio | — | — | — | — | needs hardware: a USB-RS-485/RS-232 adapter and a real 101 outstation |
101-STA-PROCEDURES | — | Controlling and controlled stations | the station procedures over a 101 link | cs101_station::stations_over_an_unbalanced_linkcs101_station::stations_over_a_balanced_link | — | — | — | — | no third-party scenario: the station procedures against lib60870-C over 101, and a real outstation |
SEC-TLS | — | Controlling and controlled stations | IEC 62351-3 TLS for 104 with mutual authentication | tls::a_client_without_a_certificate_is_refused_before_startdt | — | — | — | interop_tls::mutual_tls_with_lib60870_in_both_roles | — |
SEC-AUTHENTICATION | — | Controlling and controlled stations | IEC 62351-5 authentication of critical ASDUs | — | — | — | — | — | not implemented: secure authentication |