project-iris / iris

Decentralized cloud messaging
iris.karalabe.com
Other
571 stars 32 forks source link

Windows: tunnel requests don't include dial addresses #43

Closed karalabe closed 9 years ago

karalabe commented 9 years ago

When a node requests a tunnel into a remote one, no connection address is specified, and hence the remote side will crash since its not prepared for an empty address list.

Will need to:

karalabe commented 9 years ago

Ok, after poking around, it seems that when querying the network interfaces, windows returns IPAddrs whereas all else returns IPNets (what I was working with). This is a known issue of Go, and will hopefully be patched. Until then, a hack is needed.

Ref: https://code.google.com/p/go/issues/detail?id=5395