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

KarpelesLab / pktkit / 24002717821
53%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2026 01:41PM UTC
Jobs 1
Files 79
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

05 Apr 2026 01:40PM UTC coverage: 44.58% (-0.2%) from 44.766%
24002717821

push

github

MagicalTux
Fix medium and low severity security issues across all packages

WireGuard: make now() overridable (default time.Now, opt-in cached clock
via UseCachedTime), per-keypair atomic send counter starting at 0, add
RejectAfterMessages/RekeyAfterTime/RekeyAfterMessages constants with
ErrRekeyRequired sentinel, zero all DH results and ephemeral keys after
use, store conn in atomic.Value, cap handshake/session maps at 10k,
lower DoS load threshold to 20 (configurable), O(1) peer lookup via
peerKey on keypair, delete responder handshake state after key derivation.

OpenVPN: fix data races (atomic.Bool for terminating, lock peers map in
monitor/Terminate), fix TCP peer nil-deref race by creating peer before
goroutine, guard double-close with sync.Once, sanitize AUTH_FAILED error
messages, guard zero-length readControlString.

Core: add bounds checks to SetIPv4SrcAddr/SetIPv4DstAddr, cap ARP/NDP
tables at 4096 entries with expired-entry pruning, cap L2Hub MAC table
at 8192 entries, validate IPv6 hop-limit==255 on NDP (RFC 4861), cap
DHCP leases at 1024.

Slirp: enforce IPv4 Total Length field, validate IHL>=20, cap virtTCP/
virtTCP6 maps at 10k connections.

NAT: validate IHL>=20 on both paths, cap reassembled packet size at
65535, validate FTP PORT octet range 0-255.

vtcp: replace O(n*m) byte-by-byte SACK retransmit scan with O(m^2)
range-based skip, cap out-of-order entries at 128.

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

86 of 213 new or added lines in 23 files covered. (40.38%)

3 existing lines in 3 files now uncovered.

5832 of 13082 relevant lines covered (44.58%)

21.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
22
11.54
-88.46% wg/time.go
12
81.76
-0.91% wg/handshake.go
10
73.33
-6.67% arp.go
10
2.03
-0.13% ndp.go
10
62.71
-1.64% vtcp/sendbuf.go
9
0.0
0.0% ovpn/peer-control.go
6
0.0
0.0% ovpn/server.go
6
52.32
0.81% slirp/usernat.go
4
74.57
-0.87% dhcpd.go
4
63.04
-0.35% nat/nat.go
4
90.34
-2.56% packet.go
4
54.17
-0.53% slirp/ipv6.go
4
83.89
-0.72% wg/handler.go
4
80.77
-4.82% wg/transport.go
3
0.0
0.0% nat/alg_ftp.go
3
0.0
0.0% nat/defrag.go
3
0.0
0.0% ovpn/options.go
3
0.0
0.0% ovpn/peer.go
3
0.0
0.0% ovpn/server-tcp.go
2
90.53
-1.52% l2hub.go
1
0.0
0.0% ovpn/server-udp.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% ovpn/peer.go
1
0.0
0.0% ovpn/server-tcp.go
1
11.54
-88.46% wg/time.go
Jobs
ID Job ID Ran Files Coverage
1 24002717821.1 05 Apr 2026 01:41PM UTC 79
44.58
GitHub Action Run
Source Files on build 24002717821
  • Tree
  • List 79
  • Changed 26
  • Source Changed 25
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24002717821
  • e04f20a4 on github
  • Prev Build on master (#24000713128)
  • Next Build on master (#24003398688)
  • 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