telcoladder 0.1.0__tar.gz → 0.3.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.
Files changed (222) hide show
  1. telcoladder-0.3.0/LICENSE +133 -0
  2. {telcoladder-0.1.0 → telcoladder-0.3.0}/NOTICE +6 -3
  3. telcoladder-0.3.0/PKG-INFO +378 -0
  4. telcoladder-0.3.0/README.md +346 -0
  5. {telcoladder-0.1.0 → telcoladder-0.3.0}/pyproject.toml +11 -5
  6. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/__init__.py +1 -1
  7. telcoladder-0.3.0/telcoladder/activity.py +88 -0
  8. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/__init__.py +87 -3
  9. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/diameter.py +131 -3
  10. telcoladder-0.3.0/telcoladder/adapters/enum.py +112 -0
  11. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/gtpv2.py +41 -8
  12. telcoladder-0.3.0/telcoladder/adapters/megaco.py +168 -0
  13. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/nas5gs.py +47 -1
  14. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/naseps.py +21 -4
  15. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/ngap.py +85 -10
  16. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/pfcp.py +22 -18
  17. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/s1ap.py +72 -2
  18. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/sbi.py +378 -2
  19. telcoladder-0.3.0/telcoladder/adapters/sgsap.py +120 -0
  20. telcoladder-0.3.0/telcoladder/adapters/sip.py +450 -0
  21. telcoladder-0.3.0/telcoladder/anonymize.py +2234 -0
  22. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/callflow.py +161 -15
  23. telcoladder-0.3.0/telcoladder/calls.py +467 -0
  24. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/causes.py +124 -5
  25. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/chrome.py +5 -0
  26. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/cli.py +106 -1
  27. telcoladder-0.3.0/telcoladder/correlate.py +194 -0
  28. telcoladder-0.3.0/telcoladder/coverage.py +654 -0
  29. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/diameter_base.yaml +45 -0
  30. telcoladder-0.3.0/telcoladder/data/causes/gtpv2.yaml +570 -0
  31. telcoladder-0.3.0/telcoladder/data/causes/megaco_error.yaml +426 -0
  32. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/nas_5gmm.yaml +128 -5
  33. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/nas_5gsm.yaml +120 -0
  34. telcoladder-0.3.0/telcoladder/data/causes/nas_eps_emm.yaml +377 -0
  35. telcoladder-0.3.0/telcoladder/data/causes/nas_eps_esm.yaml +353 -0
  36. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/ngap_nas.yaml +15 -1
  37. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/ngap_radioNetwork.yaml +176 -0
  38. telcoladder-0.3.0/telcoladder/data/causes/pfcp.yaml +210 -0
  39. telcoladder-0.3.0/telcoladder/data/causes/q850.yaml +702 -0
  40. telcoladder-0.3.0/telcoladder/data/causes/s1ap_misc.yaml +61 -0
  41. telcoladder-0.3.0/telcoladder/data/causes/s1ap_nas.yaml +58 -0
  42. telcoladder-0.3.0/telcoladder/data/causes/s1ap_protocol.yaml +64 -0
  43. telcoladder-0.3.0/telcoladder/data/causes/s1ap_radioNetwork.yaml +343 -0
  44. telcoladder-0.3.0/telcoladder/data/causes/s1ap_transport.yaml +35 -0
  45. telcoladder-0.3.0/telcoladder/data/causes/sip_status.yaml +516 -0
  46. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/decode.py +47 -27
  47. telcoladder-0.3.0/telcoladder/diameterflows.py +517 -0
  48. telcoladder-0.3.0/telcoladder/endpoints.py +85 -0
  49. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/extract.py +50 -3
  50. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/flowtable.py +101 -14
  51. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/framebytes.py +3 -3
  52. telcoladder-0.3.0/telcoladder/hpack_huffman.py +108 -0
  53. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/identities.py +77 -5
  54. telcoladder-0.3.0/telcoladder/identity.py +454 -0
  55. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/interfaces.py +29 -1
  56. telcoladder-0.3.0/telcoladder/ipsec.py +237 -0
  57. telcoladder-0.3.0/telcoladder/lanes.py +156 -0
  58. telcoladder-0.3.0/telcoladder/lifecycle.py +269 -0
  59. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/mcp.py +25 -8
  60. telcoladder-0.3.0/telcoladder/model.py +579 -0
  61. telcoladder-0.3.0/telcoladder/nettrace.py +217 -0
  62. telcoladder-0.3.0/telcoladder/nf.py +835 -0
  63. telcoladder-0.3.0/telcoladder/overview.py +293 -0
  64. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/packets.py +118 -7
  65. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/pdusession.py +81 -0
  66. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/pipeline.py +267 -38
  67. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/prefilter.py +10 -6
  68. telcoladder-0.3.0/telcoladder/probe.py +567 -0
  69. telcoladder-0.3.0/telcoladder/procedures.py +1167 -0
  70. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/session.py +160 -21
  71. telcoladder-0.3.0/telcoladder/static/app.css +1 -0
  72. telcoladder-0.3.0/telcoladder/static/app.js +282 -0
  73. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/summary.py +269 -22
  74. telcoladder-0.3.0/telcoladder/timers.py +136 -0
  75. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/translations/zh_tw.py +297 -15
  76. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/tshark.py +82 -0
  77. telcoladder-0.3.0/telcoladder/viewer.py +964 -0
  78. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/web.py +520 -67
  79. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/wireview.py +8 -2
  80. telcoladder-0.3.0/telcoladder/xdr.py +176 -0
  81. telcoladder-0.3.0/telcoladder.egg-info/PKG-INFO +378 -0
  82. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder.egg-info/SOURCES.txt +77 -0
  83. telcoladder-0.3.0/tests/test_4g_nas_completeness.py +124 -0
  84. telcoladder-0.3.0/tests/test_4g_s_tmsi_and_transactions.py +192 -0
  85. telcoladder-0.3.0/tests/test_4g_scenarios.py +141 -0
  86. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapter_diameter.py +106 -22
  87. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapter_gtpv2.py +90 -8
  88. telcoladder-0.3.0/tests/test_adapter_megaco.py +241 -0
  89. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapter_naseps.py +99 -18
  90. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapter_s1ap.py +83 -0
  91. telcoladder-0.3.0/tests/test_adapter_sgsap.py +124 -0
  92. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapter_sip.py +3 -2
  93. telcoladder-0.3.0/tests/test_anonymize.py +476 -0
  94. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_archmap.py +2 -2
  95. telcoladder-0.3.0/tests/test_batch.py +162 -0
  96. telcoladder-0.3.0/tests/test_blast_radius.py +140 -0
  97. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_callflow_api.py +2 -2
  98. telcoladder-0.3.0/tests/test_calls.py +285 -0
  99. telcoladder-0.3.0/tests/test_causes.py +503 -0
  100. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_cli_summarize.py +1 -1
  101. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_correlate_nf.py +150 -0
  102. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_coverage.py +103 -8
  103. telcoladder-0.3.0/tests/test_coverage_pieces.py +146 -0
  104. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_decode.py +50 -7
  105. telcoladder-0.3.0/tests/test_diameter_flow.py +396 -0
  106. telcoladder-0.3.0/tests/test_diameter_redirect.py +143 -0
  107. telcoladder-0.3.0/tests/test_diameter_roles.py +215 -0
  108. telcoladder-0.3.0/tests/test_docs_support_table.py +40 -0
  109. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_e2e_correlation.py +8 -2
  110. telcoladder-0.3.0/tests/test_embedded_supi.py +130 -0
  111. telcoladder-0.3.0/tests/test_flow_handle.py +180 -0
  112. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_flowtable.py +68 -0
  113. telcoladder-0.3.0/tests/test_frame_filter.py +59 -0
  114. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_i18n.py +41 -0
  115. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_identities.py +20 -5
  116. telcoladder-0.3.0/tests/test_index_race.py +142 -0
  117. telcoladder-0.3.0/tests/test_ip_fragments.py +150 -0
  118. telcoladder-0.3.0/tests/test_ipsec.py +238 -0
  119. telcoladder-0.3.0/tests/test_lanes.py +151 -0
  120. telcoladder-0.3.0/tests/test_load_progress.py +96 -0
  121. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_mcp.py +100 -0
  122. telcoladder-0.3.0/tests/test_min_python.py +152 -0
  123. telcoladder-0.3.0/tests/test_n26_handover.py +223 -0
  124. telcoladder-0.3.0/tests/test_nettrace.py +106 -0
  125. telcoladder-0.3.0/tests/test_nf_ladder.py +190 -0
  126. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_no_real_subscriber_data.py +32 -4
  127. telcoladder-0.3.0/tests/test_overview.py +310 -0
  128. telcoladder-0.3.0/tests/test_packaging.py +89 -0
  129. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_packets.py +35 -1
  130. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_pdusession.py +52 -0
  131. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_plugins.py +2 -2
  132. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_probe.py +43 -1
  133. telcoladder-0.3.0/tests/test_procedure_labels.py +153 -0
  134. telcoladder-0.3.0/tests/test_procedure_taxonomy.py +155 -0
  135. telcoladder-0.3.0/tests/test_procedures.py +593 -0
  136. telcoladder-0.3.0/tests/test_quoted_tunnels.py +281 -0
  137. telcoladder-0.3.0/tests/test_release_attribution.py +219 -0
  138. telcoladder-0.3.0/tests/test_rrc_containers.py +110 -0
  139. telcoladder-0.3.0/tests/test_sbi_consumer_roles.py +138 -0
  140. telcoladder-0.3.0/tests/test_sbi_late_body.py +238 -0
  141. telcoladder-0.3.0/tests/test_sbi_n1n2_sender.py +113 -0
  142. telcoladder-0.3.0/tests/test_sbi_n2_bridge.py +215 -0
  143. telcoladder-0.3.0/tests/test_sbi_provider_roles.py +34 -0
  144. telcoladder-0.3.0/tests/test_sequence_rules.py +231 -0
  145. telcoladder-0.3.0/tests/test_session_activity.py +140 -0
  146. telcoladder-0.3.0/tests/test_sip_calls.py +244 -0
  147. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_summary.py +87 -12
  148. telcoladder-0.3.0/tests/test_timers.py +170 -0
  149. telcoladder-0.3.0/tests/test_tmsi_identity.py +170 -0
  150. telcoladder-0.3.0/tests/test_tshark_prefs.py +188 -0
  151. telcoladder-0.3.0/tests/test_ue_role.py +159 -0
  152. telcoladder-0.3.0/tests/test_ui_readability.py +112 -0
  153. telcoladder-0.3.0/tests/test_user_dlt.py +198 -0
  154. telcoladder-0.3.0/tests/test_validation_gate.py +83 -0
  155. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_viewer_session.py +101 -7
  156. telcoladder-0.3.0/tests/test_volte_e2e_call.py +180 -0
  157. telcoladder-0.3.0/tests/test_volte_e2e_decoding.py +179 -0
  158. telcoladder-0.3.0/tests/test_volte_e2e_identity.py +199 -0
  159. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_web.py +104 -0
  160. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_web_assets.py +105 -1
  161. telcoladder-0.1.0/LICENSE +0 -202
  162. telcoladder-0.1.0/PKG-INFO +0 -561
  163. telcoladder-0.1.0/README.md +0 -530
  164. telcoladder-0.1.0/telcoladder/adapters/sip.py +0 -244
  165. telcoladder-0.1.0/telcoladder/correlate.py +0 -98
  166. telcoladder-0.1.0/telcoladder/coverage.py +0 -344
  167. telcoladder-0.1.0/telcoladder/identity.py +0 -190
  168. telcoladder-0.1.0/telcoladder/lifecycle.py +0 -155
  169. telcoladder-0.1.0/telcoladder/model.py +0 -331
  170. telcoladder-0.1.0/telcoladder/nf.py +0 -383
  171. telcoladder-0.1.0/telcoladder/probe.py +0 -214
  172. telcoladder-0.1.0/telcoladder/procedures.py +0 -412
  173. telcoladder-0.1.0/telcoladder/static/app.css +0 -1
  174. telcoladder-0.1.0/telcoladder/static/app.js +0 -240
  175. telcoladder-0.1.0/telcoladder/viewer.py +0 -550
  176. telcoladder-0.1.0/telcoladder/xdr.py +0 -105
  177. telcoladder-0.1.0/telcoladder.egg-info/PKG-INFO +0 -561
  178. telcoladder-0.1.0/tests/test_causes.py +0 -245
  179. telcoladder-0.1.0/tests/test_procedures.py +0 -305
  180. {telcoladder-0.1.0 → telcoladder-0.3.0}/setup.cfg +0 -0
  181. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/__main__.py +0 -0
  182. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/carrier.py +0 -0
  183. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/adapters/gtp.py +0 -0
  184. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/diameter_3gpp.yaml +0 -0
  185. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/ngap_misc.yaml +0 -0
  186. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/ngap_protocol.yaml +0 -0
  187. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/causes/ngap_transport.yaml +0 -0
  188. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/data/decode-as.yaml +0 -0
  189. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/decodeas.py +0 -0
  190. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/i18n.py +0 -0
  191. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/plugins.py +0 -0
  192. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/render_mermaid.py +0 -0
  193. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/slicer.py +0 -0
  194. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/static/theme.js +0 -0
  195. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder/translations/__init__.py +0 -0
  196. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder.egg-info/dependency_links.txt +0 -0
  197. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder.egg-info/entry_points.txt +0 -0
  198. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder.egg-info/requires.txt +0 -0
  199. {telcoladder-0.1.0 → telcoladder-0.3.0}/telcoladder.egg-info/top_level.txt +0 -0
  200. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_4g_identity_model.py +0 -0
  201. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_adapters.py +0 -0
  202. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_carrier_polymorphism.py +0 -0
  203. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_cli_encoding.py +0 -0
  204. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_cli_help.py +0 -0
  205. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_decodeas.py +0 -0
  206. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_extract.py +0 -0
  207. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_failure_scenarios.py +0 -0
  208. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_filter_composition.py +0 -0
  209. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_flows_api.py +0 -0
  210. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_frame_time.py +0 -0
  211. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_framebytes.py +0 -0
  212. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_gtp_adapter.py +0 -0
  213. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_identifier_reuse.py +0 -0
  214. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_message_abs_ts.py +0 -0
  215. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_pfcp_correlation.py +0 -0
  216. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_prefilter.py +0 -0
  217. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_python_baseline.py +0 -0
  218. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_render_mermaid.py +0 -0
  219. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_session_decode_params.py +0 -0
  220. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_tshark.py +0 -0
  221. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_web_i18n.py +0 -0
  222. {telcoladder-0.1.0 → telcoladder-0.3.0}/tests/test_wireview.py +0 -0
@@ -0,0 +1,133 @@
1
+ # PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ Required Notice: Copyright (c) 2026 gollumw (https://github.com/gollumw/TelcoLadder)
6
+
7
+ ## Acceptance
8
+
9
+ In order to get any license under these terms, you must agree
10
+ to them as both strict obligations and conditions to all
11
+ your licenses.
12
+
13
+ ## Copyright License
14
+
15
+ The licensor grants you a copyright license for the
16
+ software to do everything you might do with the software
17
+ that would otherwise infringe the licensor's copyright
18
+ in it for any permitted purpose. However, you may
19
+ only distribute the software according to [Distribution
20
+ License](#distribution-license) and make changes or new works
21
+ based on the software according to [Changes and New Works
22
+ License](#changes-and-new-works-license).
23
+
24
+ ## Distribution License
25
+
26
+ The licensor grants you an additional copyright license
27
+ to distribute copies of the software. Your license
28
+ to distribute covers distributing the software with
29
+ changes and new works permitted by [Changes and New Works
30
+ License](#changes-and-new-works-license).
31
+
32
+ ## Notices
33
+
34
+ You must ensure that anyone who gets a copy of any part of
35
+ the software from you also gets a copy of these terms or the
36
+ URL for them above, as well as copies of any plain-text lines
37
+ beginning with `Required Notice:` that the licensor provided
38
+ with the software. For example:
39
+
40
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
41
+
42
+ ## Changes and New Works License
43
+
44
+ The licensor grants you an additional copyright license to
45
+ make changes and new works based on the software for any
46
+ permitted purpose.
47
+
48
+ ## Patent License
49
+
50
+ The licensor grants you a patent license for the software that
51
+ covers patent claims the licensor can license, or becomes able
52
+ to license, that you would infringe by using the software.
53
+
54
+ ## Noncommercial Purposes
55
+
56
+ Any noncommercial purpose is a permitted purpose.
57
+
58
+ ## Personal Uses
59
+
60
+ Personal use for research, experiment, and testing for
61
+ the benefit of public knowledge, personal study, private
62
+ entertainment, hobby projects, amateur pursuits, or religious
63
+ observance, without any anticipated commercial application,
64
+ is use for a permitted purpose.
65
+
66
+ ## Noncommercial Organizations
67
+
68
+ Use by any charitable organization, educational institution,
69
+ public research organization, public safety or health
70
+ organization, environmental protection organization,
71
+ or government institution is use for a permitted purpose
72
+ regardless of the source of funding or obligations resulting
73
+ from the funding.
74
+
75
+ ## Fair Use
76
+
77
+ You may have "fair use" rights for the software under the
78
+ law. These terms do not limit them.
79
+
80
+ ## No Other Rights
81
+
82
+ These terms do not allow you to sublicense or transfer any of
83
+ your licenses to anyone else, or prevent the licensor from
84
+ granting licenses to anyone else. These terms do not imply
85
+ any other licenses.
86
+
87
+ ## Patent Defense
88
+
89
+ If you make any written claim that the software infringes or
90
+ contributes to infringement of any patent, your patent license
91
+ for the software granted under these terms ends immediately. If
92
+ your company makes such a claim, your patent license ends
93
+ immediately for work on behalf of your company.
94
+
95
+ ## Violations
96
+
97
+ The first time you are notified in writing that you have
98
+ violated any of these terms, or done anything with the software
99
+ not covered by your licenses, your licenses can nonetheless
100
+ continue if you come into full compliance with these terms,
101
+ and take practical steps to correct past violations, within
102
+ 32 days of receiving notice. Otherwise, all your licenses
103
+ end immediately.
104
+
105
+ ## No Liability
106
+
107
+ ***As far as the law allows, the software comes as is, without
108
+ any warranty or condition, and the licensor will not be liable
109
+ to you for any damages arising out of these terms or the use
110
+ or nature of the software, under any kind of legal claim.***
111
+
112
+ ## Definitions
113
+
114
+ The **licensor** is the individual or entity offering these
115
+ terms, and the **software** is the software the licensor makes
116
+ available under these terms.
117
+
118
+ **You** refers to the individual or entity agreeing to these
119
+ terms.
120
+
121
+ **Your company** is any legal entity, sole proprietorship,
122
+ or other kind of organization that you work for, plus all
123
+ organizations that have control over, are under the control of,
124
+ or are under common control with that organization. **Control**
125
+ means ownership of substantially all the assets of an entity,
126
+ or the power to direct its management and policies by vote,
127
+ contract, or otherwise. Control can be direct or indirect.
128
+
129
+ **Your licenses** are all the licenses granted to you for the
130
+ software under these terms.
131
+
132
+ **Use** means anything you do with the software requiring one
133
+ of your licenses.
@@ -1,7 +1,9 @@
1
1
  TelcoLadder
2
2
  Copyright (c) 2026 gollumw
3
3
 
4
- This product is licensed under the Apache License, Version 2.0 (see LICENSE).
4
+ This product is licensed under the PolyForm Noncommercial License 1.0.0 (see
5
+ LICENSE). Release 0.1.0 was published under the Apache License, Version 2.0 and
6
+ remains available under those terms.
5
7
 
6
8
  ================================================================================
7
9
  Third-party software redistributed with this product
@@ -72,8 +74,9 @@ telekom/5g-trace-visualizer (Apache License 2.0, Copyright Deutsche Telekom AG).
72
74
  See tests/fixtures/http2-multistream/scenario.md for provenance.
73
75
 
74
76
  All other captures under tests/fixtures/ were generated on a local
75
- Open5GS + UERANSIM testbed by the TelcoLadder authors and are covered by this
76
- product's Apache License 2.0.
77
+ Open5GS + UERANSIM testbed, or written byte-by-byte by their make.py, by the
78
+ TelcoLadder authors and are covered by this product's PolyForm Noncommercial
79
+ License 1.0.0.
77
80
 
78
81
  ================================================================================
79
82
  Standards
@@ -0,0 +1,378 @@
1
+ Metadata-Version: 2.4
2
+ Name: telcoladder
3
+ Version: 0.3.0
4
+ Summary: Turn telecom signalling captures into Mermaid sequence diagrams — 5G core, 4G/EPC and IMS on one timeline.
5
+ Author: gollumw
6
+ License: PolyForm-Noncommercial-1.0.0
7
+ Project-URL: Homepage, https://github.com/gollumw/TelcoLadder
8
+ Project-URL: Repository, https://github.com/gollumw/TelcoLadder
9
+ Project-URL: Issues, https://github.com/gollumw/TelcoLadder/issues
10
+ Project-URL: Documentation, https://github.com/gollumw/TelcoLadder/blob/master/docs/user-guide.md
11
+ Project-URL: MCP server, https://github.com/gollumw/TelcoLadder/blob/master/AGENTS.md
12
+ Keywords: 5g,4g,lte,ngap,s1ap,nas,gtp,sip,pcap,wireshark,mermaid,sequence-diagram,ims,volte,diameter,mcp,mcp-server,ai-agent
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Console
15
+ Classifier: Environment :: Web Environment
16
+ Classifier: Intended Audience :: Telecommunications Industry
17
+ Classifier: Intended Audience :: System Administrators
18
+ Classifier: License :: Other/Proprietary License
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: System :: Networking :: Monitoring
23
+ Classifier: Topic :: Communications :: Telephony
24
+ Requires-Python: >=3.11
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ License-File: NOTICE
28
+ Requires-Dist: PyYAML>=6.0
29
+ Provides-Extra: dev
30
+ Requires-Dist: pytest>=8.0; extra == "dev"
31
+ Dynamic: license-file
32
+
33
+ # TelcoLadder
34
+
35
+ <!-- mcp-name: io.github.gollumw/telcoladder -->
36
+
37
+ **Deterministic 5G / 4G / IMS signalling analyzer and call-flow correlator.**
38
+ The correlation and root-cause layer on top of `tshark`: one subscriber across
39
+ every interface, every failure explained from a verified cause table, and
40
+ nothing generated.
41
+
42
+ [![CI](https://github.com/gollumw/TelcoLadder/actions/workflows/ci.yml/badge.svg)](https://github.com/gollumw/TelcoLadder/actions/workflows/ci.yml)
43
+ [![PyPI](https://img.shields.io/pypi/v/telcoladder)](https://pypi.org/project/telcoladder/)
44
+ [![Python](https://img.shields.io/pypi/pyversions/telcoladder)](https://pypi.org/project/telcoladder/)
45
+ [![Causes](https://img.shields.io/badge/3GPP_causes-775_verified_against_tshark-2563eb)](#what-it-reads)
46
+ [![Oracle](https://img.shields.io/badge/oracle-tshark_4.2_%2F_4.6_in_CI-475569)](#how-it-is-verified)
47
+ [![Offline](https://img.shields.io/badge/runtime-100%25_local%2C_no_network-16a34a)](#air-gapped-by-construction)
48
+ [![License](https://img.shields.io/badge/license-PolyForm_Noncommercial_1.0.0-red)](LICENSE)
49
+
50
+ For core-network SRE and R&D, RAN/core interoperability test, and third-line
51
+ troubleshooting at vendors and operators. It assumes you already read
52
+ signalling for a living.
53
+
54
+ ```bash
55
+ pip install telcoladder
56
+ telcoladder check # verifies tshark and its dissectors
57
+ telcoladder summarize failed_attach.pcapng # one page of facts, every failure cited
58
+ ```
59
+
60
+ ![Drop a capture, get each subscriber's correlated ladder — failures explained with their specification reference and the most common field causes](docs/demo.gif)
61
+
62
+ ## What you get
63
+
64
+ Two outputs from one analysis. Mermaid you can paste into a ticket:
65
+
66
+ ```mermaid
67
+ sequenceDiagram
68
+ autonumber
69
+ participant gNB
70
+ participant AMF
71
+ Note over gNB,AMF: SUPI 001011234567895
72
+ gNB->>AMF: #35;7 InitialUEMessage ▸ Registration request
73
+ AMF->>gNB: #35;8 DownlinkNASTransport ▸ Authentication request
74
+ rect rgb(255, 226, 226)
75
+ gNB->>AMF: #35;9 UplinkNASTransport ▸ Authentication failure
76
+ Note over AMF: Synch failure (#35;21) — 3GPP TS 24.501 §9.11.3.2
77
+ end
78
+ rect rgb(255, 226, 226)
79
+ AMF->>gNB: #35;10 DownlinkNASTransport ▸ Registration reject
80
+ Note over gNB: Protocol error, unspecified (#35;111) — 3GPP TS 24.501 §9.11.3.2
81
+ end
82
+ ```
83
+
84
+ That is real output from `tests/fixtures/ki-mismatch`, not an illustration: a UE
85
+ provisioned with the wrong key, captured on a local Open5GS testbed. It is
86
+ **not** the MAC failure you would expect — a UE whose K does not match computes
87
+ an AUTS the network cannot resynchronise from, so you get `#21` and then a bare
88
+ `#111`. The cause table says so because we ran it, not because it sounded right.
89
+
90
+ And the same capture in the browser: a packet list driven by real `tshark`
91
+ display filters, per-frame decode tree and bytes, the ladder with the initiator
92
+ and the cause on every failing event, and a per-PDU-session matrix where every
93
+ cell cites the frame it came from.
94
+
95
+ ![TelcoLadder browser interface](docs/images/browser.png)
96
+
97
+ ## What it reads
98
+
99
+ | Generation | Protocols | Cause explanations |
100
+ |---|---|---|
101
+ | **5G core** | NGAP, NAS-5GS, HTTP/2 SBI, PFCP, GTP-U | 206 |
102
+ | **4G / EPC** | S1AP, NAS-EPS, GTPv2-C (S11, S5/S8, N26), SGsAP (SGs) | 236 |
103
+ | **IMS** | SIP (calls, KPIs), Diameter, H.248/MEGACO | 333 |
104
+
105
+ Every cause code is resolved through a hand-verified table to the specification
106
+ it comes from, what it means in plain language, and the root causes that
107
+ actually produce it in the field — **775 of them**, every name taken verbatim
108
+ from `tshark` and re-checked against it by a test. Nothing is generated: a cause
109
+ the table does not carry is reported as not catalogued, and a clause number is
110
+ printed only where a person transcribed it. Every network function is named
111
+ rather than shown as an IP, with the evidence for that name on hover.
112
+
113
+ ## The pain, and what replaces it
114
+
115
+ | Today | With TelcoLadder |
116
+ |---|---|
117
+ | Copying UE IDs by hand between windows to follow one subscriber | One subscriber's whole lifetime in one flow: SUPI, 5G-S-TMSI, NGAP and S1AP UE IDs, TEIDs, Call-ID — with keys that are recycled treated as recycled |
118
+ | N2 and SBI in separate captures that never line up | N2, SBI and N4 stitched on one timeline; N4 joins through the GTP-U tunnel endpoint the UPF allocated and NGAP relayed |
119
+ | An N26 handover spread across NGAP, N26, S11 and S1AP | One segment across all four, joined through the S1-U SGW F-TEID the MME copies from Create Session Response into HandoverRequest |
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
+ | 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
+ | 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
+ | 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
+
125
+ ## Thirty seconds, four ways in
126
+
127
+ ```bash
128
+ # 1. CLI — one page of deterministic facts, Markdown or JSON
129
+ telcoladder summarize capture.pcapng
130
+ telcoladder analyze capture.pcapng -o flow.mmd # Mermaid, byte-for-byte reproducible
131
+
132
+ # 2. Browser — drop a capture, or paste a path for anything large
133
+ telcoladder serve # http://127.0.0.1:3005
134
+
135
+ # 3. AI agent — the same facts as MCP tools over stdio
136
+ claude mcp add telcoladder -- telcoladder mcp
137
+ ```
138
+
139
+ **5. Hand a capture to someone else.** `telcoladder anonymize in.pcap out.pcap`
140
+ rewrites subscriber identities, addresses, hostnames, PLMN and cell identifiers
141
+ into keyed pseudonyms of the *same length* — TBCD, ASCII, JSON and HPACK-Huffman
142
+ alike — recomputes every checksum, then re-reads its own output and refuses to
143
+ keep it if any original value is still visible. The output walks the same
144
+ pipeline to the same procedures, roles and failures; only the names differ.
145
+ Same key, same pseudonyms across captures; the key is printed once and never
146
+ written down. Compressed HTTP/2 bodies cannot be rewritten in place and are
147
+ refused unless `--blank-opaque-bodies`.
148
+
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
+ Requires Python 3.11+ and `tshark` (Wireshark 4.0 or newer) for the `pip`
156
+ route. Neither the macOS nor the Windows installer puts `tshark` on your `PATH`;
157
+ TelcoLadder looks in the standard install directories and finds it anyway, or
158
+ takes `TELCOLADDER_TSHARK`. The venv-by-venv Windows walkthrough is in the
159
+ [user guide](docs/user-guide.md#2-installation-and-environment-check).
160
+
161
+ ## Five things it does that a decoder does not
162
+
163
+ **Cross-interface correlation.** A subscriber is a union of identity keys, each
164
+ with the right scope: NGAP and S1AP UE IDs are unique only within one
165
+ association, TEIDs and TMSIs are reallocated and treated as episodes, and the
166
+ GTP-U tunnel endpoint is one definition shared by NGAP, PFCP, GTP-U and now
167
+ S1AP. The failure mode of a wrong key is two people in one flow with a ladder
168
+ that still renders, so the key shapes are tested against captures built to
169
+ provoke exactly that.
170
+
171
+ **775 verified causes.** Names from `tshark -G values`, re-checked by tests on
172
+ every CI platform; two Diameter number spaces kept apart; NGAP and S1AP cause
173
+ groups looked up in the group the message selected. Ordered-sequence rules
174
+ written by people — `#21` followed by `#111` is a key mismatch, not a sequence
175
+ problem — are matched and reported with the frames.
176
+
177
+ **Fault attribution.** `UEContextReleaseRequest` is only ever sent by the RAN
178
+ and the release Command only by the core; the ladder, the procedure list and
179
+ the xDR say which one started it. The reason still comes from the cause table;
180
+ there is no second verdict string.
181
+
182
+ **Timer match and blast radius.** An unanswered network request followed by a
183
+ release or reject a timer's default later is reported as *consistent with* that
184
+ timer — never as a proven timeout, because the capture shows timing and not the
185
+ AMF's state. With several subscribers, failures are counted by TAC, cell, DNN
186
+ and core-side element; an unknown location is a `null` row, not a dropped one.
187
+
188
+ **Air-gapped by construction.** `serve` binds `127.0.0.1` and checks the `Host`
189
+ header; the MCP server is stdio only; the browser bundle ships in the package
190
+ and loads nothing from the network; there is no telemetry and no model. What
191
+ the tool could not read — ciphered NAS, ECIES-protected SUCIs, TLS on SBI,
192
+ frames no dissector claimed — is counted and stated before any conclusion.
193
+
194
+ ## Three scenarios from the test captures
195
+
196
+ Each of these is a fixture in `tests/fixtures/` you can run yourself.
197
+
198
+ 1. **A key mismatch that does not look like one** — `ki-mismatch`. Synch
199
+ failure (`#21`) then a bare protocol error (`#111`). The sequence rule in the
200
+ cause table names the real cause and says what does *not* fix it: resetting
201
+ the SQN. `telcoladder summarize tests/fixtures/ki-mismatch/capture.pcap`
202
+ 2. **A context released 6.000 s after an unanswered Authentication request** —
203
+ `5gc-context-release`. The release is marked as ordered by the core, and the
204
+ gap is reported as consistent with T3560's default. The second subscriber in
205
+ the same file is released at the gNB's request after the radio link was
206
+ lost, and is marked as such.
207
+ 3. **A 5GS → EPS handover the target eNB refuses** — `n26-handover`. Five
208
+ elements on one ladder; the failure appears three times on the wire (S1AP
209
+ HandoverFailure, the N26 Forward Relocation Response, the NGAP
210
+ HandoverPreparationFailure) and is explained once, from the S1AP table, with
211
+ the specification named and no clause invented.
212
+
213
+ ## What it does today
214
+
215
+ - **Reads all three generations from one `pcap` / `pcapng`** via `tshark`.
216
+ - **Names the network functions** and shows the IP when the evidence is
217
+ ambiguous rather than guessing. Relays — a 5G SCP, a Diameter DRA, a SIP
218
+ proxy — keep their own lane and are never credited with the services behind
219
+ them.
220
+ - **Correlates one subscriber** across identifiers and across protocols, with
221
+ the scopes described above. On a production trace with TLS on SBI and
222
+ ECIES-protected SUCIs the N2 side still forms its own per-UE flow; what
223
+ could not be read is counted and reported, not silently dropped.
224
+ - **Splits a subscriber's traffic into scenarios** — registration, attach,
225
+ PDU session, service request (UE- or network-triggered), dedicated bearer
226
+ setup, modification and release, deregistration, handover
227
+ (including one that was **cancelled**, which is not a failure), idle
228
+ mobility, IMS registration and call — each with outcome, cause, first
229
+ failure, duration, and where applicable the initiator, the matched timer, or
230
+ the handover preparation and execution times. **The axis is what the
231
+ subscriber was doing, not which protocol carried it**: the S6a exchange
232
+ inside an attach is part of that attach, the context release that ends a
233
+ scenario is part of that scenario (its initiator and cause travel with it,
234
+ and the xDR still lists the release as a row of its own), and an HSS answer of "unknown user"
235
+ is that attach's failure. A Diameter exchange that belongs to no scenario
236
+ stands on its own as an HSS-initiated one — under 4G for S6a/Gx and under IMS
237
+ for Cx/Sh, which the Application-Id decides.
238
+ - **Reads Diameter through the DRA**: S6a/S6d, Cx/Dx, Sh, Rx, Gx, SWx and S6b,
239
+ roles from who initiates which command, a request seen on both sides of a
240
+ relay shown as one transaction with two hops, a relayed failure counted once.
241
+ - **Treats a SIP call as a procedure** with time to ring, to answer and talk
242
+ time, who released it and why, and a busy or declined callee as
243
+ `ended-by-user` rather than a failure — a classification that lives in the
244
+ cause table, not in code.
245
+ - **Exports procedure records** (`--xdr`) and a pinned-field JSON summary,
246
+ both byte-for-byte reproducible, so `jq` can answer "what is the failure rate
247
+ across this batch".
248
+ - **Speaks English or Traditional Chinese** (`--lang zh_TW`, or the switch in
249
+ the browser), deliberately never the system locale: the same command must
250
+ print the same words on two machines, because output gets pasted into tickets.
251
+ - **Needs to be told about non-standard ports.** A capture that starts after
252
+ the TCP connections are up has no HTTP/2 preface for `tshark` to find;
253
+ adapters declare the common cases and `--decode-as` covers the rest.
254
+
255
+ On a large capture, narrow before you draw:
256
+
257
+ ```bash
258
+ telcoladder analyze big.pcapng --subscriber 001011234567895
259
+ telcoladder analyze big.pcapng --since 120 --until 180
260
+ telcoladder analyze big.pcapng --filter 'ngap || s1ap' # any tshark display filter
261
+ ```
262
+
263
+ Whatever narrowing could not reach is listed explicitly, never silently
264
+ dropped. Dissection runs at roughly 0.19 s/MB and is linear (a 145 MB, 780k-frame
265
+ file in 28 s on one machine); `tshark` output is streamed, so memory follows the
266
+ messages kept rather than the file size.
267
+
268
+ ## Prior art, and why this exists anyway
269
+
270
+ These tools came first and are worth your time. TelcoLadder is not trying to
271
+ replace them.
272
+
273
+ | Project | What it does | Why TelcoLadder still exists |
274
+ |---|---|---|
275
+ | [telekom/5g-trace-visualizer](https://github.com/telekom/5g-trace-visualizer) | pcap → SVG sequence diagrams for 5GC (HTTP/2, NAS, PFCP). Deutsche Telekom, Apache-2.0. | Unmaintained since Aug 2023. PlantUML output needs `plantuml.jar`; driven from Jupyter notebooks with a large config surface aimed at k8s deployments. |
276
+ | [irontec/sngrep](https://github.com/irontec/sngrep) | Excellent, actively maintained ncurses SIP flow viewer. | Terminal-only and SIP-only — you cannot paste its output into a document, and it does not touch 5G. |
277
+ | [sipcapture/homer](https://github.com/sipcapture/homer) | Full capture platform: server, agents, database, web UI. | It is infrastructure you deploy and operate. TelcoLadder is a command you run against one file. |
278
+ | [dgudtsov/pcap2uml](https://github.com/dgudtsov/pcap2uml) | IMS call flows across SIP/Diameter/MAP/CAMEL → PlantUML. | The closest in spirit. No 5G support (no NGAP/NAS-5GS), PlantUML output. |
279
+ | [agranig/pcap2mermaid](https://github.com/agranig/pcap2mermaid) | SIP → Mermaid, in Perl. | Two days of commits in January 2019, then nothing. It proved people want this; nobody picked it up. |
280
+
281
+ What none of them do together: 5G **and** 4G **and** IMS in one correlated
282
+ diagram, Mermaid as the output, and a verified explanation of what went wrong.
283
+
284
+ ## Honest limitations
285
+
286
+ - **SBI is verified against exactly one deployment**, Open5GS with an SCP, and
287
+ only for null-scheme SUCIs and cleartext h2c. Production SBI is usually TLS:
288
+ those frames are counted in *not visible*, per port. `tshark` preferences
289
+ pass straight through (`--tshark-pref tls.keylog_file:…`), so a key log can be
290
+ supplied as in Wireshark, but no TLS fixture exists here and that path is not
291
+ covered by the tests. N2 is unaffected either way.
292
+ - **A fully transparent SCP** that sends no `3gpp-Sbi-Target-apiRoot` is
293
+ indistinguishable from the endpoint and falls back to an unlabelled IP. The
294
+ correct failure direction, and a real gap.
295
+ - **Diameter covers seven interfaces** with roles and curated causes; the rest
296
+ decode and show their Application-Id with no role inference. The fixture is
297
+ written from RFC 6733, not captured: no SCTP, no reassembly, invented timing.
298
+ - **SIP proxies are not yet told apart** (`Via` is recorded, Mw and ISC are
299
+ unlabelled); H.248 gets neutral `MGC` / `MGW` roles and no reference point,
300
+ because the protocol alone cannot say whether it is Iq, Mn or Mp.
301
+ - **Only 7 of the 21 cause tables cite a clause.** The other 14 name the
302
+ specification and stop. An absent clause is better than a wrong one.
303
+ - **The 4G, IMS and handover fixtures are written byte by byte** with `tshark`
304
+ as the oracle: exact about the protocol, silent about any real deployment.
305
+ Each `scenario.md` lists what its fixture cannot prove. There is no EPS → 5GS
306
+ handover fixture yet, and no UE radio capability parsing.
307
+ - **NAS after Security Mode Command is encrypted** and its content is
308
+ invisible; the packets still appear as their NGAP carrier. GTP-U joins the
309
+ subscriber but carries no throughput or loss KPIs; there is no RTP adapter;
310
+ ISUP and CAMEL are recognised but not read.
311
+ - **Joins through a tunnel an SBI message quotes are inferences.** They bind by
312
+ direction, inside a time window, never across a release, and never where they
313
+ would give one flow two SUPIs; the summary counts each one. What remains: a
314
+ stale forwarded quote that arrives after its tunnel was released, where the UPF
315
+ reused that exact TEID within 10 s for a UE whose flow shows no SUPI, could
316
+ still be joined. On a single capture point that order violates the protocol.
317
+ - **Mermaid gets slow with very large flows.** Use `--max-messages`; truncation
318
+ is always stated inside the diagram.
319
+ - **`anonymize` proves absence only for what tshark can name.** Identities it
320
+ never decoded stay where they are; TLS payloads are opaque; gzip bodies and
321
+ bodies reassembled across DATA frames are refused rather than guessed at;
322
+ IPv6 text and binary forms, and TAC text and binary forms, are pseudonymised
323
+ independently. The report lists every one of these.
324
+
325
+ ## How it is verified
326
+
327
+ A flow missing three messages looks exactly like a correct one, so the suite
328
+ cross-checks against `tshark` as an independent oracle rather than only
329
+ asserting on its own parse: message counts, procedure and message names, every
330
+ cause table, and the identity keys of the fixtures built to provoke a wrong
331
+ merge. New tests are mutation-checked — the code is broken on purpose and the
332
+ test must go red. Every push runs the full suite on Python 3.11, 3.12 and 3.13
333
+ on Linux with tshark 4.2, and on macOS and Windows with tshark 4.6; the badge at
334
+ the top is live. What the badge does **not** cover is named at the top of
335
+ `.github/workflows/ci.yml`.
336
+
337
+ ## Air-gapped by construction
338
+
339
+ There is no network path out of this tool. The analysis is a child `tshark`
340
+ process reading a file; `serve` binds the loopback address only and refuses
341
+ other `Host` headers; the MCP transport is stdio; the browser bundle is packaged
342
+ with the code and references no external resource; nothing phones home and no
343
+ model is involved anywhere in the pipeline. Uploaded captures are kept in the
344
+ system temp directory with mode 0600 until released or idle-expired, and for
345
+ anything large you paste a path so nothing is copied at all.
346
+
347
+ ## Going deeper
348
+
349
+ The engine — streaming architecture and its measured throughput, the identity
350
+ model and key recycling, the cause library and its oracle discipline, the N26
351
+ stitching, release attribution, timers — is written up in
352
+ [docs/deep-dive.md](docs/deep-dive.md). The operating guide for real captures
353
+ is [docs/user-guide.md](docs/user-guide.md); the contract for adding a
354
+ protocol is [docs/plugin-contract.md](docs/plugin-contract.md); the contract
355
+ for an agent using the tool is [AGENTS.md](AGENTS.md).
356
+
357
+ ## Contributing, and reporting problems
358
+
359
+ [`CONTRIBUTING.md`](CONTRIBUTING.md) is short. It has two rules that matter
360
+ more than anything else in it: **no real subscriber or customer data, anywhere**,
361
+ and **every spec clause is verified by a human, never generated**.
362
+
363
+ Found a vulnerability? [`SECURITY.md`](SECURITY.md) — not a public issue.
364
+
365
+ ## License
366
+
367
+ PolyForm Noncommercial License 1.0.0. See [LICENSE](LICENSE).
368
+
369
+ Free for personal, non-commercial, and educational research use. Commercial
370
+ deployment, commercial distribution, or embedding into for-profit offerings
371
+ requires a separate commercial licence: open a GitHub issue titled
372
+ "Commercial licence" or contact the maintainer through the repository, and
373
+ expect a reply on terms rather than a form.
374
+
375
+ Release 0.1.0 was published under Apache-2.0 and remains available under those
376
+ terms. Third-party material keeps its own licence: the browser bundle's
377
+ dependencies (MIT/ISC, listed in [NOTICE](NOTICE)) and the `http2-multistream`
378
+ fixture (Apache-2.0, Deutsche Telekom).