Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### v0.4.0 (unreleased)
* allow longer paths when forwarding Unix domain sockets

### v0.3.0 (2019-02-06)

* support multiplexing forwarded connections along one Hyper-V socket connection
Expand Down
5 changes: 2 additions & 3 deletions go/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go/Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

[[constraint]]
name = "github.com/linuxkit/virtsock"
branch = "10586_fixes"
revision = "8e79449dea0735c1c056d814934dd035734cc97c"

[[constraint]]
name = "github.com/docker/go-p9p"
Expand Down
2 changes: 1 addition & 1 deletion go/cmd/vpnkit-forwarder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func main() {
func hyperVListener(port int) net.Listener {
serviceID := fmt.Sprintf("%08x-FACB-11E6-BD58-64006A7986D3", port)
svcid, _ := hvsock.GUIDFromString(serviceID)
l, err := hvsock.Listen(hvsock.HypervAddr{VMID: hvsock.GUIDWildcard, ServiceID: svcid})
l, err := hvsock.Listen(hvsock.Addr{VMID: hvsock.GUIDWildcard, ServiceID: svcid})
if err != nil {
log.Fatalf("Failed to bind AF_HVSOCK guid: %s: %v", serviceID, err)
}
Expand Down
11 changes: 0 additions & 11 deletions go/cmd/vpnkit-forwarder/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"log"
"net"
"os"
"os/signal"
"syscall"
)

var interactiveMode bool
Expand Down Expand Up @@ -74,12 +72,3 @@ func parseHostContainerAddrs() (host net.Addr, port int, container net.Addr, loc
localIP = !*noLocalIP
return host, port, container, localIP
}

func handleStopSignals() {
s := make(chan os.Signal, 10)
signal.Notify(s, os.Interrupt, syscall.SIGTERM, syscall.SIGSTOP)

for range s {
os.Exit(0)
}
}
Loading