celatim 0.1.0__py3-none-any.whl
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.
- celatim/__init__.py +693 -0
- celatim/adapter.py +889 -0
- celatim/analysis/__init__.py +41 -0
- celatim/analysis/crosshost_evidence.py +525 -0
- celatim/analysis/crosshost_metrics.py +235 -0
- celatim/analysis/dataset.py +182 -0
- celatim/analysis/subliminal_controls.py +218 -0
- celatim/api.py +1395 -0
- celatim/assurance/__init__.py +35 -0
- celatim/assurance/requirements.py +213 -0
- celatim/assurance/scorecard.py +342 -0
- celatim/catalog.py +92 -0
- celatim/channel/__init__.py +31 -0
- celatim/channel/bits.py +60 -0
- celatim/channel/codec.py +90 -0
- celatim/channel/driver.py +53 -0
- celatim/channel/framer.py +80 -0
- celatim/channel/registry.py +59 -0
- celatim/cli.py +2269 -0
- celatim/cli_endpoints.py +1535 -0
- celatim/crypto_transcript.py +1198 -0
- celatim/data/__init__.py +1 -0
- celatim/data/mechanisms.jsonl +165 -0
- celatim/data/protocol_rates.toml +57 -0
- celatim/detect/__init__.py +90 -0
- celatim/detect/replay.py +996 -0
- celatim/detect/rules.py +609 -0
- celatim/detect/scrub.py +309 -0
- celatim/detect/stateful.py +176 -0
- celatim/discovery.py +267 -0
- celatim/docs/__init__.py +1 -0
- celatim/docs/api-guide.md +558 -0
- celatim/docs/reviewer-quickstart.md +297 -0
- celatim/docs/scenario-authoring.md +119 -0
- celatim/docs/troubleshooting.md +117 -0
- celatim/doctor.py +714 -0
- celatim/envelope.py +155 -0
- celatim/errors.py +52 -0
- celatim/evidence.py +263 -0
- celatim/evidence_index.py +907 -0
- celatim/inspection.py +264 -0
- celatim/layout/__init__.py +5 -0
- celatim/layout/loader.py +30 -0
- celatim/metrics/__init__.py +46 -0
- celatim/metrics/storage.py +44 -0
- celatim/metrics/subliminal.py +132 -0
- celatim/metrics/timing.py +142 -0
- celatim/model.py +407 -0
- celatim/observer.py +638 -0
- celatim/pcap_decode.py +282 -0
- celatim/pdu/__init__.py +87 -0
- celatim/pdu/bgp_attr.py +54 -0
- celatim/pdu/bitfield.py +63 -0
- celatim/pdu/coap_msg.py +53 -0
- celatim/pdu/dns_txt.py +136 -0
- celatim/pdu/format_carriers.py +170 -0
- celatim/pdu/http2.py +84 -0
- celatim/pdu/http2_fields.py +120 -0
- celatim/pdu/minimal_pdu.py +151 -0
- celatim/pdu/quic.py +107 -0
- celatim/pdu/quic_fields.py +157 -0
- celatim/pdu/rtcp.py +91 -0
- celatim/pdu/scapy_field.py +92 -0
- celatim/pdu/scapy_pdu.py +440 -0
- celatim/pdu/ssh_kex.py +85 -0
- celatim/pdu/struct_fields.py +402 -0
- celatim/pdu/tcp.py +101 -0
- celatim/pdu/tls_fields.py +144 -0
- celatim/pdu/ws_frame.py +59 -0
- celatim/py.typed +0 -0
- celatim/report/__init__.py +117 -0
- celatim/report/detector_rules.py +448 -0
- celatim/report/figures.py +439 -0
- celatim/report/guidance.py +134 -0
- celatim/report/macros.py +234 -0
- celatim/report/protocol_rates.py +189 -0
- celatim/report/support_matrix.py +272 -0
- celatim/report/tables.py +85 -0
- celatim/report/windows_capture.py +92 -0
- celatim/resources.py +157 -0
- celatim/reviewer_bundle.py +1596 -0
- celatim/scenario.py +2301 -0
- celatim/scenarios/__init__.py +1 -0
- celatim/scenarios/http2-ping-opaque.toml +15 -0
- celatim/scenarios/quic-connection-id.toml +15 -0
- celatim/scenarios/rtp-rtcp-ext-app.toml +15 -0
- celatim/scenarios/subliminal-ctrl/zzz-ecdsa-nonce-128ctrl.toml +19 -0
- celatim/scenarios/subliminal-ctrl/zzz-rsa-pss-salt-128ctrl.toml +21 -0
- celatim/scenarios/tcp-reserved-bits.toml +15 -0
- celatim/scenarios/z-edns0-padding-dnsmasq-dig.toml +30 -0
- celatim/scenarios/z-http2-ping-opaque-hyper-h2.toml +20 -0
- celatim/scenarios/z-http3-reserved-settings-aioquic.toml +20 -0
- celatim/scenarios/z-quic-connection-id-aioquic.toml +20 -0
- celatim/scenarios/z-tcp-reserved-bits-afpacket.toml +34 -0
- celatim/scenarios/zz-ecdsa-nonce-local.toml +19 -0
- celatim/scenarios/zz-rsa-pss-salt-local.toml +21 -0
- celatim/scenarios/zzz-bgp-scapy.toml +14 -0
- celatim/scenarios/zzz-coap-aiocoap.toml +14 -0
- celatim/scenarios/zzz-dns-null-dnspython.toml +15 -0
- celatim/scenarios/zzz-dns-txt-dnspython.toml +15 -0
- celatim/scenarios/zzz-ssh-kexinit-paramiko.toml +14 -0
- celatim/scenarios/zzz-websocket-websockets.toml +14 -0
- celatim/schemas/__init__.py +1 -0
- celatim/schemas/detector-replay-corpus-v1.schema.json +154 -0
- celatim/schemas/detector-replay-v1.schema.json +194 -0
- celatim/schemas/detector-trace-manifest-v1.schema.json +48 -0
- celatim/schemas/doctor-v1.schema.json +40 -0
- celatim/schemas/evidence-index-v1.schema.json +301 -0
- celatim/schemas/evidence-run-v1.schema.json +947 -0
- celatim/schemas/pcap-decode-v1.schema.json +68 -0
- celatim/schemas/public-bundle-v1.schema.json +103 -0
- celatim/schemas/public-bundle-verify-v1.schema.json +99 -0
- celatim/schemas/public-evidence-index-v1.schema.json +256 -0
- celatim/schemas/qemu-tap-preflight-v1.schema.json +145 -0
- celatim/schemas/reviewer-bundle-v1.schema.json +89 -0
- celatim/schemas/reviewer-bundle-verify-v1.schema.json +99 -0
- celatim/schemas/scenario-execution-plan-v1.schema.json +120 -0
- celatim/schemas/scenario-inventory-v1.schema.json +83 -0
- celatim/schemas/scenario-v1.schema.json +146 -0
- celatim/schemas/scrub-report-v1.schema.json +56 -0
- celatim/schemas/support-matrix-v1.schema.json +216 -0
- celatim/schemas/testbed-requirements-v1.schema.json +108 -0
- celatim/schemas/timing-sweep-v1.schema.json +194 -0
- celatim/session.py +1408 -0
- celatim/testbed/__init__.py +215 -0
- celatim/testbed/afpacket.py +186 -0
- celatim/testbed/bgp_message.py +63 -0
- celatim/testbed/coap_message.py +63 -0
- celatim/testbed/commands.py +62 -0
- celatim/testbed/daemon.py +292 -0
- celatim/testbed/dns.py +659 -0
- celatim/testbed/dns_message.py +109 -0
- celatim/testbed/h3.py +346 -0
- celatim/testbed/http2.py +298 -0
- celatim/testbed/message_carrier.py +180 -0
- celatim/testbed/netns.py +193 -0
- celatim/testbed/packet_path.py +640 -0
- celatim/testbed/qemu.py +499 -0
- celatim/testbed/quic.py +318 -0
- celatim/testbed/requirements.py +215 -0
- celatim/testbed/ssh_message.py +69 -0
- celatim/testbed/tcpdump.py +143 -0
- celatim/testbed/ws_message.py +63 -0
- celatim/timing_sweep.py +494 -0
- celatim/transports.py +547 -0
- celatim-0.1.0.dist-info/METADATA +265 -0
- celatim-0.1.0.dist-info/RECORD +150 -0
- celatim-0.1.0.dist-info/WHEEL +4 -0
- celatim-0.1.0.dist-info/entry_points.txt +7 -0
- celatim-0.1.0.dist-info/licenses/LICENSE +202 -0
celatim/__init__.py
ADDED
|
@@ -0,0 +1,693 @@
|
|
|
1
|
+
"""celatim — reproducible measurement of covert-channel capacity in unused,
|
|
2
|
+
reserved, and optional protocol fields (RFC tunnel survey)."""
|
|
3
|
+
|
|
4
|
+
from .adapter import (
|
|
5
|
+
AdapterCapability,
|
|
6
|
+
AdapterPath,
|
|
7
|
+
AdapterPathKind,
|
|
8
|
+
AdapterStatus,
|
|
9
|
+
CarrierUnit,
|
|
10
|
+
MechanismAdapter,
|
|
11
|
+
adapter_for,
|
|
12
|
+
)
|
|
13
|
+
from .api import (
|
|
14
|
+
NETNS_LAB_SCHEMA_VERSION,
|
|
15
|
+
EndpointReceiveResult,
|
|
16
|
+
EndpointRoundtripResult,
|
|
17
|
+
EndpointSendResult,
|
|
18
|
+
LabCommandPlan,
|
|
19
|
+
LabTopologyResult,
|
|
20
|
+
PayloadSource,
|
|
21
|
+
check_installation,
|
|
22
|
+
decode_pcap_payload,
|
|
23
|
+
manage_netns_lab,
|
|
24
|
+
netns_lab_config_to_json,
|
|
25
|
+
payload_from_file,
|
|
26
|
+
payload_from_hex,
|
|
27
|
+
payload_from_text,
|
|
28
|
+
random_payload,
|
|
29
|
+
receive_payload,
|
|
30
|
+
receive_scenario_payload,
|
|
31
|
+
roundtrip_payload,
|
|
32
|
+
roundtrip_scenario_payload,
|
|
33
|
+
run_evidence_payload,
|
|
34
|
+
run_observed_timing_sweep_payload,
|
|
35
|
+
run_timing_sweep_payload,
|
|
36
|
+
scrub_pcap_payload,
|
|
37
|
+
send_payload,
|
|
38
|
+
send_scenario_payload,
|
|
39
|
+
)
|
|
40
|
+
from .catalog import load_mechanisms
|
|
41
|
+
from .channel import (
|
|
42
|
+
AnyCodec,
|
|
43
|
+
BitReader,
|
|
44
|
+
BitWriter,
|
|
45
|
+
Channel,
|
|
46
|
+
Codec,
|
|
47
|
+
FixedWidthCodec,
|
|
48
|
+
Framer,
|
|
49
|
+
IdealWire,
|
|
50
|
+
MiddleboxWire,
|
|
51
|
+
SymbolChoiceCodec,
|
|
52
|
+
VariableLengthCodec,
|
|
53
|
+
build_registry,
|
|
54
|
+
codec_for,
|
|
55
|
+
)
|
|
56
|
+
from .crypto_transcript import (
|
|
57
|
+
ECDSA_NONCE_CLAIM_STATUS,
|
|
58
|
+
ECDSA_NONCE_TRANSCRIPT_SCHEMA_VERSION,
|
|
59
|
+
ECDSA_NONCE_TRANSPORT_KIND,
|
|
60
|
+
ECDSA_NONCE_TRANSPORT_METADATA_SCHEMA_VERSION,
|
|
61
|
+
RSA_PSS_SALT_CLAIM_STATUS,
|
|
62
|
+
RSA_PSS_SALT_TRANSCRIPT_SCHEMA_VERSION,
|
|
63
|
+
RSA_PSS_SALT_TRANSPORT_KIND,
|
|
64
|
+
RSA_PSS_SALT_TRANSPORT_METADATA_SCHEMA_VERSION,
|
|
65
|
+
EcdsaNonceTranscriptConfig,
|
|
66
|
+
EcdsaNonceTranscriptReplayTransport,
|
|
67
|
+
EcdsaNonceTranscriptTransport,
|
|
68
|
+
RsaPssSaltTranscriptConfig,
|
|
69
|
+
RsaPssSaltTranscriptReplayTransport,
|
|
70
|
+
RsaPssSaltTranscriptTransport,
|
|
71
|
+
)
|
|
72
|
+
from .detect import (
|
|
73
|
+
DETECTOR_REPLAY_CORPUS_SCHEMA_VERSION,
|
|
74
|
+
DETECTOR_REPLAY_SCHEMA_VERSION,
|
|
75
|
+
DETECTOR_TRACE_MANIFEST_SCHEMA_VERSION,
|
|
76
|
+
FALSE_POSITIVE_SOURCE_KINDS,
|
|
77
|
+
SCRUB_CLAIM_STATUS,
|
|
78
|
+
SCRUB_REPORT_SCHEMA_VERSION,
|
|
79
|
+
STATEFUL_DETECTOR_CLAIM_STATUS,
|
|
80
|
+
DetectorImplementationKind,
|
|
81
|
+
DetectorProvenanceRecord,
|
|
82
|
+
DetectorReplayBackend,
|
|
83
|
+
DetectorReplayCorpusReport,
|
|
84
|
+
DetectorReplayMechanismResult,
|
|
85
|
+
DetectorReplayReport,
|
|
86
|
+
DetectorReplayTrace,
|
|
87
|
+
DetectorReplayTraceSpec,
|
|
88
|
+
DetectorReplayTraceSummary,
|
|
89
|
+
PcapScrubReport,
|
|
90
|
+
ScrubArtifact,
|
|
91
|
+
StatefulDetectorKind,
|
|
92
|
+
StatefulDetectorPlan,
|
|
93
|
+
TraceSourceKind,
|
|
94
|
+
bpf_filter,
|
|
95
|
+
classic_pcap_record_count,
|
|
96
|
+
coverage,
|
|
97
|
+
default_replay_mechanisms,
|
|
98
|
+
detector_provenance_for,
|
|
99
|
+
emittable,
|
|
100
|
+
iptables_u32_rule,
|
|
101
|
+
load_trace_manifest,
|
|
102
|
+
nftables_rule,
|
|
103
|
+
replay_detector_corpus,
|
|
104
|
+
replay_detectors_on_pcap,
|
|
105
|
+
scrub_pcap,
|
|
106
|
+
scrub_tcp_reserved_bits_pcap,
|
|
107
|
+
stateful_detector_plan_for,
|
|
108
|
+
stateful_detector_plans,
|
|
109
|
+
tcpdump_bpf_provenance_record,
|
|
110
|
+
)
|
|
111
|
+
from .discovery import (
|
|
112
|
+
MechanismDetail,
|
|
113
|
+
MechanismSummary,
|
|
114
|
+
get_mechanism_detail,
|
|
115
|
+
get_scenario,
|
|
116
|
+
list_mechanism_summaries,
|
|
117
|
+
list_scenario_ids,
|
|
118
|
+
list_scenarios,
|
|
119
|
+
plan_scenarios,
|
|
120
|
+
)
|
|
121
|
+
from .doctor import (
|
|
122
|
+
DOCTOR_SCHEMA_VERSION,
|
|
123
|
+
PACKAGE_EXTRA_MODULES,
|
|
124
|
+
TOOL_VERSION_COMMANDS,
|
|
125
|
+
DoctorCheck,
|
|
126
|
+
DoctorResult,
|
|
127
|
+
DoctorStatus,
|
|
128
|
+
run_doctor,
|
|
129
|
+
)
|
|
130
|
+
from .envelope import EnvelopeSymbols, build_send_envelope, parse_envelope_symbols
|
|
131
|
+
from .errors import (
|
|
132
|
+
CelatimError,
|
|
133
|
+
ConfigurationError,
|
|
134
|
+
ControlFailureError,
|
|
135
|
+
DecodeError,
|
|
136
|
+
EncodeError,
|
|
137
|
+
EnvelopeValidationError,
|
|
138
|
+
ReceiveTimeoutError,
|
|
139
|
+
TransportError,
|
|
140
|
+
UnsupportedMechanismError,
|
|
141
|
+
)
|
|
142
|
+
from .evidence_index import (
|
|
143
|
+
INDEX_SCHEMA_VERSION,
|
|
144
|
+
PUBLIC_INDEX_SCHEMA_VERSION,
|
|
145
|
+
EvidenceArtifactRef,
|
|
146
|
+
EvidenceCaseIndex,
|
|
147
|
+
EvidenceIndexItem,
|
|
148
|
+
EvidenceIndexResult,
|
|
149
|
+
EvidenceScenarioMetadata,
|
|
150
|
+
PublicEvidenceCaseIndex,
|
|
151
|
+
PublicEvidenceIndexItem,
|
|
152
|
+
PublicEvidenceIndexResult,
|
|
153
|
+
build_evidence_index,
|
|
154
|
+
build_public_evidence_index,
|
|
155
|
+
)
|
|
156
|
+
from .inspection import (
|
|
157
|
+
DocumentSummary,
|
|
158
|
+
SchemaSummary,
|
|
159
|
+
get_detector_rule_artifacts,
|
|
160
|
+
get_detector_rule_manifest,
|
|
161
|
+
get_detector_scrub_guidance_markdown,
|
|
162
|
+
get_document_text,
|
|
163
|
+
get_protocol_rates_markdown,
|
|
164
|
+
get_protocol_throughput_estimates,
|
|
165
|
+
get_qemu_tap_preflight_report,
|
|
166
|
+
get_schema_text,
|
|
167
|
+
get_support_matrix_markdown,
|
|
168
|
+
get_support_matrix_report,
|
|
169
|
+
get_testbed_requirements,
|
|
170
|
+
get_windows_capture_guidance_markdown,
|
|
171
|
+
list_documents,
|
|
172
|
+
list_protocol_rates,
|
|
173
|
+
list_schemas,
|
|
174
|
+
write_detector_rule_files,
|
|
175
|
+
)
|
|
176
|
+
from .observer import (
|
|
177
|
+
ObserverMutationControlRecord,
|
|
178
|
+
ObserverValidationRecord,
|
|
179
|
+
ParserProvenanceRecord,
|
|
180
|
+
observer_mutation_controls_for,
|
|
181
|
+
observer_validations_for,
|
|
182
|
+
parser_provenance_for,
|
|
183
|
+
)
|
|
184
|
+
from .pcap_decode import (
|
|
185
|
+
PCAP_DECODE_CLAIM_STATUS,
|
|
186
|
+
PCAP_DECODE_SCHEMA_VERSION,
|
|
187
|
+
PcapDecodeArtifact,
|
|
188
|
+
PcapDecodeReport,
|
|
189
|
+
decode_pcap,
|
|
190
|
+
)
|
|
191
|
+
from .report import (
|
|
192
|
+
DetectorRuleArtifact,
|
|
193
|
+
ProtocolRate,
|
|
194
|
+
ProtocolThroughputEstimate,
|
|
195
|
+
SupportMatrixReport,
|
|
196
|
+
SupportMatrixRow,
|
|
197
|
+
detector_scrub_guidance_markdown,
|
|
198
|
+
windows_pktmon_guidance_markdown,
|
|
199
|
+
)
|
|
200
|
+
from .resources import catalog_path, doc_names, doc_text
|
|
201
|
+
from .reviewer_bundle import (
|
|
202
|
+
BUNDLE_SCHEMA_VERSION,
|
|
203
|
+
BUNDLE_VERIFY_SCHEMA_VERSION,
|
|
204
|
+
PUBLIC_BUNDLE_PRIVATE_REFERENCE_POLICY,
|
|
205
|
+
PUBLIC_BUNDLE_RELEASE_SCOPE,
|
|
206
|
+
PUBLIC_BUNDLE_SCHEMA_VERSION,
|
|
207
|
+
PUBLIC_BUNDLE_VERIFY_SCHEMA_VERSION,
|
|
208
|
+
BundleArtifactRef,
|
|
209
|
+
BundleArtifactVerification,
|
|
210
|
+
BundleConsistencyCheck,
|
|
211
|
+
PublicBundleManifest,
|
|
212
|
+
PublicBundleVerification,
|
|
213
|
+
ReviewerBundleManifest,
|
|
214
|
+
ReviewerBundleVerification,
|
|
215
|
+
build_public_bundle_manifest,
|
|
216
|
+
build_reviewer_bundle_manifest,
|
|
217
|
+
verify_public_bundle_manifest,
|
|
218
|
+
verify_reviewer_bundle_manifest,
|
|
219
|
+
)
|
|
220
|
+
from .scenario import (
|
|
221
|
+
RUN_LOG_SCHEMA_VERSION,
|
|
222
|
+
SCENARIO_EVIDENCE_TIERS,
|
|
223
|
+
SCENARIO_EXECUTION_MODES,
|
|
224
|
+
SCENARIO_EXECUTION_PLAN_SCHEMA_VERSION,
|
|
225
|
+
SCENARIO_EXECUTION_PLAN_TARGETS,
|
|
226
|
+
SCENARIO_INVENTORY_SCHEMA_VERSION,
|
|
227
|
+
SCENARIO_PRIVILEGE_LEVELS,
|
|
228
|
+
EvidenceCaseResult,
|
|
229
|
+
EvidenceRunResult,
|
|
230
|
+
ReproducibilityMetadata,
|
|
231
|
+
ScenarioConfig,
|
|
232
|
+
ScenarioExecutionPlan,
|
|
233
|
+
ScenarioExecutionPlanItem,
|
|
234
|
+
ScenarioInventory,
|
|
235
|
+
ScenarioMetadata,
|
|
236
|
+
ScenarioSpecInfo,
|
|
237
|
+
TransportConfig,
|
|
238
|
+
build_scenario_execution_plan,
|
|
239
|
+
build_scenario_inventory,
|
|
240
|
+
discover_scenarios,
|
|
241
|
+
find_scenario,
|
|
242
|
+
load_scenario,
|
|
243
|
+
load_scenario_by_id,
|
|
244
|
+
run_evidence,
|
|
245
|
+
scenario_execution_ids,
|
|
246
|
+
)
|
|
247
|
+
from .session import (
|
|
248
|
+
ENDPOINT_TOPOLOGY_KINDS,
|
|
249
|
+
ChannelSession,
|
|
250
|
+
EndpointOsInfo,
|
|
251
|
+
EndpointOsMetadata,
|
|
252
|
+
EvidenceRecord,
|
|
253
|
+
InMemoryTransport,
|
|
254
|
+
MechanismProfile,
|
|
255
|
+
PacingConfig,
|
|
256
|
+
Receiver,
|
|
257
|
+
ReceiveResult,
|
|
258
|
+
ReliabilityPolicy,
|
|
259
|
+
ReliabilityStats,
|
|
260
|
+
RetransmitCapableTransport,
|
|
261
|
+
Sender,
|
|
262
|
+
SendReceipt,
|
|
263
|
+
SessionFramingConfig,
|
|
264
|
+
Tap,
|
|
265
|
+
ThroughputProfile,
|
|
266
|
+
TimeoutAwareTap,
|
|
267
|
+
TimingProfile,
|
|
268
|
+
TimingSample,
|
|
269
|
+
TimingTrace,
|
|
270
|
+
Transport,
|
|
271
|
+
local_endpoint_os,
|
|
272
|
+
)
|
|
273
|
+
from .testbed import (
|
|
274
|
+
EDNS_PADDING_OPTCODE,
|
|
275
|
+
ETH_P_ALL,
|
|
276
|
+
ETHERTYPE_IPV4,
|
|
277
|
+
IPV4_HEADER_BYTES,
|
|
278
|
+
MIN_ETHERNET_FRAME_BYTES,
|
|
279
|
+
TCP_HEADER_BYTES,
|
|
280
|
+
TESTBED_PROFILE_STATUSES,
|
|
281
|
+
TESTBED_REQUIREMENT_PROFILES,
|
|
282
|
+
TESTBED_REQUIREMENTS_SCHEMA_VERSION,
|
|
283
|
+
UDP_HEADER_BYTES,
|
|
284
|
+
AfpacketCarrierTransport,
|
|
285
|
+
AfpacketFrameSocket,
|
|
286
|
+
AfpacketRoundtripResult,
|
|
287
|
+
AfpacketSocketConfig,
|
|
288
|
+
AioquicConnectionIdPathConfig,
|
|
289
|
+
AioquicConnectionIdRoundtripResult,
|
|
290
|
+
AioquicConnectionIdTransport,
|
|
291
|
+
AioquicH3SettingsPathConfig,
|
|
292
|
+
AioquicH3SettingsRoundtripResult,
|
|
293
|
+
AioquicH3SettingsTransport,
|
|
294
|
+
CommandError,
|
|
295
|
+
CommandReadinessProbe,
|
|
296
|
+
CommandResult,
|
|
297
|
+
CommandRunner,
|
|
298
|
+
DaemonReadinessResult,
|
|
299
|
+
DigQueryConfig,
|
|
300
|
+
DnsEdnsPaddingPathConfig,
|
|
301
|
+
DnsEdnsPaddingReceiveResult,
|
|
302
|
+
DnsEdnsPaddingRoundtripResult,
|
|
303
|
+
DnsEdnsPaddingSendResult,
|
|
304
|
+
DnsmasqResolverConfig,
|
|
305
|
+
DnsToolVersionRecord,
|
|
306
|
+
EdnsPaddingPcapDecoder,
|
|
307
|
+
HostTapConfig,
|
|
308
|
+
HyperH2PingPathConfig,
|
|
309
|
+
HyperH2PingRoundtripResult,
|
|
310
|
+
HyperH2PingTransport,
|
|
311
|
+
Ipv4PacketPathConfig,
|
|
312
|
+
ManagedDaemon,
|
|
313
|
+
ManagedDaemonConfig,
|
|
314
|
+
NetnsPair,
|
|
315
|
+
NetnsPairConfig,
|
|
316
|
+
PacketProtocol,
|
|
317
|
+
QemuGuestConfig,
|
|
318
|
+
QemuTapPreflightCheck,
|
|
319
|
+
QemuTapPreflightReport,
|
|
320
|
+
ReadinessProbe,
|
|
321
|
+
TcpdumpCapture,
|
|
322
|
+
TcpdumpCaptureConfig,
|
|
323
|
+
TestbedRequirementInventory,
|
|
324
|
+
TestbedRequirementProfile,
|
|
325
|
+
build_testbed_requirements_inventory,
|
|
326
|
+
edns_padding_options_from_pcap,
|
|
327
|
+
receive_dns_edns0_padding,
|
|
328
|
+
run_afpacket_roundtrip,
|
|
329
|
+
run_aioquic_connection_id_roundtrip,
|
|
330
|
+
run_aioquic_h3_settings_roundtrip,
|
|
331
|
+
run_dns_edns0_padding_roundtrip,
|
|
332
|
+
run_hyper_h2_ping_roundtrip,
|
|
333
|
+
send_dns_edns0_padding,
|
|
334
|
+
testbed_profile_ids,
|
|
335
|
+
testbed_profiles_by_id,
|
|
336
|
+
)
|
|
337
|
+
from .timing_sweep import (
|
|
338
|
+
OBSERVED_TRACE_TIMING_SWEEP_CAPACITY_MODEL,
|
|
339
|
+
OBSERVED_TRACE_TIMING_SWEEP_CAPACITY_STATUS,
|
|
340
|
+
OBSERVED_TRACE_TIMING_SWEEP_CLAIM_STATUS,
|
|
341
|
+
OBSERVED_TRACE_TIMING_SWEEP_PATH_KIND,
|
|
342
|
+
TIMING_SWEEP_CAPACITY_MODEL,
|
|
343
|
+
TIMING_SWEEP_CAPACITY_STATUS,
|
|
344
|
+
TIMING_SWEEP_CLAIM_STATUS,
|
|
345
|
+
TIMING_SWEEP_PATH_KIND,
|
|
346
|
+
TIMING_SWEEP_SCHEMA_VERSION,
|
|
347
|
+
ObservedTimingCaseInput,
|
|
348
|
+
TimingSweepCase,
|
|
349
|
+
TimingSweepReport,
|
|
350
|
+
run_observed_timing_sweep,
|
|
351
|
+
run_timing_sweep,
|
|
352
|
+
)
|
|
353
|
+
from .transports import (
|
|
354
|
+
FILE_TRANSPORT_SCHEMA,
|
|
355
|
+
PCAP_TRANSPORT_LINKTYPE_ETHERNET,
|
|
356
|
+
PCAP_TRANSPORT_LINKTYPE_USER0,
|
|
357
|
+
FileTransport,
|
|
358
|
+
PcapCarrierExtraction,
|
|
359
|
+
PcapTransport,
|
|
360
|
+
TimedMemoryTransport,
|
|
361
|
+
extract_pcap_carriers,
|
|
362
|
+
)
|
|
363
|
+
|
|
364
|
+
__version__ = "0.1.0"
|
|
365
|
+
|
|
366
|
+
__all__ = [
|
|
367
|
+
"BUNDLE_SCHEMA_VERSION",
|
|
368
|
+
"BUNDLE_VERIFY_SCHEMA_VERSION",
|
|
369
|
+
"DETECTOR_REPLAY_CORPUS_SCHEMA_VERSION",
|
|
370
|
+
"DETECTOR_REPLAY_SCHEMA_VERSION",
|
|
371
|
+
"DETECTOR_TRACE_MANIFEST_SCHEMA_VERSION",
|
|
372
|
+
"DOCTOR_SCHEMA_VERSION",
|
|
373
|
+
"ECDSA_NONCE_CLAIM_STATUS",
|
|
374
|
+
"ECDSA_NONCE_TRANSCRIPT_SCHEMA_VERSION",
|
|
375
|
+
"ECDSA_NONCE_TRANSPORT_KIND",
|
|
376
|
+
"ECDSA_NONCE_TRANSPORT_METADATA_SCHEMA_VERSION",
|
|
377
|
+
"EDNS_PADDING_OPTCODE",
|
|
378
|
+
"ENDPOINT_TOPOLOGY_KINDS",
|
|
379
|
+
"ETHERTYPE_IPV4",
|
|
380
|
+
"ETH_P_ALL",
|
|
381
|
+
"FALSE_POSITIVE_SOURCE_KINDS",
|
|
382
|
+
"FILE_TRANSPORT_SCHEMA",
|
|
383
|
+
"INDEX_SCHEMA_VERSION",
|
|
384
|
+
"IPV4_HEADER_BYTES",
|
|
385
|
+
"MIN_ETHERNET_FRAME_BYTES",
|
|
386
|
+
"NETNS_LAB_SCHEMA_VERSION",
|
|
387
|
+
"OBSERVED_TRACE_TIMING_SWEEP_CAPACITY_MODEL",
|
|
388
|
+
"OBSERVED_TRACE_TIMING_SWEEP_CAPACITY_STATUS",
|
|
389
|
+
"OBSERVED_TRACE_TIMING_SWEEP_CLAIM_STATUS",
|
|
390
|
+
"OBSERVED_TRACE_TIMING_SWEEP_PATH_KIND",
|
|
391
|
+
"PACKAGE_EXTRA_MODULES",
|
|
392
|
+
"PCAP_DECODE_CLAIM_STATUS",
|
|
393
|
+
"PCAP_DECODE_SCHEMA_VERSION",
|
|
394
|
+
"PCAP_TRANSPORT_LINKTYPE_ETHERNET",
|
|
395
|
+
"PCAP_TRANSPORT_LINKTYPE_USER0",
|
|
396
|
+
"PUBLIC_BUNDLE_PRIVATE_REFERENCE_POLICY",
|
|
397
|
+
"PUBLIC_BUNDLE_RELEASE_SCOPE",
|
|
398
|
+
"PUBLIC_BUNDLE_SCHEMA_VERSION",
|
|
399
|
+
"PUBLIC_BUNDLE_VERIFY_SCHEMA_VERSION",
|
|
400
|
+
"PUBLIC_INDEX_SCHEMA_VERSION",
|
|
401
|
+
"RSA_PSS_SALT_CLAIM_STATUS",
|
|
402
|
+
"RSA_PSS_SALT_TRANSCRIPT_SCHEMA_VERSION",
|
|
403
|
+
"RSA_PSS_SALT_TRANSPORT_KIND",
|
|
404
|
+
"RSA_PSS_SALT_TRANSPORT_METADATA_SCHEMA_VERSION",
|
|
405
|
+
"RUN_LOG_SCHEMA_VERSION",
|
|
406
|
+
"SCENARIO_EVIDENCE_TIERS",
|
|
407
|
+
"SCENARIO_EXECUTION_MODES",
|
|
408
|
+
"SCENARIO_EXECUTION_PLAN_SCHEMA_VERSION",
|
|
409
|
+
"SCENARIO_EXECUTION_PLAN_TARGETS",
|
|
410
|
+
"SCENARIO_INVENTORY_SCHEMA_VERSION",
|
|
411
|
+
"SCENARIO_PRIVILEGE_LEVELS",
|
|
412
|
+
"SCRUB_CLAIM_STATUS",
|
|
413
|
+
"SCRUB_REPORT_SCHEMA_VERSION",
|
|
414
|
+
"STATEFUL_DETECTOR_CLAIM_STATUS",
|
|
415
|
+
"TCP_HEADER_BYTES",
|
|
416
|
+
"TESTBED_PROFILE_STATUSES",
|
|
417
|
+
"TESTBED_REQUIREMENTS_SCHEMA_VERSION",
|
|
418
|
+
"TESTBED_REQUIREMENT_PROFILES",
|
|
419
|
+
"TIMING_SWEEP_CAPACITY_MODEL",
|
|
420
|
+
"TIMING_SWEEP_CAPACITY_STATUS",
|
|
421
|
+
"TIMING_SWEEP_CLAIM_STATUS",
|
|
422
|
+
"TIMING_SWEEP_PATH_KIND",
|
|
423
|
+
"TIMING_SWEEP_SCHEMA_VERSION",
|
|
424
|
+
"TOOL_VERSION_COMMANDS",
|
|
425
|
+
"UDP_HEADER_BYTES",
|
|
426
|
+
"AdapterCapability",
|
|
427
|
+
"AdapterPath",
|
|
428
|
+
"AdapterPathKind",
|
|
429
|
+
"AdapterStatus",
|
|
430
|
+
"AfpacketCarrierTransport",
|
|
431
|
+
"AfpacketFrameSocket",
|
|
432
|
+
"AfpacketRoundtripResult",
|
|
433
|
+
"AfpacketSocketConfig",
|
|
434
|
+
"AioquicConnectionIdPathConfig",
|
|
435
|
+
"AioquicConnectionIdRoundtripResult",
|
|
436
|
+
"AioquicConnectionIdTransport",
|
|
437
|
+
"AioquicH3SettingsPathConfig",
|
|
438
|
+
"AioquicH3SettingsRoundtripResult",
|
|
439
|
+
"AioquicH3SettingsTransport",
|
|
440
|
+
"AnyCodec",
|
|
441
|
+
"BitReader",
|
|
442
|
+
"BitWriter",
|
|
443
|
+
"BundleArtifactRef",
|
|
444
|
+
"BundleArtifactVerification",
|
|
445
|
+
"BundleConsistencyCheck",
|
|
446
|
+
"CarrierUnit",
|
|
447
|
+
"CelatimError",
|
|
448
|
+
"Channel",
|
|
449
|
+
"ChannelSession",
|
|
450
|
+
"Codec",
|
|
451
|
+
"CommandError",
|
|
452
|
+
"CommandReadinessProbe",
|
|
453
|
+
"CommandResult",
|
|
454
|
+
"CommandRunner",
|
|
455
|
+
"ConfigurationError",
|
|
456
|
+
"ControlFailureError",
|
|
457
|
+
"DaemonReadinessResult",
|
|
458
|
+
"DecodeError",
|
|
459
|
+
"DetectorImplementationKind",
|
|
460
|
+
"DetectorProvenanceRecord",
|
|
461
|
+
"DetectorReplayBackend",
|
|
462
|
+
"DetectorReplayCorpusReport",
|
|
463
|
+
"DetectorReplayMechanismResult",
|
|
464
|
+
"DetectorReplayReport",
|
|
465
|
+
"DetectorReplayTrace",
|
|
466
|
+
"DetectorReplayTraceSpec",
|
|
467
|
+
"DetectorReplayTraceSummary",
|
|
468
|
+
"DetectorRuleArtifact",
|
|
469
|
+
"DigQueryConfig",
|
|
470
|
+
"DnsEdnsPaddingPathConfig",
|
|
471
|
+
"DnsEdnsPaddingReceiveResult",
|
|
472
|
+
"DnsEdnsPaddingRoundtripResult",
|
|
473
|
+
"DnsEdnsPaddingSendResult",
|
|
474
|
+
"DnsToolVersionRecord",
|
|
475
|
+
"DnsmasqResolverConfig",
|
|
476
|
+
"DoctorCheck",
|
|
477
|
+
"DoctorResult",
|
|
478
|
+
"DoctorStatus",
|
|
479
|
+
"DocumentSummary",
|
|
480
|
+
"EcdsaNonceTranscriptConfig",
|
|
481
|
+
"EcdsaNonceTranscriptReplayTransport",
|
|
482
|
+
"EcdsaNonceTranscriptTransport",
|
|
483
|
+
"EdnsPaddingPcapDecoder",
|
|
484
|
+
"EncodeError",
|
|
485
|
+
"EndpointOsInfo",
|
|
486
|
+
"EndpointOsMetadata",
|
|
487
|
+
"EndpointReceiveResult",
|
|
488
|
+
"EndpointRoundtripResult",
|
|
489
|
+
"EndpointSendResult",
|
|
490
|
+
"EnvelopeSymbols",
|
|
491
|
+
"EnvelopeValidationError",
|
|
492
|
+
"EvidenceArtifactRef",
|
|
493
|
+
"EvidenceCaseIndex",
|
|
494
|
+
"EvidenceCaseResult",
|
|
495
|
+
"EvidenceIndexItem",
|
|
496
|
+
"EvidenceIndexResult",
|
|
497
|
+
"EvidenceRecord",
|
|
498
|
+
"EvidenceRunResult",
|
|
499
|
+
"EvidenceScenarioMetadata",
|
|
500
|
+
"FileTransport",
|
|
501
|
+
"FixedWidthCodec",
|
|
502
|
+
"Framer",
|
|
503
|
+
"HostTapConfig",
|
|
504
|
+
"HyperH2PingPathConfig",
|
|
505
|
+
"HyperH2PingRoundtripResult",
|
|
506
|
+
"HyperH2PingTransport",
|
|
507
|
+
"IdealWire",
|
|
508
|
+
"InMemoryTransport",
|
|
509
|
+
"Ipv4PacketPathConfig",
|
|
510
|
+
"LabCommandPlan",
|
|
511
|
+
"LabTopologyResult",
|
|
512
|
+
"ManagedDaemon",
|
|
513
|
+
"ManagedDaemonConfig",
|
|
514
|
+
"MechanismAdapter",
|
|
515
|
+
"MechanismDetail",
|
|
516
|
+
"MechanismProfile",
|
|
517
|
+
"MechanismSummary",
|
|
518
|
+
"MiddleboxWire",
|
|
519
|
+
"NetnsPair",
|
|
520
|
+
"NetnsPairConfig",
|
|
521
|
+
"ObservedTimingCaseInput",
|
|
522
|
+
"ObserverMutationControlRecord",
|
|
523
|
+
"ObserverValidationRecord",
|
|
524
|
+
"PacingConfig",
|
|
525
|
+
"PacketProtocol",
|
|
526
|
+
"ParserProvenanceRecord",
|
|
527
|
+
"PayloadSource",
|
|
528
|
+
"PcapCarrierExtraction",
|
|
529
|
+
"PcapDecodeArtifact",
|
|
530
|
+
"PcapDecodeReport",
|
|
531
|
+
"PcapScrubReport",
|
|
532
|
+
"PcapTransport",
|
|
533
|
+
"ProtocolRate",
|
|
534
|
+
"ProtocolThroughputEstimate",
|
|
535
|
+
"PublicBundleManifest",
|
|
536
|
+
"PublicBundleVerification",
|
|
537
|
+
"PublicEvidenceCaseIndex",
|
|
538
|
+
"PublicEvidenceIndexItem",
|
|
539
|
+
"PublicEvidenceIndexResult",
|
|
540
|
+
"QemuGuestConfig",
|
|
541
|
+
"QemuTapPreflightCheck",
|
|
542
|
+
"QemuTapPreflightReport",
|
|
543
|
+
"ReadinessProbe",
|
|
544
|
+
"ReceiveResult",
|
|
545
|
+
"ReceiveTimeoutError",
|
|
546
|
+
"Receiver",
|
|
547
|
+
"ReliabilityPolicy",
|
|
548
|
+
"ReliabilityStats",
|
|
549
|
+
"ReproducibilityMetadata",
|
|
550
|
+
"RetransmitCapableTransport",
|
|
551
|
+
"ReviewerBundleManifest",
|
|
552
|
+
"ReviewerBundleVerification",
|
|
553
|
+
"RsaPssSaltTranscriptConfig",
|
|
554
|
+
"RsaPssSaltTranscriptReplayTransport",
|
|
555
|
+
"RsaPssSaltTranscriptTransport",
|
|
556
|
+
"ScenarioConfig",
|
|
557
|
+
"ScenarioExecutionPlan",
|
|
558
|
+
"ScenarioExecutionPlanItem",
|
|
559
|
+
"ScenarioInventory",
|
|
560
|
+
"ScenarioMetadata",
|
|
561
|
+
"ScenarioSpecInfo",
|
|
562
|
+
"SchemaSummary",
|
|
563
|
+
"ScrubArtifact",
|
|
564
|
+
"SendReceipt",
|
|
565
|
+
"Sender",
|
|
566
|
+
"SessionFramingConfig",
|
|
567
|
+
"StatefulDetectorKind",
|
|
568
|
+
"StatefulDetectorPlan",
|
|
569
|
+
"SupportMatrixReport",
|
|
570
|
+
"SupportMatrixRow",
|
|
571
|
+
"SymbolChoiceCodec",
|
|
572
|
+
"Tap",
|
|
573
|
+
"TcpdumpCapture",
|
|
574
|
+
"TcpdumpCaptureConfig",
|
|
575
|
+
"TestbedRequirementInventory",
|
|
576
|
+
"TestbedRequirementProfile",
|
|
577
|
+
"ThroughputProfile",
|
|
578
|
+
"TimedMemoryTransport",
|
|
579
|
+
"TimeoutAwareTap",
|
|
580
|
+
"TimingProfile",
|
|
581
|
+
"TimingSample",
|
|
582
|
+
"TimingSweepCase",
|
|
583
|
+
"TimingSweepReport",
|
|
584
|
+
"TimingTrace",
|
|
585
|
+
"TraceSourceKind",
|
|
586
|
+
"Transport",
|
|
587
|
+
"TransportConfig",
|
|
588
|
+
"TransportError",
|
|
589
|
+
"UnsupportedMechanismError",
|
|
590
|
+
"VariableLengthCodec",
|
|
591
|
+
"__version__",
|
|
592
|
+
"adapter_for",
|
|
593
|
+
"bpf_filter",
|
|
594
|
+
"build_evidence_index",
|
|
595
|
+
"build_public_bundle_manifest",
|
|
596
|
+
"build_public_evidence_index",
|
|
597
|
+
"build_registry",
|
|
598
|
+
"build_reviewer_bundle_manifest",
|
|
599
|
+
"build_scenario_execution_plan",
|
|
600
|
+
"build_scenario_inventory",
|
|
601
|
+
"build_send_envelope",
|
|
602
|
+
"build_testbed_requirements_inventory",
|
|
603
|
+
"catalog_path",
|
|
604
|
+
"check_installation",
|
|
605
|
+
"classic_pcap_record_count",
|
|
606
|
+
"codec_for",
|
|
607
|
+
"coverage",
|
|
608
|
+
"decode_pcap",
|
|
609
|
+
"decode_pcap_payload",
|
|
610
|
+
"default_replay_mechanisms",
|
|
611
|
+
"detector_provenance_for",
|
|
612
|
+
"detector_scrub_guidance_markdown",
|
|
613
|
+
"discover_scenarios",
|
|
614
|
+
"doc_names",
|
|
615
|
+
"doc_text",
|
|
616
|
+
"edns_padding_options_from_pcap",
|
|
617
|
+
"emittable",
|
|
618
|
+
"extract_pcap_carriers",
|
|
619
|
+
"find_scenario",
|
|
620
|
+
"get_detector_rule_artifacts",
|
|
621
|
+
"get_detector_rule_manifest",
|
|
622
|
+
"get_detector_scrub_guidance_markdown",
|
|
623
|
+
"get_document_text",
|
|
624
|
+
"get_mechanism_detail",
|
|
625
|
+
"get_protocol_rates_markdown",
|
|
626
|
+
"get_protocol_throughput_estimates",
|
|
627
|
+
"get_qemu_tap_preflight_report",
|
|
628
|
+
"get_scenario",
|
|
629
|
+
"get_schema_text",
|
|
630
|
+
"get_support_matrix_markdown",
|
|
631
|
+
"get_support_matrix_report",
|
|
632
|
+
"get_testbed_requirements",
|
|
633
|
+
"get_windows_capture_guidance_markdown",
|
|
634
|
+
"iptables_u32_rule",
|
|
635
|
+
"list_documents",
|
|
636
|
+
"list_mechanism_summaries",
|
|
637
|
+
"list_protocol_rates",
|
|
638
|
+
"list_scenario_ids",
|
|
639
|
+
"list_scenarios",
|
|
640
|
+
"list_schemas",
|
|
641
|
+
"load_mechanisms",
|
|
642
|
+
"load_scenario",
|
|
643
|
+
"load_scenario_by_id",
|
|
644
|
+
"load_trace_manifest",
|
|
645
|
+
"local_endpoint_os",
|
|
646
|
+
"manage_netns_lab",
|
|
647
|
+
"netns_lab_config_to_json",
|
|
648
|
+
"nftables_rule",
|
|
649
|
+
"observer_mutation_controls_for",
|
|
650
|
+
"observer_validations_for",
|
|
651
|
+
"parse_envelope_symbols",
|
|
652
|
+
"parser_provenance_for",
|
|
653
|
+
"payload_from_file",
|
|
654
|
+
"payload_from_hex",
|
|
655
|
+
"payload_from_text",
|
|
656
|
+
"plan_scenarios",
|
|
657
|
+
"random_payload",
|
|
658
|
+
"receive_dns_edns0_padding",
|
|
659
|
+
"receive_payload",
|
|
660
|
+
"receive_scenario_payload",
|
|
661
|
+
"replay_detector_corpus",
|
|
662
|
+
"replay_detectors_on_pcap",
|
|
663
|
+
"roundtrip_payload",
|
|
664
|
+
"roundtrip_scenario_payload",
|
|
665
|
+
"run_afpacket_roundtrip",
|
|
666
|
+
"run_aioquic_connection_id_roundtrip",
|
|
667
|
+
"run_aioquic_h3_settings_roundtrip",
|
|
668
|
+
"run_dns_edns0_padding_roundtrip",
|
|
669
|
+
"run_doctor",
|
|
670
|
+
"run_evidence",
|
|
671
|
+
"run_evidence_payload",
|
|
672
|
+
"run_hyper_h2_ping_roundtrip",
|
|
673
|
+
"run_observed_timing_sweep",
|
|
674
|
+
"run_observed_timing_sweep_payload",
|
|
675
|
+
"run_timing_sweep",
|
|
676
|
+
"run_timing_sweep_payload",
|
|
677
|
+
"scenario_execution_ids",
|
|
678
|
+
"scrub_pcap",
|
|
679
|
+
"scrub_pcap_payload",
|
|
680
|
+
"scrub_tcp_reserved_bits_pcap",
|
|
681
|
+
"send_dns_edns0_padding",
|
|
682
|
+
"send_payload",
|
|
683
|
+
"send_scenario_payload",
|
|
684
|
+
"stateful_detector_plan_for",
|
|
685
|
+
"stateful_detector_plans",
|
|
686
|
+
"tcpdump_bpf_provenance_record",
|
|
687
|
+
"testbed_profile_ids",
|
|
688
|
+
"testbed_profiles_by_id",
|
|
689
|
+
"verify_public_bundle_manifest",
|
|
690
|
+
"verify_reviewer_bundle_manifest",
|
|
691
|
+
"windows_pktmon_guidance_markdown",
|
|
692
|
+
"write_detector_rule_files",
|
|
693
|
+
]
|