wireguard-apple/WireGuard
Jason A. Donenfeld 013d603109 Rework DNS and routes in network extension
The DNS resolver prior had useless comments, awful nesting, converted
bytes into strings and back into bytes, and generally made no sense.
That's been rewritten now.

But more fundumentally, this commit made the DNS resolver actually
accomplish its objective, by passing AI_ALL to it. It turns out, though,
that the Go library isn't actually using GAI in the way we need for
parsing IP addresses, so we actually need to do another round, this time
with hints flag as zero, so that we get the DNS64 address.

Additionally, since we're now binding sockets to interfaces, we can
entirely remove the excludedRoutes logic.
2018-12-28 19:38:03 +01:00
..
Shared Don't set username on NETunnelProviderProtocol 2018-12-22 16:13:31 +05:30
WireGuard Version bump 2018-12-26 01:41:22 +01:00
WireGuard.xcodeproj minizip: Remove zip encryption code 2018-12-25 12:48:04 +05:30
WireGuardNetworkExtension Rework DNS and routes in network extension 2018-12-28 19:38:03 +01:00
.swiftlint.yml Enabled more swiftlint rules 2018-12-20 11:22:37 -06:00