[手动选题][news]: 20230111.0 ️ Linux is All Set to Disable Microsoft's RNDIS Drivers.md

This commit is contained in:
六开箱 2023-01-12 18:18:13 +08:00
parent 55061a8dcd
commit e9ac59738f

View File

@ -0,0 +1,77 @@
[#]: subject: "Linux is All Set to Disable Microsoft's RNDIS Drivers"
[#]: via: "https://news.itsfoss.com/linux-disable-microsoft-rndis/"
[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Linux is All Set to Disable Microsoft's RNDIS Drivers
======
The Linux Kernel will no longer support RNDIS drivers. A good move? What does this mean for you? Find out here.
![Linux is All Set to Disable Microsoft's RNDIS Drivers][1]
Microsoft's RNDIS protocol, short for Remote Network Driver Interface Specification, is a proprietary USB protocol for virtual Ethernet functionality on computers.
The most common use case of this would be using your phone's mobile network to connect to the internet on your computer via USB, also known as [Tethering][2].
Even though it mainly works on Windows, it has been part of the Linux kernel for a while now.
But that is set to change soon.
### Say Goodbye to RNDIS Protocol?
![][3]
**What is happening?:** On Monday, [Greg Kroah-Hartman][4] created the [usb.git rndis-removal][5] branch, where he mentions disabling the implementation of all RNDIS protocol drivers on Linux.
With the commit, he mentions:
> The Microsoft RNDIS protocol is, as designed, insecure and vulnerable onany system that uses it with untrusted hosts or devices. Because theprotocol is impossible to make secure, just disable all rndis drivers toprevent anyone from using them again.Windows only needed this for XP and newer systems, Windows systems older than that can use the normal USB class protocols instead, which do not have these problems.Android has had this disabled for many years so there should not be anyreal systems that still need this.
As initially reported by [Phoronix][6], once this protocol is marked 'BROKEN' in the Kconfig option, it will stay there for a while and ultimately be removed from the kernel.
But **why?**
The implementation of RNDIS is known to be a mess on platforms apart from Windows and poses quite a few security risks. In addition, RNDIS is not being used as widely as before, and the security risks it presents might be one of the main reasons for this decision.
**Does this have an impact on current users? Should you be worried?**
If we look at a [Reddit thread][7] discussing this upcoming change, we would see that many users remain curious **if this would break USB tethering for everyone.**
Users seem confused about this move, considering many Android phones still use RNDIS instead of CDC NCM (a newer protocol) 😕 Not just users; a [Kernel Networking Developer at Google][8] also flagged this issue, but we do not see a response to that yet.
**But not everyone uses mainline Linux Kernel? Should you stick to an LTS version of the kernel if you do not want to be impacted by this change?**
Furthermore, users wanted more clarity on how this does not impact everyone.
But, as of now, **Greg** may not have mentioned a lot of details to convince some of the concerned users.
🤔 Of course, we aren't Linux Kernel maintainers. So, it is best to wait until this commit gets through, and I hope that the Linux Kernel maintainers shed more light on it than we already know.
💭 _What are your thoughts on this planned change for the Linux Kernel? Share your thoughts in the comments down below._
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/linux-disable-microsoft-rndis/
作者:[Sourav Rudra][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sourav/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w2000/2023/01/linux-to-disable-ms-network-drivers.png
[2]: https://en.wikipedia.org/wiki/Tethering
[3]: https://news.itsfoss.com/content/images/2023/01/kernel-patch-rndis.jpg
[4]: https://twitter.com/gregkh
[5]: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=rndis-removal&id=5eb127bb9741c1480aff95ffa4e1bd4cd9b5b16d
[6]: https://www.phoronix.com/news/Linux-Disabling-RNDIS-Drivers
[7]: https://www.reddit.com/r/linux/comments/108avzx/linux_preparing_to_disable_drivers_for_microsofts/
[8]: https://lkml.org/lkml/2022/11/23/1502