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

hardbyte / netchecks / 25720152968
88%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 07:31AM UTC
Jobs 3
Files 11
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

12 May 2026 07:30AM UTC coverage: 93.78% (+2.5%) from 91.26%
25720152968

push

github

hardbyte
feat(cli): --source-ip option for tcp, http, and dns probes

Closes #70.

All three probe types now accept a local source IP to bind the
outgoing socket to. Surfaced as a top-level CLI option and as a
`source-ip` field in the run config:

  netcheck tcp  --host github.com --port 443 --source-ip 192.168.1.10
  netcheck http --url https://example.com --source-ip 192.168.1.10
  netcheck dns  --host example.com           --source-ip 192.168.1.10

Implementation notes:
- TCP uses socket.create_connection(source_address=(ip, 0)).
- HTTP uses a small urllib3 SourceAddressAdapter mounted on a
  per-call requests.Session.
- DNS uses dnspython's Resolver.resolve(source=ip), which already
  exposes the source address parameter.

The source-ip echoes back in the probe spec so it shows up in
PolicyReport evidence.

36 of 36 new or added lines in 4 files covered. (100.0%)

392 of 418 relevant lines covered (93.78%)

5.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unittests-macos-latest- - 25720152968.1 12 May 2026 07:30AM UTC 11
93.78
GitHub Action Run
2 Unittests-windows-latest- - 25720152968.2 12 May 2026 07:31AM UTC 11
93.78
GitHub Action Run
3 Unittests-ubuntu-latest- - 25720152968.3 12 May 2026 07:31AM UTC 11
93.78
GitHub Action Run
Source Files on build 25720152968
  • Tree
  • List 11
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 226a352c on github
  • Prev Build on main (#25719830923)
  • Next Build on main (#25721262488)
  • 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