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

ooni / probe-cli / 6255251967 / 1
72%
master: 72%

Build:
DEFAULT BRANCH: master
Ran 20 Sep 2023 11:47PM UTC
Files 504
Run time 8s
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

20 Sep 2023 11:41PM UTC coverage: 81.494% (-0.02%) from 81.514%
6255251967.1

push

github

web-flow
refactor: adapt to netem pinning certificates to hosts (#1287)

As explained in https://github.com/ooni/netem/pull/40, netem used to
generate on the fly certificates for any host.

I then discovered that this behavior is not desirable because the
internet doesn't work like that. Specifically, TLS dialing to, say,
www.example.com with www.google.com as the SNI must return a TLS error
(`ssl_invalid_hostname` in OONI).

This wrong behavior of netem has become a bottleneck for writing new
tests for the beacons functionality, so it must change.

I have already changed netem and this diff updates the probe-cli tree to
use a netem version that behaves more correctly.

While there, I noticed that sniblocking tests were wrong because of the
previous netem behavior and asserted that the control should return a
nil failure, while it should have been `ssl_invalid_hostname`.

Part of https://github.com/ooni/probe/issues/2531

23459 of 28786 relevant lines covered (81.49%)

34.06 hits per line

Source Files on job 0 - 6255251967.1
  • Tree
  • List 0
  • Changed 42
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6255251967
  • c965601d on github
  • Prev Job for on master (#6249872797.1)
  • Next Job for on master (#6258395785.1)
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