mellow-io / mellow

Mellow is a rule-based global transparent proxy client for Windows, macOS and Linux. Also a Proxifier alternative.
3.55k stars 469 forks source link

0.1.18配合神机规则无法上网,0.1.17则没有问题。 #214

Closed bigbighill closed 4 years ago

bigbighill commented 4 years ago

使用操作系统类型以及版本

win7 64

使用 Mellow 版本

0.1.18

问题描述

配合神机规则,无法上网,同样的配置 0.1.17则没有问题。

问题复现步骤

相关配置

相关日志、截图

‘ [2020-04-07 15:31:30.657] [info] Mellow (0.1.18) started. [2020-04-07 15:31:34.441] [info] Original gateway is 192.168.5.1 [2020-04-07 15:31:34.443] [info] Original send through 192.168.5.111 无线网络连接 [2020-04-07 15:31:34.462] [info] Ensuring tap device sets up correctly. [2020-04-07 15:31:35.801] [info] TAP network device already exists. (Re-)enabling TAP network device...

Set all adapters metric to auto. Set TAP adapter metric to 0. TAP network device added successfully.

[2020-04-07 15:31:35.802] [info] Set system proxy with command: "C:\Users\rxp\AppData\Local\Programs\Mellow\resources\src\helper\configure_proxy.bat" "off" 2887 [2020-04-07 15:31:35.859] [info] Core started. [2020-04-07 15:31:36.418] [info] The default gateway before configuring routes: [2020-04-07 15:31:36.418] [info] { gateway: '192.168.5.1', interface: '无线网络连接' } [2020-04-07 15:31:36.421] [info] The TUN interface before configuring routes: [2020-04-07 15:31:36.421] [info] { address: '10.255.0.2', interface: 'mellow-tap0' } [2020-04-07 15:31:36.422] [info] 2020/04/07 15:31:35 TAP device component ID: {1B57DBDB-CF7A-45F2-B51F-6BF1731A7554} 2020/04/07 15:31:35 TAP device name: mellow-tap0 2020/04/07 15:31:36 Set mellow-tap0 with net/mask: 10.255.0.2/255.255.255.0 through DHCP 2020/04/07 15:31:36 Set mellow-tap0 with DNS: 223.5.5.5,1.1.1.1 through DHCP 2020/04/07 15:31:36 Relay ICMP packets. 2020/04/07 15:31:36 Start session stater. 2020/04/07 15:31:36 Running tun2socks 2020/04/07 15:31:36 [] [udp] [unknown process] udp:10.255.0.255:137

[2020-04-07 15:31:36.423] [info] 2020/04/07 15:31:36 [Warning] v2ray.com/core: V2Ray started

[2020-04-07 15:31:37.066] [info] 2020/04/07 15:31:37 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:37.067] [info] 2020/04/07 15:31:37 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:37.069] [info] 2020/04/07 15:31:37 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:37.554] [info] 2020/04/07 15:31:37 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:37.588] [info] 2020/04/07 15:31:37 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-07 15:31:38.582] [info] 2020/04/07 15:31:38 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:38.764] [info] Set 10.255.0.1 as the default gateway. [2020-04-07 15:31:39.135] [info] 2020/04/07 15:31:39 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:39.136] [info] 2020/04/07 15:31:39 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:40.109] [info] 2020/04/07 15:31:40 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:40.610] [info] 2020/04/07 15:31:40 [] [udp] [vivaldi.exe] udp:224.0.0.251:5353

[2020-04-07 15:31:40.637] [info] 2020/04/07 15:31:40 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-07 15:31:41.626] [info] 2020/04/07 15:31:41 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:41.628] [info] 2020/04/07 15:31:41 [] [udp] [unknown process] udp:224.0.0.252:5355 2020/04/07 15:31:41 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:42.128] [info] 2020/04/07 15:31:42 [] [udp] [unknown process] udp:10.255.0.255:138

[2020-04-07 15:31:42.932] [info] 2020/04/07 15:31:42 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:45.484] [info] 2020/04/07 15:31:45 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:48.036] [info] 2020/04/07 15:31:48 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:50.587] [info] 2020/04/07 15:31:50 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:53.365] [info] 2020/04/07 15:31:53 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:55.916] [info] 2020/04/07 15:31:55 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:31:58.467] [info] 2020/04/07 15:31:58 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:01.018] [info] 2020/04/07 15:32:01 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:03.569] [info] 2020/04/07 15:32:03 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:06.121] [info] 2020/04/07 15:32:06 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:08.685] [info] 2020/04/07 15:32:08 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:11.235] [info] 2020/04/07 15:32:11 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:13.789] [info] 2020/04/07 15:32:13 [] [udp] [unknown process] udp:224.0.0.252:5355

[2020-04-07 15:32:16.339] [info] 2020/04/07 15:32:16 [] [udp] [unknown process] udp:224.0.0.252:5355’

a86913179 commented 4 years ago

安装PowerShell 5.1即可,https://www.microsoft.com/en-us/download/details.aspx?id=54616

bigbighill commented 4 years ago

安装PowerShell 5.1即可,https://www.microsoft.com/en-us/download/details.aspx?id=54616

安装了,还是无法上网。

a86913179 commented 4 years ago

PowerShell运行Get-Host | Select-Object Version看看版本多少

a86913179 commented 4 years ago

image 确定下载的是这个,其他不是,解压管理员权限运行Install-WMF5.1.ps1,再用管理员权限运行Mellow

bigbighill commented 4 years ago

image 确定下载的是这个,其他不是,解压管理员权限运行Install-WMF5.1.ps1,再用管理员权限运行Mellow

就是下载的这个更新的 Get-Host | Select-Object Version 显示 5.1

a86913179 commented 4 years ago

image 确定下载的是这个,其他不是,解压管理员权限运行Install-WMF5.1.ps1,再用管理员权限运行Mellow

就是下载的这个更新的 Get-Host | Select-Object Version 显示 5.1

试试命令Get-NetRouteGet-NetIPInterface,如果能正常运行那应该是没问题的,重启下试试

a86913179 commented 4 years ago

image image

看下环境变量是否设置

bigbighill commented 4 years ago

image 看下环境变量是否设置

谢谢,明天上班测试下。

bigbighill commented 4 years ago

Get-NetIPInterface 环境变量没有问题。 image

bigbighill commented 4 years ago

image

a86913179 commented 4 years ago

Get-NetIPInterface 环境变量没有问题。 image

看样子是有些组件没有装上,安装要先用管理员权限打开PowerShell,然后cd进入Install-WMF5.1.ps1所在目录,然后.\Install-WMF5.1.ps1运行,而且.NET Framework起码要4.5.2版本,安装完会要求重启。重启后打开PowerShell运行Set-WSManQuickConfig

https://docs.microsoft.com/en-us/powershell/scripting/wmf/setup/install-configure?view=powershell-5.1

bigbighill commented 4 years ago

image

a86913179 commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

bigbighill commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的

image

a86913179 commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的

image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

bigbighill commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁

2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。

3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的)

环境变量: path:C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NetSarang\Xshell 6\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT\;C:\Program Files\Intel\UCRT\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0\

PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

a86913179 commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁

2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。

3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的)

环境变量: path:C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\NetSarang\Xshell 6;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT;C:\Program Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0\

PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

Get-Service winrm返回什么

bigbighill commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁 2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。 3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的) 环境变量: path:C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\NetSarang\Xshell 6;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT;C:\Program Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0\ PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

Get-Service winrm返回什么

我安装了PowerShell 7 。 image

可能win7 根本不支持Mellow用到的一些调整网络的模块。 image

https://stackoverflow.com/questions/19529442/gather-ip-address-information

a86913179 commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁 2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。 3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的) 环境变量: path:C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\NetSarang\Xshell 6;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT;C:\Program Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0 PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

Get-Service winrm返回什么

我安装了PowerShell 7 。 image

可能win7 根本不支持Mellow用到的一些调整网络的模块。 image

https://stackoverflow.com/questions/19529442/gather-ip-address-information

他那个是3.0,5.1是支持的。

bigbighill commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁 2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。 3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的) 环境变量: path:C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\NetSarang\Xshell 6;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT;C:\Program Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0 PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

Get-Service winrm返回什么

我安装了PowerShell 7 。 image 可能win7 根本不支持Mellow用到的一些调整网络的模块。 image https://stackoverflow.com/questions/19529442/gather-ip-address-information

他那个是3.0,5.1是支持的。

Cmdlets like Get-NetIPAddress aren't actually part of PowerShell - they're part of the underlying OS, in this case, Windows 8.1 and Windows Server 2012 R2. They rely on functionality in specific OS versions, so they're bundled with the OS, and not the management framework. 和powershell版本无关,只和os内核有关,可能不支持win7吧

bigbighill commented 4 years ago

image

a86913179 commented 4 years ago

不能用DISM装,必须得用那个脚本装,根据这篇文章应该可以安装成功https://www.cnblogs.com/xueweisuoyong/p/11915554.html

用这种方法安装报错 ,才用DISM安装的 image

把msu后缀改成rar或者cab然后用压缩软件打开并解压到另一个文件夹 再用DISM.exe /Online /Add-Package /PackagePath:XXX.cab安装解压出来的cab

今天安装powershell 5.1 真是老费劲了。 1、参照下面链接, https://superuser.com/questions/1328769/upgrading-from-powershell-2-0-to-powershell-5-1 第2个回答:https://github.com/zeffy/wufuc 安装windows uddate的cpu补丁 2、参照 你给的链接 https://www.cnblogs.com/xueweisuoyong/p/11915554.html 安装成功,重启 结果 Get-Host | Select-Object Version 显示 5.1 Get-NetRoute 和Get-NetIPInterface 还是报错。 3、最后再次使用dism安装,结果第 2步的结果是一样。(一开始就就是用这个方法安装的) 环境变量: path:C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Program Files (x86)\NetSarang\Xshell 6;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Common Files\THSOFT Shared;C:\Program Files (x86)\Intel\UCRT;C:\Program Files\Intel\UCRT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Vector CANdb++ 3.1\Exec32;%systemroot%\System32\WindowsPowerShell\v1.0 PSModulePath:%ProgramFiles%\WindowsPowerShell\Modules;%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules

Get-Service winrm返回什么

我安装了PowerShell 7 。 image 可能win7 根本不支持Mellow用到的一些调整网络的模块。 image https://stackoverflow.com/questions/19529442/gather-ip-address-information

他那个是3.0,5.1是支持的。

Cmdlets like Get-NetIPAddress aren't actually part of PowerShell - they're part of the underlying OS, in this case, Windows 8.1 and Windows Server 2012 R2. They rely on functionality in specific OS versions, so they're bundled with the OS, and not the management framework. 和powershell版本无关,只和os内核有关,可能不支持win7吧

https://github.com/davehull/Kansa/issues/136 ,我查了下,确实如此,底层不支持。那看来要提交个PR改为netsh了。

a86913179 commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了

bigbighill commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

a86913179 commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

bigbighill commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

a86913179 commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

bigbighill commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

勾上了。

a86913179 commented 4 years ago

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

勾上了。

0.1.17的脚本不会创建2个网卡是吧?那我就要revert back到旧方法了

bigbighill commented 4 years ago

有时启动还出现

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

勾上了。

0.1.17的脚本不会创建2个网卡是吧?那我就要revert back到旧方法了

是的

bigbighill commented 4 years ago

有时还出现 image

a86913179 commented 4 years ago

有时启动还出现

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

勾上了。

0.1.17的脚本不会创建2个网卡是吧?那我就要revert back到旧方法了

是的

新方法是从注册表找TAP的InstallTimeStamp(安装时间戳)来确定是最新安装的,但是这个值是个REG_BINARY,里面有字母+数字,拿来跟0作比较,我之前就感觉会出问题,但在我的WIN10上测试正常。outline那边好像没人遇到。还是先用回旧方法用wmic比较安装TAP前后新增的网卡名。

a86913179 commented 4 years ago

有时启动还出现

在下个版本发布之前,下载 https://github.com/mellow-io/mellow/pull/216/files 里的4个文件覆盖到..\Mellow\resources\src\helper目录下,应该就可以正常使用0.1.18了 image

替换后会生成2个网卡

你是把原来所有TAP网卡都卸载了,然后运行Mellow生成2个网卡?如果是本来的网卡没卸载,然后运行Mellow,产生一个新网卡,那第二个#2网卡是正常生成的,说明脚本没问题。

我是把原来的TAP网卡卸载了,再运行Mellow时生成了2个网卡。

卸载时勾选同时删除驱动了吗?如果没有,记得勾上

勾上了。

0.1.17的脚本不会创建2个网卡是吧?那我就要revert back到旧方法了

是的

新方法是从注册表找TAP的InstallTimeStamp(安装时间戳)来确定是最新安装的,但是这个值是个REG_BINARY,里面有字母+数字,拿来跟0作比较,我之前就感觉会出问题,但在我的WIN10上测试正常。outline那边好像没人遇到。还是先用回旧方法用wmic比较安装TAP前后新增的网卡名。

WIN10的CMD里IF解释如果 string1 和 string2 都是由数字组成的,字符串会被转换成数字,进行数字比较。你看看WIN7的CMD里运行if /?是怎么说明的。

a86913179 commented 4 years ago

有时还出现 image

最好把log也贴一下

a86913179 commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

bigbighill commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

ok 了

a86913179 commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

ok 了

能帮我测试下驱动吗?看下能否安装成功,这个可以在控制面板卸载,无残留,退出mellow,卸载所有TAP网卡,然后安装这个,安装完卸载即可,然后回复我,谢谢。 https://build.openvpn.net/downloads/releases/tap-windows-9.24.2-I601-Win7.exe

bigbighill commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

ok 了

能帮我测试下驱动吗?看下能否安装成功,这个可以在控制面板卸载,无残留,退出mellow,卸载所有TAP网卡,然后安装这个,安装完卸载即可,然后回复我,谢谢。 https://build.openvpn.net/downloads/releases/tap-windows-9.24.2-I601-Win7.exe

以前好像用wireguard时安装过,刚刚安装了,没有问题。

a86913179 commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

ok 了

能帮我测试下驱动吗?看下能否安装成功,这个可以在控制面板卸载,无残留,退出mellow,卸载所有TAP网卡,然后安装这个,安装完卸载即可,然后回复我,谢谢。 https://build.openvpn.net/downloads/releases/tap-windows-9.24.2-I601-Win7.exe

以前好像用wireguard时安装过,刚刚安装了,没有问题。

好的,再次感谢,这个是tap-windows,9.24.2版本把网卡注册成虚拟网卡,而且适配器显示1Gbps了,性能比9.21.2(设备管理器显示9.0.0.21)有提升,wireguard以前不清楚,不过现在用的是他们自己开发的wintun,性能更好。

bigbighill commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

用一段时间,dns解析就出问题了,得重新启动连接才行。

`[2020-04-09 14:39:34.261] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.264] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.270] [info] 2020/04/09 14:39:34 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:39:34.285] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.972] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:45.579] [info] 2020/04/09 14:39:45 failed to fetch UDP: context canceled

[2020-04-09 14:39:45.588] [info] 2020/04/09 14:39:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:39:49.368] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.519] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.521] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.523] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.260] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.264] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.284] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.970] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:52.237] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.532] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.554] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.577] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:140.82.114.25:443

[2020-04-09 14:39:55.767] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:443

[2020-04-09 14:39:55.768] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:80

[2020-04-09 14:40:07.051] [info] 2020/04/09 14:40:07 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:07.076] [info] 2020/04/09 14:40:07 [] [tcp] [OneDrive.exe] tcp:13.107.42.12:443

[2020-04-09 14:40:08.757] [info] 2020/04/09 14:40:08 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:08.783] [info] 2020/04/09 14:40:08 [] [tcp] [OneDrive.exe] tcp:52.239.151.138:443

[2020-04-09 14:40:23.051] [info] 2020/04/09 14:40:23 failed to fetch UDP: context canceled

[2020-04-09 14:40:24.756] [info] 2020/04/09 14:40:24 failed to fetch UDP: context canceled

[2020-04-09 14:40:53.648] [info] 2020/04/09 14:40:53 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:54.370] [info] 2020/04/09 14:40:54 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:41:09.647] [info] 2020/04/09 14:41:09 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.586] [info] 2020/04/09 14:41:45 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.599] [info] 2020/04/09 14:41:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:42:44.435] [info] 2020/04/09 14:42:44 [] [udp] [unknown process] udp:10.255.0.255:137

[2020-04-09 14:43:45.604] [info] 2020/04/09 14:43:45 failed to fetch UDP: context canceled`

a86913179 commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

用一段时间,dns解析就出问题了,得重新启动连接才行。

`[2020-04-09 14:39:34.261] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.264] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.270] [info] 2020/04/09 14:39:34 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:39:34.285] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.972] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:45.579] [info] 2020/04/09 14:39:45 failed to fetch UDP: context canceled

[2020-04-09 14:39:45.588] [info] 2020/04/09 14:39:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:39:49.368] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.519] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.521] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.523] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.260] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.264] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.284] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.970] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:52.237] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.532] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.554] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.577] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:140.82.114.25:443

[2020-04-09 14:39:55.767] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:443

[2020-04-09 14:39:55.768] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:80

[2020-04-09 14:40:07.051] [info] 2020/04/09 14:40:07 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:07.076] [info] 2020/04/09 14:40:07 [] [tcp] [OneDrive.exe] tcp:13.107.42.12:443

[2020-04-09 14:40:08.757] [info] 2020/04/09 14:40:08 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:08.783] [info] 2020/04/09 14:40:08 [] [tcp] [OneDrive.exe] tcp:52.239.151.138:443

[2020-04-09 14:40:23.051] [info] 2020/04/09 14:40:23 failed to fetch UDP: context canceled

[2020-04-09 14:40:24.756] [info] 2020/04/09 14:40:24 failed to fetch UDP: context canceled

[2020-04-09 14:40:53.648] [info] 2020/04/09 14:40:53 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:54.370] [info] 2020/04/09 14:40:54 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:41:09.647] [info] 2020/04/09 14:41:09 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.586] [info] 2020/04/09 14:41:45 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.599] [info] 2020/04/09 14:41:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:42:44.435] [info] 2020/04/09 14:42:44 [] [udp] [unknown process] udp:10.255.0.255:137

[2020-04-09 14:43:45.604] [info] 2020/04/09 14:43:45 failed to fetch UDP: context canceled`

看日志跟这3个脚本无关,像是服务器节点的UDP问题,贴下config看看,如果0.1.17也是这样,那就另外开一个issue。

a86913179 commented 4 years ago

下载 https://github.com/mellow-io/mellow/pull/217/files 三个文件覆盖原来的,并删除find_tap_device_tap.bat。

用一段时间,dns解析就出问题了,得重新启动连接才行。

`[2020-04-09 14:39:34.261] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.264] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.270] [info] 2020/04/09 14:39:34 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:39:34.285] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:34.972] [info] 2020/04/09 14:39:34 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:39:45.579] [info] 2020/04/09 14:39:45 failed to fetch UDP: context canceled

[2020-04-09 14:39:45.588] [info] 2020/04/09 14:39:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:39:49.368] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.519] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.521] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:49.523] [info] 2020/04/09 14:39:49 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.260] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.264] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.284] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:50.970] [info] 2020/04/09 14:39:50 failed to fetch UDP: context canceled

[2020-04-09 14:39:52.237] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.532] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.554] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:13.229.188.59:443

[2020-04-09 14:39:52.577] [info] 2020/04/09 14:39:52 [] [tcp] [vivaldi.exe] tcp:140.82.114.25:443

[2020-04-09 14:39:55.767] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:443

[2020-04-09 14:39:55.768] [info] 2020/04/09 14:39:55 [] [tcp] [Telegram.exe] tcp:91.108.56.200:80

[2020-04-09 14:40:07.051] [info] 2020/04/09 14:40:07 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:07.076] [info] 2020/04/09 14:40:07 [] [tcp] [OneDrive.exe] tcp:13.107.42.12:443

[2020-04-09 14:40:08.757] [info] 2020/04/09 14:40:08 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:08.783] [info] 2020/04/09 14:40:08 [] [tcp] [OneDrive.exe] tcp:52.239.151.138:443

[2020-04-09 14:40:23.051] [info] 2020/04/09 14:40:23 failed to fetch UDP: context canceled

[2020-04-09 14:40:24.756] [info] 2020/04/09 14:40:24 failed to fetch UDP: context canceled

[2020-04-09 14:40:53.648] [info] 2020/04/09 14:40:53 [] [udp] [unknown process] udp:223.5.5.5:53

[2020-04-09 14:40:54.370] [info] 2020/04/09 14:40:54 [] [tcp] [vivaldi.exe] tcp:151.101.0.133:443

[2020-04-09 14:41:09.647] [info] 2020/04/09 14:41:09 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.586] [info] 2020/04/09 14:41:45 failed to fetch UDP: context canceled

[2020-04-09 14:41:45.599] [info] 2020/04/09 14:41:45 [] [udp] [vivaldi.exe] udp:239.255.255.250:1900

[2020-04-09 14:42:44.435] [info] 2020/04/09 14:42:44 [] [udp] [unknown process] udp:10.255.0.255:137

[2020-04-09 14:43:45.604] [info] 2020/04/09 14:43:45 failed to fetch UDP: context canceled`

顺便贴下route printnetsh interface ip show routenetsh interface ipv6 show route的截图。

bigbighill commented 4 years ago

顺便贴下route print

image image

bigbighill commented 4 years ago

0.1.19 也有问题

a86913179 commented 4 years ago

顺便贴下route print

image image

看路由表脚本是正常运行的,跟脚本无关,为什么你本地连接和无线全都连着

a86913179 commented 4 years ago

0.1.19 也有问题

我说0.1.17

a86913179 commented 4 years ago

顺便贴下route print

image image

最好重置下网络,运行下面的命令然后重启电脑

netsh winsock reset
netsh interface ipv4 reset
netsh interface ipv6 reset