wireguard-go/tun/wintun
Simon Rozman fdba6c183a wintun: make remaining HWID comparisons case insensitive
c85e4a410f introduced preliminary HWID
checking to speed up Wintun adapter enumeration. However, all HWID are
case insensitive by Windows convention.

Furthermore, a device might have multiple HWIDs. When DevInfo's
DeviceRegistryProperty(SPDRP_HARDWAREID) method returns []string, all
strings returned should be checked against given hardware ID.

This issue was discovered when researching Wintun and wireguard-go on
Windows 10 ARM64. The Wintun adapter was created using devcon.exe
utility with "wintun" hardware ID, causing wireguard-go fail to
enumerate the adapter properly.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-05-02 01:50:47 -06:00
..
iphlpapi mod: bump versions 2019-10-04 11:41:02 +02:00
namespaceapi namespaceapi: remove tasteless comment 2019-10-21 09:02:29 +02:00
nci mod: bump versions 2019-10-04 11:41:02 +02:00
registry mod: bump versions 2019-10-04 11:41:02 +02:00
setupapi setupapi: extend struct size constant definitions for arm(64) 2020-05-02 01:50:47 -06:00
namespace_windows.go wintun: split error message for create vs open namespace. 2020-05-02 01:44:58 -06:00
ring_windows.go wintun: manage ring memory manually 2019-11-22 13:13:55 +01:00
wintun_windows.go wintun: make remaining HWID comparisons case insensitive 2020-05-02 01:50:47 -06:00