双拨问题
读取配置文件失败: While parsing config: yaml: line 7: mapping values are not allowed in this context 这一行我是默认没动过的,但是提示
可能上下文中混用了 tab 和空格,可以重新生成或者用 json
01:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 我的设备里两个网卡,我在网卡选项里应该怎么填写
01:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 02:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) 我的设备里两个网卡,我在网卡选项里应该怎么填写
请参照 #15 #12 #16 自行填写
我偶然发现了这里有示例,不知是否可以参考https://github.com/tkkcc/mentohust
差不多是这样配置的,但是我也试过手动,有两种情况。一种是一边登了另一边就自己退了,速度不变。另一种是我用两个路由器登陆,再用一个负载均衡,流量两边对半分,负载均衡是有效的,但是总速度大部分情况下还是不变,偶尔能叠加,应该是检测到了。 简单来说就是没啥用
这个博主实现了完美双拨深澜https://github.com/zu1k/sdusrun https://zu1k.com/posts/tutorials/campus-network-speed-overlay/
看上去不错诶,我可以修改登录程序以支持强制多 ip 认证,但是我手头没有能刷的路由器,可能需要你来尝试
zhangxxxl @.***> 于 2022年10月13日周四 00:44写道:
这个博主实现了完美双拨深澜https://github.com/zu1k/sdusrun/releases https://zu1k.com/posts/tutorials/campus-network-speed-overlay/
— Reply to this email directly, view it on GitHub https://github.com/Mmx233/BitSrunLoginGo/issues/18#issuecomment-1276461243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW6VWAQB27ZLWUW4UO7RWLWC3TFTANCNFSM6AAAAAARASIBUQ . You are receiving this because you commented.Message ID: @.***>
他是通过严格的流量控制实现的,普通的双拨,服务器识别到流量来自同一网关就会限速,他的博客文章里有提到
但是事实上我自己试的时候用了两个账号,但是还是不成功,应该还有深度包检测
zhangxxxl @.***> 于 2022年10月13日周四 21:43写道:
他是通过严格的流量控制实现的,普通的双拨,服务器识别到流量来自同一网关就会限速,他的博客文章里有提到
— Reply to this email directly, view it on GitHub https://github.com/Mmx233/BitSrunLoginGo/issues/18#issuecomment-1277638183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW6VWAQ7VNZGQNWKZ25Z6TWDAGY3ANCNFSM6AAAAAARASIBUQ . You are receiving this because you commented.Message ID: @.***>
我找到双拨会掉线的原因了,是你的脚本有问题,我用几个路由试,只要用你的脚本就会只能在线一个,别的都会掉线,而我一个用你的脚本,一个用手机认证,就不会掉线了
我找到双拨会掉线的原因了,是你的脚本有问题,我用几个路由试,只要用你的脚本就会只能在线一个,别的都会掉线,而我一个用你的脚本,一个用手机认证,就不会掉线了
我知道了,应该是取设备 ip 的逻辑有问题
我加了随机 UA,试试
autoLogin_darwin_amd64.zip autoLogin_linux_386.zip autoLogin_linux_amd64.zip autoLogin_linux_arm.zip autoLogin_linux_arm64.zip autoLogin_linux_mipsle.zip autoLogin_windows_386.zip autoLogin_windows_amd64.zip
我觉得和ua没关系,我试了一个路由器改ua,一个不改,还是会掉线
我觉得和ua没关系,我试了一个路由器改ua,一个不改,还是会掉线
之前的登录程序并不支持修改 UA,你是怎么改 UA 的
https://www.notion.so/sunbk201public/OpenWrt-f59ae1a76741486092c27bc24dbadc59 这是防检测部署的教程,
那直接支持取用网卡 DHCP 到的 ip 好了,再加个 flag 强行指定
现在是用的模拟浏览器获取IP的方式吗,要是这样的话就说的通了,应该是被识别成一个设备了,
现在是用的模拟浏览器获取IP的方式吗,要是这样的话就说的通了,应该是被识别成一个设备了,
是的,完全模拟
我猜深澜并不是靠识别ua来识别设备的,因为opwrt不配置防ua检测一样可以用
单网卡模式使用 flag --ip 指定 ip,多网卡模式配置文件 settings.basic.use_dhcp_ip 设为 ture 取用网卡 ip
autoLogin_darwin_amd64.zip autoLogin_linux_386.zip autoLogin_linux_amd64.zip autoLogin_linux_arm.zip autoLogin_linux_arm64.zip autoLogin_linux_mipsle.zip autoLogin_windows_386.zip autoLogin_windows_amd64.zip
在线状态检查还是保留了原来的逻辑,可能影响多网卡模式正常运行。如果真的存在这个问题的话,我再加一个选择不用深澜 api 检查在线状态的功能
我试试
root@OpenWrt:~# ./autoLogin FATA[0000] [init] 解析配置文件失败: 1 error(s) decoding:
- cannot parse 'settings.basic.use_dhcp_ip' as bool: strconv.ParseBool: parsing "ture": invalid syntax
true……
哈哈哈,我说呢,你打错了,我直接复制的,我还来回看了两次
哈哈哈,我说呢,你打错了,我直接复制的,我还来回看了两次
😂
单网卡模式使用 flag --ip 指定 ip,多网卡模式配置文件 settings.basic.use_dhcp_ip 设为 ture 取用网卡 ip
autoLogin_darwin_amd64.zip autoLogin_linux_386.zip autoLogin_linux_amd64.zip autoLogin_linux_arm.zip autoLogin_linux_arm64.zip autoLogin_linux_mipsle.zip autoLogin_windows_386.zip autoLogin_windows_amd64.zip
不行,还是会掉,而且这回一个用手机认证一个用脚本 ,都只能有一个在线了
那大概就不是脚本的问题了
zhangxxxl @.***> 于 2022年11月2日周三 12:22写道:
单网卡模式使用 flag --ip 指定 ip,多网卡模式配置文件 settings.basic.use_dhcp_ip 设为 ture 取用网卡 ip
autoLogin_darwin_amd64.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895273/autoLogin_darwin_amd64.zip autoLogin_linux_386.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895274/autoLogin_linux_386.zip autoLogin_linux_amd64.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895275/autoLogin_linux_amd64.zip autoLogin_linux_arm.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895276/autoLogin_linux_arm.zip autoLogin_linux_arm64.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895277/autoLogin_linux_arm64.zip autoLogin_linux_mipsle.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895278/autoLogin_linux_mipsle.zip autoLogin_windows_386.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895279/autoLogin_windows_386.zip autoLogin_windows_amd64.zip https://github.com/Mmx233/BitSrunLoginGo/files/9895280/autoLogin_windows_amd64.zip
不行,还是会掉,而且这回一个用手机认证一个用脚本 ,都只能有一个在线了
— Reply to this email directly, view it on GitHub https://github.com/Mmx233/BitSrunLoginGo/issues/18#issuecomment-1299546138, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIW6VWDU7NPFFLOWDH5FWDTWGHUB7ANCNFSM6AAAAAARASIBUQ . You are receiving this because you commented.Message ID: @.***>
solved in #23