pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy
ISC License
4.54k stars 272 forks source link

[crush] Sending keepalive packet крашит приложение #132

Open zdv1g opened 3 months ago

zdv1g commented 3 months ago

Конфиг

[Interface]
Address = 192.168.6.129/32
DNS = 1.1.1.1,8.8.8.8
PrivateKey = XXXXXXXXX
CheckAlive = 1.1.1.1, 8.8.8.8
CheckAliveInterval = 3
[Peer]
publickey=XXXXXXXXX
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = XXXXXXXX
[Socks5]
BindAddress = 127.0.0.1:25344

Крашлог

DEBUG: 2024/08/08 02:15:54 peer(RioP…yfRU) - Received handshake response
DEBUG: 2024/08/08 02:15:54 peer(RioP…yfRU) - Sending keepalive packet
fatal error: concurrent map writes

goroutine 194 [running]:
github.com/pufferffish/wireproxy.VirtualTun.pingIPs.func1()
        /home/runner/work/wireproxy/wireproxy/WireProxy/routine.go:478 +0x6a5
created by github.com/pufferffish/wireproxy.VirtualTun.pingIPs in goroutine 13
        /home/runner/work/wireproxy/wireproxy/WireProxy/routine.go:438 +0x7d6

goroutine 1 [chan receive]:
main.main()
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:247 +0xb6d

goroutine 6 [syscall]:
os/signal.signal_recv()
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/sigqueue.go:152 +0x29
os/signal.loop()
        /opt/hostedtoolcache/go/1.21.9/x64/src/os/signal/signal_unix.go:23 +0x13
created by os/signal.Notify.func1.1 in goroutine 1
        /opt/hostedtoolcache/go/1.21.9/x64/src/os/signal/signal.go:151 +0x1f

goroutine 7 [chan receive]:
main.main.func1()
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:145 +0x25
created by main.main in goroutine 1
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:144 +0x114

goroutine 18 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2018, 0x1, 0x60?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x1?, 0x90?, 0xca?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2000, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 19 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f20a8, 0x1, 0x60?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0xc00000a808?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2090, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 20 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2138, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2120, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 21 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f21c8, 0x1, 0x20?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0xc0001f21b0?, 0x0?, 0x20?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f21b0, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 22 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2258, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2240, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 23 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f22e8, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f22d0, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 24 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2378, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2360, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 25 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2408, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f23f0, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 26 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2498, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2480, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 27 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2528, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2510, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 28 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f25b8, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f25a0, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 29 [select]:
gvisor.dev/gvisor/pkg/sync.Gopark(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sync/runtime_unsafe.go:33
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).nextWaker(0xc0001f2648, 0x1, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:209 +0x79
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).fetch(0x0?, 0x0?, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:256 +0x2b
gvisor.dev/gvisor/pkg/sleep.(*Sleeper).Fetch(...)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/sleep/sleep_unsafe.go:279
gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*processor).start(0xc0001f2630, 0x0?)
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:287 +0xb5
created by gvisor.dev/gvisor/pkg/tcpip/transport/tcp.(*dispatcher).init in goroutine 1
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/transport/tcp/dispatcher.go:391 +0x13b

goroutine 30 [select]:
golang.zx2c4.com/wireguard/ratelimiter.(*Ratelimiter).Init.func1()
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/ratelimiter/ratelimiter.go:68 +0x95
created by golang.zx2c4.com/wireguard/ratelimiter.(*Ratelimiter).Init in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/ratelimiter/ratelimiter.go:64 +0x147

goroutine 31 [semacquire]:
sync.runtime_Semacquire(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/sema.go:62 +0x25
sync.(*WaitGroup).Wait(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/sync/waitgroup.go:116 +0x48
golang.zx2c4.com/wireguard/device.newHandshakeQueue.func1()
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:68 +0x25
created by golang.zx2c4.com/wireguard/device.newHandshakeQueue in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:67 +0xa8

goroutine 32 [semacquire]:
sync.runtime_Semacquire(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/sema.go:62 +0x25
sync.(*WaitGroup).Wait(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/sync/waitgroup.go:116 +0x48
golang.zx2c4.com/wireguard/device.newOutboundQueue.func1()
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:32 +0x25
created by golang.zx2c4.com/wireguard/device.newOutboundQueue in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:31 +0xa8

goroutine 33 [semacquire]:
sync.runtime_Semacquire(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/sema.go:62 +0x25
sync.(*WaitGroup).Wait(0x0?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/sync/waitgroup.go:116 +0x48
golang.zx2c4.com/wireguard/device.newInboundQueue.func1()
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:50 +0x25
created by golang.zx2c4.com/wireguard/device.newInboundQueue in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/channels.go:49 +0xa8

goroutine 34 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 35 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 36 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x1)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 37 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 38 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 39 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x2)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 40 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 41 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 42 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x3)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 43 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 44 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 45 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x4)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 46 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 47 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 48 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x5)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 49 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 50 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 51 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x6)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 52 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 53 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 54 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x7)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 55 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 56 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 57 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x8)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 58 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 59 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 60 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0x9)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 61 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 62 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 63 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0xa)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 64 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 65 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 66 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0xb)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 67 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineEncryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:451 +0x1a5
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:315 +0x39b

goroutine 68 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineDecryption(0xc0001a0280, 0x0?)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:245 +0x18a
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:316 +0x3e5

goroutine 69 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineHandshake(0xc0001a0280, 0xc)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:279 +0x185
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:317 +0x32e

goroutine 70 [chan receive]:
golang.zx2c4.com/wireguard/tun/netstack.(*netTun).Read(0xc0002b3eb8?, {0xc000088078, 0x1, 0x0?}, {0xc00008e098, 0x1, 0x0?}, 0x10)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/tun/netstack/tun.go:123 +0x45
golang.zx2c4.com/wireguard/device.(*Device).RoutineReadFromTUN(0xc0001a0280)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:247 +0x2d7
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:322 +0x48c

goroutine 71 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Device).RoutineTUNEventReader(0xc0001a0280)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/tun.go:19 +0x79
created by golang.zx2c4.com/wireguard/device.NewDevice in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:323 +0x4c8

goroutine 82 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Peer).RoutineSequentialSender(0xc0000c8000, 0x1)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/send.go:492 +0x179
created by golang.zx2c4.com/wireguard/device.(*Peer).Start in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/peer.go:208 +0x297

goroutine 83 [chan receive]:
golang.zx2c4.com/wireguard/device.(*Peer).RoutineSequentialReceiver(0xc0000c8000, 0x1)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:443 +0x18a
created by golang.zx2c4.com/wireguard/device.(*Peer).Start in goroutine 1
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/peer.go:209 +0x2e5

goroutine 10 [syscall, locked to thread]:
syscall.SyscallN(0xc000051ba0?, {0xc000407a58?, 0xe425a?, 0xe8c60?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/syscall_windows.go:544 +0x107
syscall.Syscall6(0x0?, 0x0?, 0xc000080400?, 0x54c918?, 0xc000407b00?, 0xe3f75?, 0x7ffadcb551c0?, 0xc000407ae8?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/syscall_windows.go:488 +0x4a
golang.org/x/sys/windows.GetQueuedCompletionStatus(0x962ab?, 0xc000407b60?, 0xa1c25?, 0x1?, 0xffffffff)
        /home/runner/go/pkg/mod/golang.org/x/sys@v0.18.0/windows/zsyscall_windows.go:2394 +0x86
golang.zx2c4.com/wireguard/conn.(*afWinRingBind).Receive(0xc000220000, {0xc0002c5800, 0x7e0, 0x4?}, 0xc0002201b8)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/conn/bind_windows.go:384 +0x209
golang.zx2c4.com/wireguard/conn.(*WinRingBind).receiveIPv4(0x0?, {0xc000184618?, 0x85b17?, 0x478000?}, {0xc00018ad90, 0x1, 0xc000407f08?}, {0xc000188330, 0x1, 0x1})
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/conn/bind_windows.go:422 +0x105
golang.zx2c4.com/wireguard/device.(*Device).RoutineReceiveIncoming(0xc0001a0280, 0x1, 0xc0000304a0)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:111 +0x3a8
created by golang.zx2c4.com/wireguard/device.(*Device).BindUpdate in goroutine 71
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:524 +0x33b

goroutine 11 [syscall, locked to thread]:
syscall.SyscallN(0xc000051d40?, {0xc000311a58?, 0xe425a?, 0xe8c60?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/syscall_windows.go:544 +0x107
syscall.Syscall6(0x0?, 0x0?, 0xc00001ac00?, 0x54c918?, 0xc000311b00?, 0xe3f75?, 0x7ffadcb551c0?, 0xc000311ae8?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/syscall_windows.go:488 +0x4a
golang.org/x/sys/windows.GetQueuedCompletionStatus(0x40e83c5?, 0xc000311b60?, 0x2?, 0xc00018ab38?, 0xffffffff)
        /home/runner/go/pkg/mod/golang.org/x/sys@v0.18.0/windows/zsyscall_windows.go:2394 +0x86
golang.zx2c4.com/wireguard/conn.(*afWinRingBind).Receive(0xc0002200d0, {0xc0000c4800, 0x7e0, 0xc000311c20?}, 0xc0002201b8)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/conn/bind_windows.go:384 +0x209
golang.zx2c4.com/wireguard/conn.(*WinRingBind).receiveIPv6(0x1?, {0xc0000880f0?, 0xc000311ca0?, 0x327ff7?}, {0xc00008edd8, 0x1, 0x1?}, {0xc0000900f0, 0x1, 0x1})
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/conn/bind_windows.go:431 +0x10d
golang.zx2c4.com/wireguard/device.(*Device).RoutineReceiveIncoming(0xc0001a0280, 0x1, 0xc0000304b0)
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/receive.go:111 +0x3a8
created by golang.zx2c4.com/wireguard/device.(*Device).BindUpdate in goroutine 71
        /home/runner/go/pkg/mod/golang.zx2c4.com/wireguard@v0.0.0-20231211153847-12269c276173/device/device.go:524 +0x33b

goroutine 12 [IO wait]:
internal/poll.runtime_pollWait(0x1a9ff204e38, 0x72)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0x0?, 0x0?, 0x0)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc000332018, 0xc000313b88)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).acceptOne(0xc000332000, 0x29c, {0xc000436000?, 0xc000080400?, 0x54c918?}, 0xc000313c40?)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_windows.go:944 +0x67
internal/poll.(*FD).Accept(0xc000332000, 0xc000313d60)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_windows.go:978 +0x1bc
net.(*netFD).accept(0xc000332000)
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/fd_windows.go:166 +0x54
net.(*TCPListener).accept(0xc000330080)
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/tcpsock_posix.go:152 +0x1e
net.(*TCPListener).Accept(0xc000330080)
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/tcpsock.go:315 +0x30
github.com/things-go/go-socks5.(*Server).Serve(0xc0003200d0, {0x5d04f0?, 0xc000330080})
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:100 +0x9b
github.com/things-go/go-socks5.(*Server).ListenAndServe(0xc000313f70?, {0x50f877?, 0x0?}, {0xc00000a741?, 0x48a7a0?})
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:93 +0x4f
github.com/pufferffish/wireproxy.(*Socks5Config).SpawnRoutine(0xc000186030, 0xc00002b3e0)
        /home/runner/work/wireproxy/wireproxy/WireProxy/routine.go:160 +0x3d1
created by main.main in goroutine 1
        /home/runner/work/wireproxy/wireproxy/WireProxy/cmd/wireproxy/main.go:233 +0x9e6

goroutine 13 [sleep]:
time.Sleep(0xb2d05e00)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/time.go:195 +0x126
github.com/pufferffish/wireproxy.VirtualTun.StartPingIPs.func1()
        /home/runner/work/wireproxy/wireproxy/WireProxy/routine.go:493 +0x48
created by github.com/pufferffish/wireproxy.VirtualTun.StartPingIPs in goroutine 1
        /home/runner/work/wireproxy/wireproxy/WireProxy/routine.go:490 +0xef

goroutine 96 [IO wait]:
internal/poll.runtime_pollWait(0x1a9ff204d40, 0x72)
        /opt/hostedtoolcache/go/1.21.9/x64/src/runtime/netpoll.go:343 +0x85
internal/poll.(*pollDesc).wait(0x0?, 0x0?, 0x0)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.execIO(0xc0001a0518, 0x54c950)
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_windows.go:175 +0xe6
internal/poll.(*FD).Read(0xc0001a0500, {0xc0000fc000, 0x1000, 0x1000})
        /opt/hostedtoolcache/go/1.21.9/x64/src/internal/poll/fd_windows.go:436 +0x2b1
net.(*netFD).Read(0xc0001a0500, {0xc0000fc000?, 0x0?, 0x42d149?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc00019e100, {0xc0000fc000?, 0x426408?, 0xc00041a4e0?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/net.go:179 +0x45
bufio.(*Reader).fill(0xc000087320)
        /opt/hostedtoolcache/go/1.21.9/x64/src/bufio/bufio.go:113 +0x103
bufio.(*Reader).WriteTo(0xc000087320, {0x1a9ff1d1218, 0xc0000874a0})
        /opt/hostedtoolcache/go/1.21.9/x64/src/bufio/bufio.go:549 +0x106
io.copyBuffer({0x1a9ff1d1218, 0xc0000874a0}, {0x5cb7a0, 0xc000087320}, {0xc0005c0000, 0x40000, 0x40000})
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:412 +0x166
io.CopyBuffer({0x1a9ff1d1218?, 0xc0000874a0?}, {0x5cb7a0?, 0xc000087320?}, {0xc0005c0000?, 0xc000175f40?, 0x8a57d?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:403 +0x36
github.com/things-go/go-socks5.(*Server).Proxy(0xc0003200d0, {0x1a9ff1d1218, 0xc0000874a0}, {0x5cb7a0, 0xc000087320})
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:342 +0x107
github.com/things-go/go-socks5.(*Server).handleConnect.func2()
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:147 +0x65
created by github.com/things-go/go-socks5.(*Server).goFunc in goroutine 134
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:183 +0x3e

goroutine 97 [select]:
gvisor.dev/gvisor/pkg/tcpip/adapters/gonet.commonRead({0xc00052e000, 0x8000, 0x8000}, {0x5d5a70, 0xc000512000}, 0xc0000c1ef0, 0xc0000d4780, 0x0, {0x5cc740, 0xc0000874a0})
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/adapters/gonet/gonet.go:322 +0x6ff
gvisor.dev/gvisor/pkg/tcpip/adapters/gonet.(*TCPConn).Read(0xc0000874a0, {0xc00052e000, 0x8000, 0x8000})
        /home/runner/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20230927004350-cbd86285d259/pkg/tcpip/adapters/gonet/gonet.go:351 +0x10c
io.copyBuffer({0x5cb500, 0xc0000903f0}, {0x1a9ff0ac880, 0xc0000874a0}, {0x0, 0x0, 0x0})
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:430 +0x1a6
io.Copy(...)
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:389
net.genericReadFrom({0x5cb5a0?, 0xc00019e100?}, {0x1a9ff0ac880, 0xc0000874a0})
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/net.go:671 +0x66
net.(*TCPConn).readFrom(0xc00019e100, {0x1a9ff0ac880, 0xc0000874a0})
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/tcpsock_posix.go:54 +0x4e
net.(*TCPConn).ReadFrom(0xc00019e100, {0x1a9ff0ac880?, 0xc0000874a0?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/net/tcpsock.go:130 +0x30
io.copyBuffer({0x5cb5a0, 0xc00019e100}, {0x1a9ff0ac880, 0xc0000874a0}, {0xc000580000, 0x40000, 0x40000})
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:416 +0x147
io.CopyBuffer({0x5cb5a0?, 0xc00019e100?}, {0x1a9ff0ac880?, 0xc0000874a0?}, {0xc000580000?, 0xc000433f38?, 0x8a57d?})
        /opt/hostedtoolcache/go/1.21.9/x64/src/io/io.go:403 +0x36
github.com/things-go/go-socks5.(*Server).Proxy(0xc0003200d0, {0x5cb5a0, 0xc00019e100}, {0x1a9ff0ac880, 0xc0000874a0})
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:342 +0x107
github.com/things-go/go-socks5.(*Server).handleConnect.func3()
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:148 +0x6b
created by github.com/things-go/go-socks5.(*Server).goFunc in goroutine 134
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:183 +0x3e

goroutine 134 [chan receive]:
github.com/things-go/go-socks5.(*Server).handleConnect(0xc0003200d0, {0x5d1530, 0x8f48c0}, {0x5cb5a0?, 0xc00019e100?}, 0xc0000fe000)
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:151 +0x5c6
github.com/things-go/go-socks5.(*Server).handleRequest(0xc0003200d0, {0x5cb5a0, 0xc00019e100}, 0xc0000fe000)
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/handle.go:89 +0x1e5
github.com/things-go/go-socks5.(*Server).ServeConn(0x0?, {0x5d3670?, 0xc00019e100})
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:162 +0x5d6
github.com/things-go/go-socks5.(*Server).Serve.func1()
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:105 +0x28
created by github.com/things-go/go-socks5.(*Server).goFunc in goroutine 12
        /home/runner/go/pkg/mod/github.com/things-go/go-socks5@v0.0.5/server.go:183 +0x3e