moby / vpnkit

A toolkit for embedding VPN capabilities in your application
Apache License 2.0
1.1k stars 187 forks source link

Update linuxkit/virtsock package. Track 10586_fixes branch. #451

Closed guillaumerose closed 5 years ago

guillaumerose commented 5 years ago

I can now compile all tests on Mac but I have one last failing unit test:

=== RUN   TestUDPWriteError
--- FAIL: TestUDPWriteError (0.00s)
    network_proxy_test.go:237: write udp 127.0.0.1:64614->127.0.0.1:25587: write: connection refused

Not sure it should pass on Mac or not.

guillaumerose commented 5 years ago

I also change the vpnkit pkg code to use the old implementation of virtsock. The dialer was not in sync with what we have in vendoring. GOOS=windows go build ./cmd/dial-example/main.go failed.

djs55 commented 5 years ago

Looks good to me