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

hardbyte / netchecks / 25720152968 / 2
88%
main: 88%

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

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

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.

392 of 418 relevant lines covered (93.78%)

1.88 hits per line

Source Files on job Unittests-windows-latest- - 25720152968.2
  • Tree
  • List 11
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25720152968
  • 226a352c on github
  • Prev Job for on main (#25719830923.2)
  • Next Job for on main (#25721262488.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