Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TAP & wintun adapters are "unknown" #197

Open
TinCanTech opened this issue Oct 11, 2020 · 11 comments
Open

TAP & wintun adapters are "unknown" #197

TinCanTech opened this issue Oct 11, 2020 · 11 comments
Labels
msi related to MSI installer needsmoreinfo

Comments

@TinCanTech
Copy link
Contributor

Using 2.5-rc2-I601-2-x86.msi, the install all works for me (I know there are some things going on under the hood but I have not investigated those).

But just for the record, the network adapters are "unknown".

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : IEWIN7
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : NetScreen-NS5GT-WLAN

Unknown adapter OpenVPN TAP-Windows6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-9B-6C-10-19
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Unknown adapter OpenVPN Wintun:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Wintun Userspace Tunnel
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::c867:c8e8:58bb:f9da%21(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.127.121.10(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.252
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 366773536
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-DD-E8-33-08-00-27-10-B8-D0

   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : NetScreen-NS5GT-WLAN
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
   Physical Address. . . . . . . . . : 08-00-27-10-B8-D0
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::80ac:4126:fa58:1b81%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.10.201.107(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 11 October 2020 14:47:04
   Lease Expires . . . . . . . . . . : 17 November 2156 21:35:36
   Default Gateway . . . . . . . . . : 10.10.201.1
   DHCP Server . . . . . . . . . . . : 10.10.101.1
   DHCPv6 IAID . . . . . . . . . . . : 235405351
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-DD-E8-33-08-00-27-10-B8-D0

   DNS Servers . . . . . . . . . . . : 10.10.201.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.NetScreen-NS5GT-WLAN:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : NetScreen-NS5GT-WLAN
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{0745738E-555C-4453-B64E-57CE5454158C}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{9B6C1019-DD72-457B-A76B-0EB3BB852A3E}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Windows\system32>
@cron2
Copy link
Collaborator

cron2 commented Oct 11, 2020 via email

@selvanair
Copy link
Contributor

I think this must have started when we tagged the adapter as virtual (not ethernet) around release 2.4.8. It used to show up as an "Ethernet adapter" before then. The device manager will list it a "Tap-Windows Adapter v9" device.

@TinCanTech
Copy link
Contributor Author

@cron2 - I rolled back to OpenVPN-2.5-beta3-I602-x86.msi, the status was also unknown.

2.4.9 - status unknown

2.4.7

C:\Users\IEUser\Desktop>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : IEWIN7
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : NetScreen-NS5GT-WLAN

Ethernet adapter Local Area Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-3B-3D-28-F3
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . : NetScreen-NS5GT-WLAN
   Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
   Physical Address. . . . . . . . . : 08-00-27-10-B8-D0
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::80ac:4126:fa58:1b81%10(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.10.201.107(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : 11 October 2020 21:16:03
   Lease Expires . . . . . . . . . . : 18 November 2156 04:02:07
   Default Gateway . . . . . . . . . : 10.10.201.1
   DHCP Server . . . . . . . . . . . : 10.10.101.1
   DHCPv6 IAID . . . . . . . . . . . : 235405351
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-DD-E8-33-08-00-27-10-B8-D0

   DNS Servers . . . . . . . . . . . : 10.10.201.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.NetScreen-NS5GT-WLAN:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : NetScreen-NS5GT-WLAN
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.{3B3D28F3-EB89-4168-AC49-E8BE9618A115}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

@selvanair probably

👍

@cron2
Copy link
Collaborator

cron2 commented Oct 11, 2020 via email

@TinCanTech
Copy link
Contributor Author

2.4.8 may have been neglected ...

@TinCanTech
Copy link
Contributor Author

I just built 2.6_git for Windows and this is still the same; Unknown adapter Local Area Connection 2: for TAP and wintun.

@flichtenheld flichtenheld added msi related to MSI installer needsmoreinfo labels Dec 12, 2022
@flichtenheld
Copy link
Member

@TinCanTech is this issue still relevant or has it been fixed in the mean time?

@TinCanTech
Copy link
Contributor Author

TinCanTech commented Dec 12, 2022

@flichtenheld With 2.6_beta1, still Unknown:

Unknown adapter OpenVPN Wintun:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Wintun Userspace Tunnel
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Unknown adapter OpenVPN TAP-Windows6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : TAP-Windows Adapter V9
   Physical Address. . . . . . . . . : 00-FF-BC-F5-84-F4
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Unknown adapter OpenVPN Data Channel Offload:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : OpenVPN Data Channel Offload
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 12fc:1918::10:126:66:3(Preferred)
   Link-local IPv6 Address . . . . . : fe80::be11:391c:d248:6231%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 10.126.66.150(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.252
   Default Gateway . . . . . . . . . :
   DHCPv6 IAID . . . . . . . . . . . : 688415334
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-07-26-75-4C-B6-58-2C-80-13-92-63
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Note: DCO in topology NET30 ..

@selvanair
Copy link
Contributor

As discussed earlier, this appears to have started since we changed IfType in the tap driver from ETHERNET to IF_TYPE_PROP_VIRTUAL (== Proprietary Virtual/Internal). In retrospect, not surprising as it used to show up as an Ethernet adapter but is now "Proprietary" which is arguably same as "Unknown".

We have not touched it since, so no change is expected in 2.6.

I would say just read "Unknown" to mean "Proprietary", and let it be. The description says what it is.

@lstipakov
Copy link
Member

<offtopic> @selvanair did you have a chance to try dco-win driver? have you noticed any difference? </offtopic>

@selvanair
Copy link
Contributor

@selvanair did you have a chance to try dco-win driver? have you noticed any difference?

difference in performance? As dco is the default now, my connection(s) have been using it, but my usage of VPN on Windows is only for some routine remote access, nothing performance critical. I heard some good feedback from others though.

As for this "Unknown adapter" thingie, dco-win could probably set the IfType as IF_TYPE_TUNNEL (131) instead of IF_TYPE_PROP_VIRTUAL (53)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msi related to MSI installer needsmoreinfo
Projects
None yet
Development

No branches or pull requests

5 participants