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

KarpelesLab / slirp / 23944797218
71%

Build:
DEFAULT BRANCH: master
Ran 03 Apr 2026 11:34AM UTC
Jobs 1
Files 28
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

03 Apr 2026 11:34AM UTC coverage: 69.15% (+0.009%) from 69.141%
23944797218

push

github

MagicalTux
Replace tcpConn/tcpConn6 with vtcp.Conn + NAT bridge

Phase 3.2: Outbound TCP NAT proxy connections now use vtcp.Conn as the
protocol engine, bridged to a real net.Conn via io.Copy goroutines.

New type: tcpNATConn wraps vtcp.Conn (facing virtual client) +
net.Conn (facing real server). Two goroutines copy data bidirectionally.
When either side closes, the other is torn down.

Changes:
- Stack.tcp/tcp6 maps now hold *tcpNATConn
- SYN handling: dials remote outside any lock, creates vtcp.Conn via
  AcceptSYN, starts bridge goroutines
- Subsequent packets: ParseSegment + HandleSegment on the vtcp.Conn
- RST for non-SYN stray packets uses vtcp.Segment.Marshal()
- Maintenance cleanup checks vtcp.Conn.State()
- Stack.Close() calls tcpNATConn.close() which aborts both sides
- Tests updated to create tcpNATConn instances

The old tcpConn/tcpConn6 types remain as dead code — they will be
removed after vclient migration completes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

93 of 138 new or added lines in 3 files covered. (67.39%)

13 existing lines in 2 files now uncovered.

3369 of 4872 relevant lines covered (69.15%)

8.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
27
67.04
1.35% usernat.go
16
74.54
-2.21% ipv6.go
2
92.0
tcp_nat.go

Coverage Regressions

Lines Coverage ∆ File
8
70.39
-2.63% tcp6.go
5
67.04
1.35% usernat.go
Jobs
ID Job ID Ran Files Coverage
1 23944797218.1 03 Apr 2026 11:34AM UTC 28
69.15
GitHub Action Run
Source Files on build 23944797218
  • Tree
  • List 28
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23944797218
  • c197723d on github
  • Prev Build on master (#23944633769)
  • Next Build on master (#23944870087)
  • 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