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

ooni / netem / 5446630722
84%

Build:
DEFAULT BRANCH: main
Ran 03 Jul 2023 04:21PM UTC
Jobs 1
Files 29
Run time 1s
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

Canceled at 09 Mar 2025 09:19AM UTC via web
5446630722

push

github

web-flow
feat(dpiblock.go): implement string-based TCP RST (#29)

This diff adds support for sending a RST segment when the client to
server flow includes a specific string in the first few packets and the
server endpoint matches.

We're mainly going to use this functionality to RST cleartext HTTP
requests containing a specific host header.

I wrote this diff for https://github.com/ooni/probe/issues/2494. I need
a test case in which an HTTP round trip fails, and this diff seems the
easiest way to implement this functionality quickly. What's more, this
is a common censorship case.

While there, use `crypto/rand` instead of `math/rand` to avoid a
warning.

34 of 40 new or added lines in 1 file covered. (85.0%)

4 existing lines in 2 files now uncovered.

2100 of 2557 relevant lines covered (82.13%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
82.98
0.8% dpiblock.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
91.3
-8.7% linkfwdfast.go
2
84.75
-1.69% pcap.go
Jobs
ID Job ID Ran Files Coverage
1 0 - 5446630722.1 03 Jul 2023 04:21PM UTC 29
82.13
GitHub Action Run
Source Files on build 5446630722
  • Tree
  • List 29
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f920565a on github
  • Prev Build on main (#5185260308)
  • Next Build on main (#5961790849)
  • Delete
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