yggdrasil-network / yggdrasil-go

An experiment in scalable routing as an encrypted IPv6 overlay network
https://yggdrasil-network.github.io
Other
3.46k stars 236 forks source link

IPv4 over CKR may not work in TAP mode #615

Closed neilalexander closed 4 years ago

neilalexander commented 4 years ago

neilalexander (@neilalexander:matrix.org) Also in the land of glaring omissions, I am pretty sure IPv4 over CKR doesn't work in TAP mode either. IPv6 over CKR works in TAP because of the ICMPv6 code performing neighbor solicitation and keeping MAC mappings but we never wrote any equivalent ARP code for IPv4, so I am not sure if there is anything that helps forward IPv4 traffic toward the right session (Although this is only one of many problems with CKR) If it works then I imagine it works only as a fluke if NDP has helped Ygg to learn the MAC first, but I wouldn't like to say that definitely happens because I don't think it always does

neilalexander commented 4 years ago

Closing this, as TAP mode is going to be altogether deprecated in v0.3.13 in favour of TUN on all supported platforms. This is enabled by the Wireguard tun package which even brings us Wintun support on Windows.