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

ooni / netem / 5446630722 / 1
84%
main: 84%

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

03 Jul 2023 04:19PM UTC coverage: 82.127% (-0.03%) from 82.161%
5446630722.1

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.

2100 of 2557 relevant lines covered (82.13%)

0.86 hits per line

Source Files on job 0 - 5446630722.1
  • Tree
  • List 29
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5446630722
  • f920565a on github
  • Prev Job for on main (#5185260308.1)
  • Next Job for on main (#5961790849.1)
  • 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