telcoladder 0.3.0__tar.gz → 0.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {telcoladder-0.3.0/telcoladder.egg-info → telcoladder-0.5.0}/PKG-INFO +73 -22
- {telcoladder-0.3.0 → telcoladder-0.5.0}/README.md +72 -21
- {telcoladder-0.3.0 → telcoladder-0.5.0}/pyproject.toml +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/__init__.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/activity.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/__init__.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/carrier.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/diameter.py +8 -8
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/gtpv2.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/megaco.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/nas5gs.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/naseps.py +4 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/pfcp.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/s1ap.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/sbi.py +22 -25
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/sgsap.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/sip.py +11 -11
- telcoladder-0.5.0/telcoladder/behavior.py +320 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/callflow.py +45 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/calls.py +5 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/causes.py +4 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/chrome.py +1 -1
- telcoladder-0.5.0/telcoladder/connections.py +69 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/coverage.py +12 -12
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/diameter_3gpp.yaml +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/diameter_base.yaml +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/decode.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/diameterflows.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/endpoints.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/extract.py +1 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/framebytes.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/identities.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/identity.py +3 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/ipsec.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/lanes.py +25 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/lifecycle.py +5 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/mcp.py +5 -13
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/model.py +11 -11
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/nettrace.py +5 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/nf.py +27 -27
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/packets.py +11 -18
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/pipeline.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/prefilter.py +8 -8
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/probe.py +19 -19
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/procedures.py +95 -32
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/session.py +11 -12
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/slicer.py +2 -3
- telcoladder-0.5.0/telcoladder/static/app.css +1 -0
- telcoladder-0.5.0/telcoladder/static/app.js +288 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/summary.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/tshark.py +5 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/viewer.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/web.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/xdr.py +2 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0/telcoladder.egg-info}/PKG-INFO +73 -22
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder.egg-info/SOURCES.txt +5 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_4g_nas_completeness.py +7 -6
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_4g_s_tmsi_and_transactions.py +4 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_4g_scenarios.py +8 -8
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_diameter.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_naseps.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_s1ap.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_sgsap.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_sip.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_anonymize.py +2 -2
- telcoladder-0.5.0/tests/test_behavior.py +343 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_callflow_api.py +16 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_carrier_polymorphism.py +4 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_causes.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_correlate_nf.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_coverage.py +4 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_coverage_pieces.py +6 -6
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_decode.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_decodeas.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_diameter_flow.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_diameter_redirect.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_diameter_roles.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_embedded_supi.py +4 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_extract.py +1 -1
- telcoladder-0.5.0/tests/test_initiator_side.py +126 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_lanes.py +60 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_load_progress.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_mcp.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_nettrace.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_nf_ladder.py +1 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_overview.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_packets.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_procedure_taxonomy.py +3 -4
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_procedures.py +10 -8
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_quoted_tunnels.py +5 -5
- telcoladder-0.5.0/tests/test_radio_connections.py +138 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_rrc_containers.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sbi_consumer_roles.py +1 -1
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sbi_late_body.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sbi_n1n2_sender.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sbi_n2_bridge.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sbi_provider_roles.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_session_decode_params.py +4 -6
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_tmsi_identity.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_ue_role.py +4 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_user_dlt.py +5 -5
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_volte_e2e_call.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_volte_e2e_decoding.py +3 -3
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_volte_e2e_identity.py +2 -2
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_web_assets.py +6 -2
- telcoladder-0.3.0/telcoladder/static/app.css +0 -1
- telcoladder-0.3.0/telcoladder/static/app.js +0 -282
- {telcoladder-0.3.0 → telcoladder-0.5.0}/LICENSE +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/NOTICE +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/setup.cfg +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/__main__.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/enum.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/gtp.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/adapters/ngap.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/anonymize.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/cli.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/correlate.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/gtpv2.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/megaco_error.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/nas_5gmm.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/nas_5gsm.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/nas_eps_emm.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/nas_eps_esm.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/ngap_misc.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/ngap_nas.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/ngap_protocol.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/ngap_radioNetwork.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/ngap_transport.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/pfcp.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/q850.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/s1ap_misc.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/s1ap_nas.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/s1ap_protocol.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/s1ap_radioNetwork.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/s1ap_transport.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/causes/sip_status.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/data/decode-as.yaml +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/decodeas.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/flowtable.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/hpack_huffman.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/i18n.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/interfaces.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/overview.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/pdusession.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/plugins.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/render_mermaid.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/static/theme.js +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/timers.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/translations/__init__.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/translations/zh_tw.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder/wireview.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder.egg-info/dependency_links.txt +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder.egg-info/entry_points.txt +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder.egg-info/requires.txt +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/telcoladder.egg-info/top_level.txt +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_4g_identity_model.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_gtpv2.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapter_megaco.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_adapters.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_archmap.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_batch.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_blast_radius.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_calls.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_cli_encoding.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_cli_help.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_cli_summarize.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_docs_support_table.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_e2e_correlation.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_failure_scenarios.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_filter_composition.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_flow_handle.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_flows_api.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_flowtable.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_frame_filter.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_frame_time.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_framebytes.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_gtp_adapter.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_i18n.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_identifier_reuse.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_identities.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_index_race.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_ip_fragments.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_ipsec.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_message_abs_ts.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_min_python.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_n26_handover.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_no_real_subscriber_data.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_packaging.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_pdusession.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_pfcp_correlation.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_plugins.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_prefilter.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_probe.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_procedure_labels.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_python_baseline.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_release_attribution.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_render_mermaid.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sequence_rules.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_session_activity.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_sip_calls.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_summary.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_timers.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_tshark.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_tshark_prefs.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_ui_readability.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_validation_gate.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_viewer_session.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_web.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_web_i18n.py +0 -0
- {telcoladder-0.3.0 → telcoladder-0.5.0}/tests/test_wireview.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: telcoladder
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: Turn telecom signalling captures into Mermaid sequence diagrams — 5G core, 4G/EPC and IMS on one timeline.
|
|
5
5
|
Author: gollumw
|
|
6
6
|
License: PolyForm-Noncommercial-1.0.0
|
|
@@ -120,9 +120,14 @@ rather than shown as an IP, with the evidence for that name on hover.
|
|
|
120
120
|
| A bare cause number and a trip to the spec | 775 causes with the specification named, plain language and field root causes; clauses where a person checked them |
|
|
121
121
|
| RAN and core blaming each other for a dropped context | Every UE context release marked **requested by the RAN** or **ordered by the core** — a wire fact, not an opinion |
|
|
122
122
|
| A procedure that stalls for no visible reason | The gap named when it matches a NAS timer's default (T3560, T3460 …), and failures counted by TAC, cell, DNN and core element |
|
|
123
|
+
| VoLTE Gm signalling hidden inside IPsec ESP | NULL-encrypted ESP is detected and decoded, so the SIP and SDP inside join the subscriber's ladder. ESP that is really encrypted stays unreadable and is counted, not guessed |
|
|
124
|
+
| A B2BUA (an AS, or an SBC that keeps the charging ID) changes the Call-ID, so one call shows up as unrelated dialogs | Legs that share a charging ID (ICID) and overlap in time are one call, end to end — H.248, HSS, charging and ENUM attached only where evidence ties them to that call |
|
|
123
125
|
| Customer captures that must never leave the building | A command on your machine: no network listener beyond `127.0.0.1`, no telemetry, no cloud, no model |
|
|
124
126
|
|
|
125
|
-
##
|
|
127
|
+
## Quickstart: five ways in
|
|
128
|
+
|
|
129
|
+
> **Windows without Python?** Skip `pip` and jump to
|
|
130
|
+
> [4. Windows, no install](#windows-no-install) — the only prerequisite is Wireshark.
|
|
126
131
|
|
|
127
132
|
```bash
|
|
128
133
|
# 1. CLI — one page of deterministic facts, Markdown or JSON
|
|
@@ -136,6 +141,24 @@ telcoladder serve # http://127.0.0.1:3005
|
|
|
136
141
|
claude mcp add telcoladder -- telcoladder mcp
|
|
137
142
|
```
|
|
138
143
|
|
|
144
|
+
<a id="windows-no-install"></a>
|
|
145
|
+
**4. Windows, no install.** A standalone executable in a portable zip, built by
|
|
146
|
+
CI from the tagged source. Nothing is installed and no registry key is written;
|
|
147
|
+
it needs Wireshark 4.0 or newer on the machine, nothing else.
|
|
148
|
+
|
|
149
|
+
1. **Download and unzip.** Get `TelcoLadder-Windows-x64.zip` (about 10 MB) from
|
|
150
|
+
the [Releases](https://github.com/gollumw/TelcoLadder/releases) page.
|
|
151
|
+
2. **Double-click `check-environment.cmd`.** It finds `tshark.exe` in
|
|
152
|
+
Wireshark's default install location under Program Files — or wherever
|
|
153
|
+
`TELCOLADDER_TSHARK` points — and checks the dissectors.
|
|
154
|
+
3. **Run it from that folder.**
|
|
155
|
+
```bat
|
|
156
|
+
telcoladder.exe summarize capture.pcapng
|
|
157
|
+
telcoladder.exe serve
|
|
158
|
+
```
|
|
159
|
+
`serve` listens on `http://127.0.0.1:3005`: open it in your browser, drop a
|
|
160
|
+
capture (up to 1 GB), or paste a path for anything larger.
|
|
161
|
+
|
|
139
162
|
**5. Hand a capture to someone else.** `telcoladder anonymize in.pcap out.pcap`
|
|
140
163
|
rewrites subscriber identities, addresses, hostnames, PLMN and cell identifiers
|
|
141
164
|
into keyed pseudonyms of the *same length* — TBCD, ASCII, JSON and HPACK-Huffman
|
|
@@ -146,12 +169,6 @@ Same key, same pseudonyms across captures; the key is printed once and never
|
|
|
146
169
|
written down. Compressed HTTP/2 bodies cannot be rewritten in place and are
|
|
147
170
|
refused unless `--blank-opaque-bodies`.
|
|
148
171
|
|
|
149
|
-
**4. Windows, no install.** Download `TelcoLadder-Windows-x64.zip` from the
|
|
150
|
-
[Releases](https://github.com/gollumw/TelcoLadder/releases) page — a standalone
|
|
151
|
-
executable in a portable zip, built by CI from the tagged source. Unzip,
|
|
152
|
-
run `check-environment.cmd`, and use `telcoladder.exe` from that folder. It
|
|
153
|
-
needs Wireshark 4.0 or newer on the machine, nothing else.
|
|
154
|
-
|
|
155
172
|
Requires Python 3.11+ and `tshark` (Wireshark 4.0 or newer) for the `pip`
|
|
156
173
|
route. Neither the macOS nor the Windows installer puts `tshark` on your `PATH`;
|
|
157
174
|
TelcoLadder looks in the standard install directories and finds it anyway, or
|
|
@@ -207,8 +224,9 @@ Each of these is a fixture in `tests/fixtures/` you can run yourself.
|
|
|
207
224
|
3. **A 5GS → EPS handover the target eNB refuses** — `n26-handover`. Five
|
|
208
225
|
elements on one ladder; the failure appears three times on the wire (S1AP
|
|
209
226
|
HandoverFailure, the N26 Forward Relocation Response, the NGAP
|
|
210
|
-
HandoverPreparationFailure) and is explained
|
|
211
|
-
|
|
227
|
+
HandoverPreparationFailure), and each is explained from its own table: S1AP
|
|
228
|
+
#12, GTPv2 #73, NGAP #13 - three numbers for one refusal. Only the NGAP
|
|
229
|
+
entry carries a clause; the other two name the specification and stop.
|
|
212
230
|
|
|
213
231
|
## What it does today
|
|
214
232
|
|
|
@@ -261,8 +279,7 @@ telcoladder analyze big.pcapng --filter 'ngap || s1ap' # any tshark display
|
|
|
261
279
|
```
|
|
262
280
|
|
|
263
281
|
Whatever narrowing could not reach is listed explicitly, never silently
|
|
264
|
-
dropped. Dissection
|
|
265
|
-
file in 28 s on one machine); `tshark` output is streamed, so memory follows the
|
|
282
|
+
dropped. Dissection time is linear in file size; `tshark` output is streamed, so memory follows the
|
|
266
283
|
messages kept rather than the file size.
|
|
267
284
|
|
|
268
285
|
## Prior art, and why this exists anyway
|
|
@@ -292,22 +309,43 @@ diagram, Mermaid as the output, and a verified explanation of what went wrong.
|
|
|
292
309
|
- **A fully transparent SCP** that sends no `3gpp-Sbi-Target-apiRoot` is
|
|
293
310
|
indistinguishable from the endpoint and falls back to an unlabelled IP. The
|
|
294
311
|
correct failure direction, and a real gap.
|
|
295
|
-
- **Diameter covers seven interfaces** with roles and curated causes
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
312
|
+
- **Diameter covers seven interfaces** with roles and curated causes (S6a/S6d,
|
|
313
|
+
Cx/Dx, Sh, Rx, Gx, SWx, S6b); the rest — Rf included — decode and show their
|
|
314
|
+
Application-Id with no role inference. Every Diameter fixture is written from
|
|
315
|
+
RFC 6733, not captured: TCP only, no SCTP, invented timing.
|
|
316
|
+
- **Four behavior rules have no capture behind them.** S10 inter-MME handover,
|
|
317
|
+
the Xn/X2 path switch, CS fallback and the Cx authentication delay inside a
|
|
318
|
+
call are written from message names and covered only by synthetic tests; how
|
|
319
|
+
they read a real capture is unmeasured. The chain shown before a failure is the
|
|
320
|
+
order of messages within one segment, not proven causation.
|
|
321
|
+
- **SIP alone does not name the core proxies.** The UE and the P-CSCF come from
|
|
322
|
+
Gm itself — the security-agreement headers, or which address holds IPsec
|
|
323
|
+
associations with several peers, falling back to a `Contact` that carries a
|
|
324
|
+
subscriber identity; an I-CSCF, S-CSCF or AS is named only when its Cx or Sh
|
|
325
|
+
exchange is in the same capture. Gm is the only SIP
|
|
326
|
+
reference point labelled — Mw and ISC are not, because no capture here has
|
|
327
|
+
verified them. H.248 gets neutral `MGC` / `MGW` roles and no reference point,
|
|
300
328
|
because the protocol alone cannot say whether it is Iq, Mn or Mp.
|
|
329
|
+
- **Calls and numbers join only on evidence.** B2BUA legs become one call only
|
|
330
|
+
when they share a charging ID (ICID) and overlap in time — a B2BUA or SBC
|
|
331
|
+
that replaces the ICID leaves separate rows. A number joins HSS, charging and
|
|
332
|
+
ENUM records only in international form; a local-form number is never
|
|
333
|
+
completed with a guessed country code. VoLTE, VoNR and VoWiFi are shown only
|
|
334
|
+
where `P-Access-Network-Info` declares them; without that header the access
|
|
335
|
+
is reported as not declared.
|
|
301
336
|
- **Only 7 of the 21 cause tables cite a clause.** The other 14 name the
|
|
302
337
|
specification and stop. An absent clause is better than a wrong one.
|
|
303
338
|
- **The 4G, IMS and handover fixtures are written byte by byte** with `tshark`
|
|
304
339
|
as the oracle: exact about the protocol, silent about any real deployment.
|
|
305
|
-
Each `scenario.md` lists what its fixture cannot prove.
|
|
306
|
-
|
|
340
|
+
Each `scenario.md` lists what its fixture cannot prove. UE radio capability
|
|
341
|
+
is not parsed: the NR and LTE RRC containers are skipped during extraction
|
|
342
|
+
because dissecting them is slow, and stay readable in the per-frame decode
|
|
343
|
+
tree.
|
|
307
344
|
- **NAS after Security Mode Command is encrypted** and its content is
|
|
308
|
-
invisible; the packets still appear as their NGAP carrier.
|
|
309
|
-
|
|
310
|
-
|
|
345
|
+
invisible; the packets still appear as their NGAP carrier. The same holds for
|
|
346
|
+
IPsec ESP on Gm: only NULL-encrypted ESP is read, and encrypted ESP is counted
|
|
347
|
+
as unreadable. GTP-U joins the subscriber but carries no throughput or loss
|
|
348
|
+
KPIs; there is no RTP adapter; ISUP and CAMEL are recognised but not read.
|
|
311
349
|
- **Joins through a tunnel an SBI message quotes are inferences.** They bind by
|
|
312
350
|
direction, inside a time window, never across a release, and never where they
|
|
313
351
|
would give one flow two SUPIs; the summary counts each one. What remains: a
|
|
@@ -360,6 +398,19 @@ for an agent using the tool is [AGENTS.md](AGENTS.md).
|
|
|
360
398
|
more than anything else in it: **no real subscriber or customer data, anywhere**,
|
|
361
399
|
and **every spec clause is verified by a human, never generated**.
|
|
362
400
|
|
|
401
|
+
Where to go:
|
|
402
|
+
|
|
403
|
+
- **Something is wrong** — a crash, a wrong ladder, a cause explained
|
|
404
|
+
wrongly: [open a bug report](https://github.com/gollumw/TelcoLadder/issues/new?template=bug_report.yml).
|
|
405
|
+
Paste `telcoladder --version` and `telcoladder check`, never the capture.
|
|
406
|
+
- **A question, a missing cause code, a protocol you want** —
|
|
407
|
+
[open an issue](https://github.com/gollumw/TelcoLadder/issues/new?template=other.yml)
|
|
408
|
+
or ask in [Discussions](https://github.com/gollumw/TelcoLadder/discussions/categories/q-a).
|
|
409
|
+
- **You used it and it worked** — say so in
|
|
410
|
+
[Show and tell](https://github.com/gollumw/TelcoLadder/discussions/categories/show-and-tell);
|
|
411
|
+
knowing which networks and interfaces it is used on decides what gets
|
|
412
|
+
supported next.
|
|
413
|
+
|
|
363
414
|
Found a vulnerability? [`SECURITY.md`](SECURITY.md) — not a public issue.
|
|
364
415
|
|
|
365
416
|
## License
|
|
@@ -88,9 +88,14 @@ rather than shown as an IP, with the evidence for that name on hover.
|
|
|
88
88
|
| A bare cause number and a trip to the spec | 775 causes with the specification named, plain language and field root causes; clauses where a person checked them |
|
|
89
89
|
| RAN and core blaming each other for a dropped context | Every UE context release marked **requested by the RAN** or **ordered by the core** — a wire fact, not an opinion |
|
|
90
90
|
| A procedure that stalls for no visible reason | The gap named when it matches a NAS timer's default (T3560, T3460 …), and failures counted by TAC, cell, DNN and core element |
|
|
91
|
+
| VoLTE Gm signalling hidden inside IPsec ESP | NULL-encrypted ESP is detected and decoded, so the SIP and SDP inside join the subscriber's ladder. ESP that is really encrypted stays unreadable and is counted, not guessed |
|
|
92
|
+
| A B2BUA (an AS, or an SBC that keeps the charging ID) changes the Call-ID, so one call shows up as unrelated dialogs | Legs that share a charging ID (ICID) and overlap in time are one call, end to end — H.248, HSS, charging and ENUM attached only where evidence ties them to that call |
|
|
91
93
|
| Customer captures that must never leave the building | A command on your machine: no network listener beyond `127.0.0.1`, no telemetry, no cloud, no model |
|
|
92
94
|
|
|
93
|
-
##
|
|
95
|
+
## Quickstart: five ways in
|
|
96
|
+
|
|
97
|
+
> **Windows without Python?** Skip `pip` and jump to
|
|
98
|
+
> [4. Windows, no install](#windows-no-install) — the only prerequisite is Wireshark.
|
|
94
99
|
|
|
95
100
|
```bash
|
|
96
101
|
# 1. CLI — one page of deterministic facts, Markdown or JSON
|
|
@@ -104,6 +109,24 @@ telcoladder serve # http://127.0.0.1:3005
|
|
|
104
109
|
claude mcp add telcoladder -- telcoladder mcp
|
|
105
110
|
```
|
|
106
111
|
|
|
112
|
+
<a id="windows-no-install"></a>
|
|
113
|
+
**4. Windows, no install.** A standalone executable in a portable zip, built by
|
|
114
|
+
CI from the tagged source. Nothing is installed and no registry key is written;
|
|
115
|
+
it needs Wireshark 4.0 or newer on the machine, nothing else.
|
|
116
|
+
|
|
117
|
+
1. **Download and unzip.** Get `TelcoLadder-Windows-x64.zip` (about 10 MB) from
|
|
118
|
+
the [Releases](https://github.com/gollumw/TelcoLadder/releases) page.
|
|
119
|
+
2. **Double-click `check-environment.cmd`.** It finds `tshark.exe` in
|
|
120
|
+
Wireshark's default install location under Program Files — or wherever
|
|
121
|
+
`TELCOLADDER_TSHARK` points — and checks the dissectors.
|
|
122
|
+
3. **Run it from that folder.**
|
|
123
|
+
```bat
|
|
124
|
+
telcoladder.exe summarize capture.pcapng
|
|
125
|
+
telcoladder.exe serve
|
|
126
|
+
```
|
|
127
|
+
`serve` listens on `http://127.0.0.1:3005`: open it in your browser, drop a
|
|
128
|
+
capture (up to 1 GB), or paste a path for anything larger.
|
|
129
|
+
|
|
107
130
|
**5. Hand a capture to someone else.** `telcoladder anonymize in.pcap out.pcap`
|
|
108
131
|
rewrites subscriber identities, addresses, hostnames, PLMN and cell identifiers
|
|
109
132
|
into keyed pseudonyms of the *same length* — TBCD, ASCII, JSON and HPACK-Huffman
|
|
@@ -114,12 +137,6 @@ Same key, same pseudonyms across captures; the key is printed once and never
|
|
|
114
137
|
written down. Compressed HTTP/2 bodies cannot be rewritten in place and are
|
|
115
138
|
refused unless `--blank-opaque-bodies`.
|
|
116
139
|
|
|
117
|
-
**4. Windows, no install.** Download `TelcoLadder-Windows-x64.zip` from the
|
|
118
|
-
[Releases](https://github.com/gollumw/TelcoLadder/releases) page — a standalone
|
|
119
|
-
executable in a portable zip, built by CI from the tagged source. Unzip,
|
|
120
|
-
run `check-environment.cmd`, and use `telcoladder.exe` from that folder. It
|
|
121
|
-
needs Wireshark 4.0 or newer on the machine, nothing else.
|
|
122
|
-
|
|
123
140
|
Requires Python 3.11+ and `tshark` (Wireshark 4.0 or newer) for the `pip`
|
|
124
141
|
route. Neither the macOS nor the Windows installer puts `tshark` on your `PATH`;
|
|
125
142
|
TelcoLadder looks in the standard install directories and finds it anyway, or
|
|
@@ -175,8 +192,9 @@ Each of these is a fixture in `tests/fixtures/` you can run yourself.
|
|
|
175
192
|
3. **A 5GS → EPS handover the target eNB refuses** — `n26-handover`. Five
|
|
176
193
|
elements on one ladder; the failure appears three times on the wire (S1AP
|
|
177
194
|
HandoverFailure, the N26 Forward Relocation Response, the NGAP
|
|
178
|
-
HandoverPreparationFailure) and is explained
|
|
179
|
-
|
|
195
|
+
HandoverPreparationFailure), and each is explained from its own table: S1AP
|
|
196
|
+
#12, GTPv2 #73, NGAP #13 - three numbers for one refusal. Only the NGAP
|
|
197
|
+
entry carries a clause; the other two name the specification and stop.
|
|
180
198
|
|
|
181
199
|
## What it does today
|
|
182
200
|
|
|
@@ -229,8 +247,7 @@ telcoladder analyze big.pcapng --filter 'ngap || s1ap' # any tshark display
|
|
|
229
247
|
```
|
|
230
248
|
|
|
231
249
|
Whatever narrowing could not reach is listed explicitly, never silently
|
|
232
|
-
dropped. Dissection
|
|
233
|
-
file in 28 s on one machine); `tshark` output is streamed, so memory follows the
|
|
250
|
+
dropped. Dissection time is linear in file size; `tshark` output is streamed, so memory follows the
|
|
234
251
|
messages kept rather than the file size.
|
|
235
252
|
|
|
236
253
|
## Prior art, and why this exists anyway
|
|
@@ -260,22 +277,43 @@ diagram, Mermaid as the output, and a verified explanation of what went wrong.
|
|
|
260
277
|
- **A fully transparent SCP** that sends no `3gpp-Sbi-Target-apiRoot` is
|
|
261
278
|
indistinguishable from the endpoint and falls back to an unlabelled IP. The
|
|
262
279
|
correct failure direction, and a real gap.
|
|
263
|
-
- **Diameter covers seven interfaces** with roles and curated causes
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
280
|
+
- **Diameter covers seven interfaces** with roles and curated causes (S6a/S6d,
|
|
281
|
+
Cx/Dx, Sh, Rx, Gx, SWx, S6b); the rest — Rf included — decode and show their
|
|
282
|
+
Application-Id with no role inference. Every Diameter fixture is written from
|
|
283
|
+
RFC 6733, not captured: TCP only, no SCTP, invented timing.
|
|
284
|
+
- **Four behavior rules have no capture behind them.** S10 inter-MME handover,
|
|
285
|
+
the Xn/X2 path switch, CS fallback and the Cx authentication delay inside a
|
|
286
|
+
call are written from message names and covered only by synthetic tests; how
|
|
287
|
+
they read a real capture is unmeasured. The chain shown before a failure is the
|
|
288
|
+
order of messages within one segment, not proven causation.
|
|
289
|
+
- **SIP alone does not name the core proxies.** The UE and the P-CSCF come from
|
|
290
|
+
Gm itself — the security-agreement headers, or which address holds IPsec
|
|
291
|
+
associations with several peers, falling back to a `Contact` that carries a
|
|
292
|
+
subscriber identity; an I-CSCF, S-CSCF or AS is named only when its Cx or Sh
|
|
293
|
+
exchange is in the same capture. Gm is the only SIP
|
|
294
|
+
reference point labelled — Mw and ISC are not, because no capture here has
|
|
295
|
+
verified them. H.248 gets neutral `MGC` / `MGW` roles and no reference point,
|
|
268
296
|
because the protocol alone cannot say whether it is Iq, Mn or Mp.
|
|
297
|
+
- **Calls and numbers join only on evidence.** B2BUA legs become one call only
|
|
298
|
+
when they share a charging ID (ICID) and overlap in time — a B2BUA or SBC
|
|
299
|
+
that replaces the ICID leaves separate rows. A number joins HSS, charging and
|
|
300
|
+
ENUM records only in international form; a local-form number is never
|
|
301
|
+
completed with a guessed country code. VoLTE, VoNR and VoWiFi are shown only
|
|
302
|
+
where `P-Access-Network-Info` declares them; without that header the access
|
|
303
|
+
is reported as not declared.
|
|
269
304
|
- **Only 7 of the 21 cause tables cite a clause.** The other 14 name the
|
|
270
305
|
specification and stop. An absent clause is better than a wrong one.
|
|
271
306
|
- **The 4G, IMS and handover fixtures are written byte by byte** with `tshark`
|
|
272
307
|
as the oracle: exact about the protocol, silent about any real deployment.
|
|
273
|
-
Each `scenario.md` lists what its fixture cannot prove.
|
|
274
|
-
|
|
308
|
+
Each `scenario.md` lists what its fixture cannot prove. UE radio capability
|
|
309
|
+
is not parsed: the NR and LTE RRC containers are skipped during extraction
|
|
310
|
+
because dissecting them is slow, and stay readable in the per-frame decode
|
|
311
|
+
tree.
|
|
275
312
|
- **NAS after Security Mode Command is encrypted** and its content is
|
|
276
|
-
invisible; the packets still appear as their NGAP carrier.
|
|
277
|
-
|
|
278
|
-
|
|
313
|
+
invisible; the packets still appear as their NGAP carrier. The same holds for
|
|
314
|
+
IPsec ESP on Gm: only NULL-encrypted ESP is read, and encrypted ESP is counted
|
|
315
|
+
as unreadable. GTP-U joins the subscriber but carries no throughput or loss
|
|
316
|
+
KPIs; there is no RTP adapter; ISUP and CAMEL are recognised but not read.
|
|
279
317
|
- **Joins through a tunnel an SBI message quotes are inferences.** They bind by
|
|
280
318
|
direction, inside a time window, never across a release, and never where they
|
|
281
319
|
would give one flow two SUPIs; the summary counts each one. What remains: a
|
|
@@ -328,6 +366,19 @@ for an agent using the tool is [AGENTS.md](AGENTS.md).
|
|
|
328
366
|
more than anything else in it: **no real subscriber or customer data, anywhere**,
|
|
329
367
|
and **every spec clause is verified by a human, never generated**.
|
|
330
368
|
|
|
369
|
+
Where to go:
|
|
370
|
+
|
|
371
|
+
- **Something is wrong** — a crash, a wrong ladder, a cause explained
|
|
372
|
+
wrongly: [open a bug report](https://github.com/gollumw/TelcoLadder/issues/new?template=bug_report.yml).
|
|
373
|
+
Paste `telcoladder --version` and `telcoladder check`, never the capture.
|
|
374
|
+
- **A question, a missing cause code, a protocol you want** —
|
|
375
|
+
[open an issue](https://github.com/gollumw/TelcoLadder/issues/new?template=other.yml)
|
|
376
|
+
or ask in [Discussions](https://github.com/gollumw/TelcoLadder/discussions/categories/q-a).
|
|
377
|
+
- **You used it and it worked** — say so in
|
|
378
|
+
[Show and tell](https://github.com/gollumw/TelcoLadder/discussions/categories/show-and-tell);
|
|
379
|
+
knowing which networks and interfaces it is used on decides what gets
|
|
380
|
+
supported next.
|
|
381
|
+
|
|
331
382
|
Found a vulnerability? [`SECURITY.md`](SECURITY.md) — not a public issue.
|
|
332
383
|
|
|
333
384
|
## License
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""一個訂戶在這份擷取檔裡做了什麼:打電話、只有 IMS 註冊與查詢、或一般 session。
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
總覽「偵測到的會話」依此分組。原本抽屜只按身分列,15 個訂戶攤成
|
|
4
4
|
一排,看不出哪些是電話觸發的。
|
|
5
5
|
|
|
6
6
|
**每一類都從引擎已有的事實讀,不從協定名稱猜場景:**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* `flows` —— 沒有訂戶鍵的那一桶(節點維護等),不是一個人。
|
|
13
13
|
|
|
14
14
|
**接取(VoLTE/VoNR/VoWiFi)只看線路宣告**(`P-Access-Network-Info`)。沒宣告就是空的,
|
|
15
|
-
不從 GTP 的 RAT、ePDG
|
|
15
|
+
不從 GTP 的 RAT、ePDG 位址之類的線索推。
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
from __future__ import annotations
|
|
@@ -53,7 +53,7 @@ filter 裡,tshark 根本不會把那些封包吐出來 —— 而症狀是「
|
|
|
53
53
|
filter 是「把這個協定的封包留下來」,前提是 tshark **已經認出**那是什麼協定。
|
|
54
54
|
擷取起點若在 TCP 連線建立之後,tshark 看不到 HTTP/2 的 preface,整條連線會
|
|
55
55
|
退回 `data` —— 這時 `DISPLAY_FILTER = "http2"` 一格都收不到,**而且不報錯**。
|
|
56
|
-
|
|
56
|
+
(擷取起點晚於連線建立時,不指定 decode-as 的話那條連線上的 SBI 會整條退回 `data`。)
|
|
57
57
|
|
|
58
58
|
所以宣告了 `DISPLAY_FILTER` 還不夠,跑在非標準 port 上的協定要一併宣告
|
|
59
59
|
`DECODE_AS`。IMS 會更常遇到:SIP 跑 5062 / 6060、Diameter 被改 port 都是常態。
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""Diameter —— RFC 6733,以及 3GPP 在它上面蓋的那些介面。
|
|
2
2
|
|
|
3
3
|
Phase 2 的第一塊。**目前只認 S6a/S6d、Cx/Dx、Gx 三個介面加上基礎訊息**
|
|
4
|
-
|
|
4
|
+
(先窄後寬)。其餘 20 幾個介面的 Application-Id 認得出來、
|
|
5
5
|
會如實顯示,但沒有角色推論、也沒有 cause 收錄 —— 那是誠實的「還沒做」,
|
|
6
6
|
不是靜默的錯。等真實封包出現再加。
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ Cause 是 CHOICE,五個群組各自從 0 編號)同一類。
|
|
|
31
31
|
experimental result)。所以這裡從 `diameter_diameter_Experimental-Result`
|
|
32
32
|
的原始位元組把群組拆開,只取它自己那一個 Vendor-Id。
|
|
33
33
|
|
|
34
|
-
這是
|
|
34
|
+
這是 CLAUDE.md 的 Measured decisions「`-T fields` 會把訊息邊界壓沒」的同一個教訓換一個形狀:
|
|
35
35
|
**攤平的欄位不告訴你結構,而結構就是語意。**
|
|
36
36
|
|
|
37
37
|
## 身分:四把鑰匙,其中一把是推導出來的
|
|
@@ -123,9 +123,9 @@ VENDOR_3GPP = 10415
|
|
|
123
123
|
#: Application-Id → 介面名稱。**只收有角色推論的介面加基礎訊息**;
|
|
124
124
|
#: 其餘的認得出號碼但推不出誰是誰,一律顯示號碼(見檔頭)。
|
|
125
125
|
#:
|
|
126
|
-
#: 2026-08-23 收了三個(S6a/S6d、Cx/Dx、Gx)。2026-09-05
|
|
127
|
-
#:
|
|
128
|
-
#:
|
|
126
|
+
#: 2026-08-23 收了三個(S6a/S6d、Cx/Dx、Gx)。2026-09-05 再收四個:Sh、Rx、
|
|
127
|
+
#: SWx、S6b —— 依專業電信工程師的實務經驗,IMS/EPC 的裸 Diameter 匯出裡常見的
|
|
128
|
+
#: 就是這四個,之前每一個都只顯示號碼、兩端都沒有名字。
|
|
129
129
|
#:
|
|
130
130
|
#: 號碼取自 IANA 的 Diameter Application-Id 登錄,並與 Wireshark 的 Diameter
|
|
131
131
|
#: 字典逐一對過(`tests/test_adapter_diameter.py`)。
|
|
@@ -195,7 +195,7 @@ _FIRST_FAILURE_CODE = 3000
|
|
|
195
195
|
#: 的那個 answer 決定。把它標紅的症狀是:每一筆走過 SLF 的 Cx/Sh 交易都
|
|
196
196
|
#: 是紅的,而它們全部成功 —— 與 `pfcp.py` 的 #2/#3、`sip.py` 的 401 同一族
|
|
197
197
|
#: (流程不是結局)。**沒有 Redirect-Host 的 3006 仍然是失敗**:那時發送端
|
|
198
|
-
#:
|
|
198
|
+
#: 無處可去。
|
|
199
199
|
_REDIRECT_INDICATION = 3006
|
|
200
200
|
|
|
201
201
|
|
|
@@ -331,8 +331,8 @@ def _identity_keys(block: dict[str, Any]) -> set[IdKey]:
|
|
|
331
331
|
if number:
|
|
332
332
|
keys.add(globally_unique(IdKind.MSISDN, number))
|
|
333
333
|
|
|
334
|
-
# **同一個門號的 Diameter 併成一條**(2026-09-13
|
|
335
|
-
#
|
|
334
|
+
# **同一個門號的 Diameter 併成一條**(2026-09-13)。被叫號碼的 Cx 路由查詢與
|
|
335
|
+
# 每一段 Sh 查詢各自只有 Session-Id,不收門號的話每段各成一條流程,沒有一條說得出「這是誰」。
|
|
336
336
|
#
|
|
337
337
|
# Sh 的 `User-Identity` 裡是 TBCD 的 `MSISDN`(國際形式)。
|
|
338
338
|
for raw in _as_list(block.get("diameter_diameter_MSISDN")):
|
|
@@ -63,7 +63,7 @@ DISPLAY_FILTER = "gtpv2"
|
|
|
63
63
|
|
|
64
64
|
#: 這個 adapter 載送的協定。Context Request 的 Complete Request Message IE 夾著 UE 原始的
|
|
65
65
|
#: TAU/Attach request(TS 29.274)—— 新 MME 把它轉給舊 MME/AMF 驗證。tshark 把它掛在
|
|
66
|
-
#: `gtpv2.nas-eps`;不宣告的話那幾則 NAS
|
|
66
|
+
#: `gtpv2.nas-eps`;不宣告的話那幾則 NAS 一則都收不到(`tests/fixtures/4g-service-request-context` 的 frame 4),而且不報錯。
|
|
67
67
|
CARRIES = ("nas-eps",)
|
|
68
68
|
|
|
69
69
|
#: `telcoladder check` 要驗證存在的 dissector。
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
http2.mime_multipart.nas-5gs ← SBI(multipart/related 把 NAS 夾在 JSON 旁)
|
|
8
8
|
|
|
9
9
|
在 2026-08-19 之前這裡只認第一種,於是 SBI 夾帶的 NAS **完全看不到** ——
|
|
10
|
-
實測 `multi-imsi`
|
|
10
|
+
實測 `multi-imsi` 上就有 20 則;SBI 夾帶的也可能正是一則
|
|
11
11
|
`PDU session establishment reject`。少報失敗的除錯工具比沒有更糟,而且
|
|
12
12
|
**沒有任何一層會說話**:filter 沒漏、adapter 沒錯、tshark 沒報錯。
|
|
13
13
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**NAS-5GS 的 4G 雙胞胎。** 兩件事一模一樣,所以這個檔照著 `nas5gs.py` 的形狀寫:
|
|
4
4
|
|
|
5
|
-
1. **NAS 不是獨立的一層** ——
|
|
5
|
+
1. **NAS 不是獨立的一層** —— 子解剖巢狀在載體層內(CLAUDE.md 的 Measured decisions)。實測 `-T ek`:
|
|
6
6
|
`s1ap` 這個 dict 底下有一個 `nas-eps` 鍵,而 `frame.layer("nas-eps")` 回空。
|
|
7
7
|
找區塊一律走 `adapters/carrier.py` 的 `carried_blocks()`,**那是那個教訓的
|
|
8
8
|
唯一一份實作** —— 複製第二份的話,一份修好了另一份不會說話。
|
|
@@ -138,8 +138,8 @@ ESM_MESSAGE_TYPES: dict[int, str] = {
|
|
|
138
138
|
#: 這也讓兩個 NAS adapter 的規則長得一樣(`nas5gs.py` 的 `_FAILURE_TYPES`)。
|
|
139
139
|
#: 安全標頭型別 12 =「SERVICE REQUEST 專用的安全標頭」(TS 24.301)。**Service request 沒有
|
|
140
140
|
#: 訊息型別欄位** —— 它整則就是這個標頭加 KSI/序號與縮短的 MAC,所以抽不到 EMM 型別。
|
|
141
|
-
#:
|
|
142
|
-
#:
|
|
141
|
+
#: 以前這一種被當成「加密讀不到」而丟掉:每個帶著它的 InitialUEMessage 後面都少了一句
|
|
142
|
+
#: Service request,加密數卻多報同樣的數量(`tests/fixtures/4g-service-request-context` 的 frame 1)。
|
|
143
143
|
#: tshark 的 info 欄位把它叫 `Service request`(測試拿 tshark 當 oracle 核對)。
|
|
144
144
|
_SERVICE_REQUEST_HEADER = 12
|
|
145
145
|
|
|
@@ -278,7 +278,7 @@ def parse(frame: Frame) -> list[Message]:
|
|
|
278
278
|
detail["SUPI"] = imsi
|
|
279
279
|
elif carrier_adapter is not None and any(k[0] is IdKind.SUPI for k in keys):
|
|
280
280
|
# 身分是**跟載體借的**。使用者有權知道依據 —— 比照 `nas5gs.py`,
|
|
281
|
-
#
|
|
281
|
+
# 讀者是梯形圖的事件詳情列。
|
|
282
282
|
detail[IDENTITY_SOURCE_KEY] = carrier_adapter.NAME
|
|
283
283
|
|
|
284
284
|
messages.append(
|
|
@@ -90,7 +90,7 @@ def _tunnel_keys(block: dict[str, Any]) -> set[IdKey]:
|
|
|
90
90
|
迴圈自然跑不到。
|
|
91
91
|
* **Outer Header Creation**(FAR)—— 要把封包送去哪條隧道。
|
|
92
92
|
|
|
93
|
-
**位址一定要一起取。**
|
|
93
|
+
**位址一定要一起取。** 實測 `5gc-e2e` 裡有兩個 TEID 都是 3,
|
|
94
94
|
一個屬於 SMF、一個屬於 gNB —— 少了位址就會被當成同一條隧道。
|
|
95
95
|
"""
|
|
96
96
|
keys: set[IdKey] = set()
|
|
@@ -47,7 +47,7 @@ DISSECTORS = ("s1ap",)
|
|
|
47
47
|
|
|
48
48
|
#: 這個 adapter 載送的協定。**NAS-EPS 的區塊巢狀在 `s1ap` 層裡面**
|
|
49
49
|
#: (實測 `-T ek`:`s1ap` 這個 dict 裡有一個 `nas-eps` 鍵),所以
|
|
50
|
-
#: `frame.layer("nas-eps")` 會回空 —— 那正是
|
|
50
|
+
#: `frame.layer("nas-eps")` 會回空 —— 那正是 CLAUDE.md 的 Measured decisions 講的「子解剖是巢狀的」。
|
|
51
51
|
#: T5 的 NAS-EPS adapter 要靠這個宣告才拿得到載體與身分。
|
|
52
52
|
CARRIES = ("nas-eps",)
|
|
53
53
|
|
|
@@ -152,7 +152,7 @@ _SUFFIX = {"initiating": "", "successful": "Response", "unsuccessful": "Failure"
|
|
|
152
152
|
#:
|
|
153
153
|
#: 這是刻意的取捨:67 個程序 × 3 種結果,我沒有第一手核對過全部,
|
|
154
154
|
#: 而**編一個看起來很合理的訊息名**正是 §2.3 在防的那種傷害。
|
|
155
|
-
#:
|
|
155
|
+
#: 之後每有一則名字拿得到線路證據(tshark 的 info 欄位或 fixture),這張表就跟著長。
|
|
156
156
|
MESSAGE_NAMES: dict[tuple[int, str], str] = {
|
|
157
157
|
(9, "initiating"): "InitialContextSetupRequest",
|
|
158
158
|
(9, "successful"): "InitialContextSetupResponse",
|
|
@@ -181,7 +181,7 @@ _CAUSE_GROUPS = {
|
|
|
181
181
|
#: UE context 真的被放掉的那一則。23 = `UEContextRelease`(TS 36.413)。
|
|
182
182
|
#:
|
|
183
183
|
#: **要的是 successfulOutcome(Complete),不是 initiatingMessage(Command)**
|
|
184
|
-
#: —— 與 `ngap.py`
|
|
184
|
+
#: —— 與 `ngap.py` 同一條規則:Command 只是 MME 下令,context 要等 eNB 回
|
|
185
185
|
#: Complete 才真的沒了。依 Command 就切,等於在 context 還在的時候把一個人的
|
|
186
186
|
#: 流程切成兩半。
|
|
187
187
|
#:
|