Commit 474eb16
feat(trace-topology): PCAPNG FrameSource (v0.10.x B-2) (#210)
* chore(vet): add exemptions for pcap-parser deps
cargo-vet flagged pcap-parser 0.16.0 and its two transitive deps
(circular 0.3.0, rusticata-macros 4.1.0) as missing safe-to-deploy
audits. Add exemptions in the established pattern; first-party
audits can land later once the maintenance burden is small.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat(trace-topology): PCAPNG FrameSource (v0.10.x B-2)
Adds a PCAPNG-backed FrameSource on top of the trace-topology
foundation. Built on Pierre Chifflier's pcap-parser crate; yields
typed CapturedFrame records carrying L2 identity (mac_src, mac_dst,
optional 802.1Q VLAN-ID and PCP) plus a Unix-epoch nanosecond
timestamp resolved via the per-IDB ts_resol option.
Errors carry concrete kinds (Truncated, MalformedPcapng,
UnsupportedLinkType, Io). LINKTYPE_ETHERNET (1) is the only accepted
link type; other captures fail fast at open() time.
Tests: 5 new — untagged frame roundtrip, 802.1Q tagged with VLAN+PCP,
truncated frame error, unsupported link type error, ns-resolution
timestamp. All 6 LLDP tests from B-3 continue to pass alongside.
Closes the v0.10.x B-2 milestone (B-3 LLDP merged as #208).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* ci: re-trigger CI after self-hosted runner disk-full flakes
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 2104cc6 commit 474eb16
7 files changed
Lines changed: 556 additions & 28 deletions
File tree
- artifacts
- crates/spar-trace-topology
- src
- supply-chain
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1863 | 1863 | | |
1864 | 1864 | | |
1865 | 1865 | | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
1866 | 1882 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2429 | 2429 | | |
2430 | 2430 | | |
2431 | 2431 | | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
| 2436 | + | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
0 commit comments