• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozillazg / ptcpdump / 18157353217
73%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2025 09:24AM UTC
Jobs 1
Files 78
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Oct 2025 09:12AM UTC coverage: 73.823% (+0.2%) from 73.647%
18157353217

push

github

web-flow
feat(capture): handle L3-only devices and add tun regression (#342)

* feat(capture): handle L3-only devices and add tun regression

- split eBPF entry points into L2/L3 variants and inject matching pcap filters

- attach tc/tcx/socket hooks with interface metadata to pick correct program

- track MAC-less devices in metadata and infer protocols when fabricating L2

- add tun e2e test and bump CI timeouts for longer coverage windows

* fix handel lo interface

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Align cgroup_skb path with L3 filters

* Limit protocol sniffing to the actual payload length

* fix(filter): inject pcap filter to xxx: failed to pcap_compile xxx: expression rejects all packets

* refactor: dedupe pcap filter injection helpers

* fix(filter): Cannot find bpf2bpf: pcap_filter

* fix tests

* Fix tun test modprobe sequencing

* Improve tun e2e test stability

- skip the CircleCI tun job when running the socket-filter pipeline, since that backend cannot load tun
- extend the packet capture timeout to 60s and wait 5s before stopping so the ping output is flushed

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

223 of 267 new or added lines in 12 files covered. (83.52%)

8 existing lines in 3 files now uncovered.

5034 of 6819 relevant lines covered (73.82%)

0.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
82.18
0.0% internal/capturer/capturer.go
6
86.57
-3.35% internal/event/net.go
8
0.0
0.0% bpf/bpf_legacy_x86_bpfel.go
8
0.0
0.0% bpf/bpf_no_tracing_x86_bpfel.go
20
87.26
bpf/pcap_filter.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.69
0.43% bpf/bpf.go
2
60.63
-0.45% bpf/event.go
5
79.82
-2.19% internal/metadata/container/docker/docker.go
Jobs
ID Job ID Ran Files Coverage
1 18157353217.1 01 Oct 2025 09:24AM UTC 78
73.82
GitHub Action Run
Source Files on build 18157353217
  • Tree
  • List 78
  • Changed 13
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18157353217
  • 8f4c3638 on github
  • Prev Build on master (#18148113780)
  • Next Build on master (#18158153702)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc