netchx / netch

A simple proxy client
GNU General Public License v3.0
16.4k stars 2.72k forks source link

In windows11 system, the startup program times error #1131

Closed secexe closed 5 months ago

secexe commented 7 months ago

Describe the bug

Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. image

To Reproduce

erThe program appears every time you start it

Log

[2024-03-31 01:37:36][Information] Not found language zh-HK, use zh-CN instead [2024-03-31 01:37:36][Information] Netch Version: NetchX/Netch@1.9.6 [2024-03-31 01:37:36][Information] OS: Microsoft Windows NT 10.0.22631.0 [2024-03-31 01:37:36][Information] SHA256: 1a92f3ec4192a1653b96f3a765e8b60d1d9fc6db355b5d2129a71c42c3497a2b [2024-03-31 01:37:36][Information] System Language: zh-HK [2024-03-31 01:37:37][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 01:37:37][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 01:37:37][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 01:37:37][Information] Update netfilter2 driver [2024-03-31 01:37:37][Information] Uninstall netfilter2 [2024-03-31 01:37:37][Information] Stop Main Controller [2024-03-31 01:37:37][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode) [2024-03-31 01:37:38][Debug] Running Processes: C:\Program Files (x86)\Common Files\Foxit\Foxit PDF Editor\FoxitPDFEditorUpdateService.exe C:\Program Files (x86)\Common Files\VMware\USB\vmware-usbarbitrator64.exe C:\Program Files (x86)\duowan\yy\9.30.0.0\yyldrsvr.exe C:\Program Files (x86)\Lenovo\LeAppStore\LenovoServiceAS.exe C:\Program Files (x86)\Lenovo\LenovoInternetSoftwareFramework\LenovoInternetSoftwareFramework.exe C:\Program Files (x86)\Lenovo\LenovoInternetSoftwareFramework\LISFService.exe C:\Program Files (x86)\Lenovo\Lsf\Lsf.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\crashpad_handler.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\LenovoPcManagerService.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\LenovoTray.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\Modules\Setings\yoga\LenovoToolMonitoring.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\Security\service\LAVService.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\Security\service\usysdiag.exe C:\Program Files (x86)\Lenovo\PCManager\5.1.58.2252\WSPluginHost.exe C:\Program Files (x86)\Lenovo\SmartEngine\1.0.70.10091\LenovoSmartService.exe C:\Program Files (x86)\Lenovo\SmartEngine\1.0.70.10091\SmartEngineHost.exe C:\Program Files (x86)\Lenovo\SmartEngine\1.0.70.10091\SmartEngineHost64.exe C:\Program Files (x86)\Lenovo\SmartEngine\1.0.70.10091\SmartEngineTray.exe C:\Program Files (x86)\Microsoft\EdgeWebView\Application\123.0.2420.65\msedgewebview2.exe C:\Program Files (x86)\Timi Personal Computing\MiService\3.3.1.735\MiService.exe C:\Program Files (x86)\VMware\VMware Workstation\vmware-authd.exe C:\Program Files (x86)\VMware\VMware Workstation\vmware-tray.exe C:\Program Files\Adobe\Acrobat DC\Acrobat\AcroTray.exe C:\Program Files\Clash for Windows\Clash for Windows.exe C:\Program Files\Clash for Windows\resources\static\files\win\x64\clash-win64.exe C:\Program Files\Cloudflare\Cloudflare WARP\Cloudflare WARP.exe C:\Program Files\Cloudflare\Cloudflare WARP\warp-svc.exe C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeClickToRun.exe C:\Program Files\Everything\Everything.exe C:\Program Files\Google\Chrome\Application\chrome.exe C:\Program Files\Lenovo\AIMM Service PRC\Ammbkproc.exe C:\Program Files\Lenovo\Lenovo Smart Appearance Components\Components\IntelligentSensingAwareService\LsaRpcServer.exe C:\Program Files\Lenovo\Lenovo Smart Appearance Components\Components\SmartAppearanceAIService\FaceBeautify.exe C:\Program Files\Lenovo\Lenovo Smart Appearance Components\Components\SmartAppearanceAIService\SmartAppearanceSVC.exe C:\Program Files\MI\XiaomiPCManager\1.0.0.489\DistributedService.exe C:\Program Files\MI\XiaomiPCManager\1.0.0.489\MAFSvr.exe C:\Program Files\MI\XiaomiPCManager\1.0.0.489\micont_service.exe C:\Program Files\MI\XiaomiPCManager\1.0.0.489\MiPlayCastService.exe C:\Program Files\Microsoft Office\Root\Office16\SDXHelper.exe C:\Program Files\Microsoft OfficePLUS\2.11.0.11432\service\MSOfficePLUSService.exe C:\Program Files\Microsoft OneDrive\24.050.0310.0001\FileCoAuth.exe C:\Program Files\Microsoft OneDrive\OneDrive.exe C:\Program Files\OpenBoxLab\RaiDrive\RaiDrive.exe C:\Program Files\OpenBoxLab\RaiDrive\RaiDrive.Service.x64.exe C:\Program Files\OpenVPN Connect\agent_ovpnconnect_1692705797176.exe C:\Program Files\OpenVPN Connect\ovpnhelper_service.exe C:\Program Files\RustDesk\rustdesk.exe C:\Program Files\RustDesk\RustDesk.exe C:\Program Files\Sandboxie\SbieCtrl.exe C:\Program Files\Sandboxie\SbieSvc.exe C:\Program Files\SuperTouchpad\service\luckey_directtouch_core.exe C:\Program Files\SuperTouchpad\service\luckey_directtouch_service.exe C:\Program Files\SuperTouchpad\supertouchpad.exe C:\Program Files\Tencent\WeChat[3.9.10.19]\mmcrashpad_handler64.exe C:\Program Files\Tencent\WeChat\WeChat.exe C:\Users\KrisWi\AppData\Local\youdao\dict\Application\10.1.1.0\YoudaoDictHelper.exe C:\Users\KrisWi\AppData\Local\youdao\dict\Application\YoudaoDict.exe C:\Users\KrisWi\AppData\Roaming\Tencent\WeChat\XPlugin\Plugins\RadiumWMPF\9079\extracted\runtime\WechatAppEx.exe C:\Users\KrisWi\AppData\Roaming\Tencent\WeChat\XPlugin\Plugins\RadiumWMPF\9079\extracted\runtime\WeChatAppEx.exe C:\Users\KrisWi\AppData\Roaming\Tencent\WeChat\XPlugin\Plugins\ThumbPlayer\4071\extracted\WeChatPlayer.exe C:\Users\KrisWi\AppData\Roaming\Tencent\WeChat\XPlugin\Plugins\WeChatOCR\7079\extracted\WeChatOCR.exe C:\Users\KrisWi\AppData\Roaming\Tencent\WeChat\XPlugin\Plugins\WeChatUtility\8091\extracted\WechatUtility.exe C:\Users\KrisWi\AppData\Roaming\wcss\wcss.dat C:\Users\KrisWi\Desktop\外服WSR2.6(20231108)\Netch\Netch.exe D:\Riot Games\Riot Client\RiotClientCrashHandler.exe D:\Riot Games\Riot Client\RiotClientServices.exe D:\Riot Games\sg\League of Legends\LeagueClient.exe D:\Riot Games\sg\League of Legends\LeagueClientUx.exe D:\Riot Games\sg\League of Legends\LeagueClientUxRender.exe D:\Riot Games\sg\League of Legends\LeagueCrashHandler64.exe [2024-03-31 02:40:42][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 02:40:42][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 02:40:42][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 02:40:42][Information] Update netfilter2 driver [2024-03-31 02:40:42][Information] Uninstall netfilter2 [2024-03-31 02:40:42][Information] Stop Main Controller [2024-03-31 02:40:42][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode) [2024-03-31 02:45:15][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 02:45:15][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 02:45:15][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 02:45:15][Information] Update netfilter2 driver [2024-03-31 02:45:15][Information] Uninstall netfilter2 [2024-03-31 02:45:15][Information] Stop Main Controller [2024-03-31 02:45:15][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode) [2024-03-31 02:45:29][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 02:45:29][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 02:45:29][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 02:45:29][Information] Update netfilter2 driver [2024-03-31 02:45:29][Information] Uninstall netfilter2 [2024-03-31 02:45:29][Information] Stop Main Controller [2024-03-31 02:45:29][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode) [2024-03-31 02:47:06][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 02:47:06][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 02:47:06][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 02:47:06][Information] Update netfilter2 driver [2024-03-31 02:47:06][Information] Uninstall netfilter2 [2024-03-31 02:47:06][Information] Stop Main Controller [2024-03-31 02:47:06][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode) [2024-03-31 02:47:30][Warning] Get releases failed System.Net.WebException: 可能是應用程式尚未呼叫 WSAStartup,或 WSAStartup 發生失敗。 (api.github.com:443) ---> System.Net.Http.HttpRequestException: 可能是應用程式尚未呼叫 WSAStartup,或 WSAStartup 發生失敗。 (api.github.com:443) ---> System.Net.Sockets.SocketException (10093): 可能是應用程式尚未呼叫 WSAStartup,或 WSAStartup 發生失敗。 at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType) at System.Net.Sockets.Socket..ctor(SocketType socketType, ProtocolType protocolType) at System.Net.HttpWebRequest.<>cDisplayClass216_0.<b1>d.MoveNext() --- End of stack trace from previous location --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request) at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.gCore|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at System.Net.HttpWebRequest.SendRequest(Boolean async) at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebRequest.<>c.b68_2(IAsyncResult iar) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location --- at Netch.Utils.WebUtil.DownloadStringAsync(HttpWebRequest req, Encoding encoding) at Netch.Controllers.UpdateChecker.CheckAsync(Boolean isPreRelease) [2024-03-31 02:48:58][Information] Start MainController: Socks5 [0]防封處理 [2024-03-31 02:48:58][Information] Built-in netfilter2 driver version: 1.6.3.0 [2024-03-31 02:48:58][Information] Installed netfilter2 driver version: 1.6.0.2 [2024-03-31 02:48:58][Information] Update netfilter2 driver [2024-03-31 02:48:58][Information] Uninstall netfilter2 [2024-03-31 02:48:58][Information] Stop Main Controller [2024-03-31 02:48:58][Error] Unhandled Exception When Start MainController System.UnauthorizedAccessException: Access to the path 'C:\Windows\system32\drivers\netfilter2.sys' is denied. at System.IO.FileSystem.DeleteFile(String fullPath) at System.IO.File.Delete(String path) at Netch.Controllers.NFController.UninstallDriver() at Netch.Controllers.NFController.CheckDriver() at Netch.Controllers.NFController.StartAsync(Socks5Server server, Mode mode) at Netch.Controllers.MainController.StartAsync(Server server, Mode mode)

Environment

windows11 Professional 23H2

Additional information

No response

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.