V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
microka
V2EX  ›  宽带症候群

退出 qBittorrent 后网络会轻微中断,求诊断~

  •  
  •   microka · 2023-05-01 14:58:07 +08:00 · 1401 次点击
    这是一个创建于 579 天前的主题,其中的信息可能已经有所发展或是发生改变。

    用的是 B610-4E 光猫拨号,开启 IPv6 ,光猫配置如下:

    硬件版本:1B40.A 软件版本:V5R019C20S190

    wan 配置

    DHCPv6 配置

    Windows 11 + qBittorrent 4.5.2 ,种子数 5000+,活动状态(正在产生上传或下载流量)种子数 30~50 左右,具体症状为:退出 qBittorrent 后(退出前已停止所有正在活动的种子),网络会出现轻微中断,比如本机运行的 ToDesk 和向日葵大概率会变灰(即连不上服务器),但很快又能重新连上;比如局域网内另一台设备访问获取公网 IPv6 串流会出现断流,也是重新连接就能恢复正常,但过一会儿又有概率再次断流。

    查看光猫调试日志,发现 log 里面自从光猫上一次重启后,正是在退出 qBittorrent 后,才产生了新的日志记录。光猫日志如下(不含光猫重启初始化阶段):

    2023-05-01 05:14:23 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:14:23 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:14:23 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:14:23 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:14:23 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:14:27 [Debug][Debug-Log] static:[upnp] ActionName: DeletePortMapping, Source IP: 192.168.100.88
    2023-05-01 05:14:27 [Debug][Debug-Log] static:[upnp] ActionName: DeletePortMapping, Source IP: 192.168.100.88
    2023-05-01 05:19:31 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:19:31 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:19:31 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:19:31 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:19:31 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:21:01 [Alert][Debug-Log] dynamic:Load memu from the directory [/html/menu/MenuSmartChina.xml].
    2023-05-01 05:21:58 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[3a72bce4], mac[********(LAN1 下连交换机)], request serverip[192.168.100.1], clientip[192.168.100.77], yourip[192.168.100.77], dns1[192.168.100.1]
    2023-05-01 05:22:33 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[e5f0c16e], mac[****************(LAN3 下连交换机)], request serverip[192.168.100.1], clientip[192.168.100.101], yourip[192.168.100.101], dns1[192.168.100.1]
    2023-05-01 05:24:39 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:24:39 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:24:39 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:24:39 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:24:39 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:29:47 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:29:47 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:29:47 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:29:47 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:29:47 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:33:57 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[5b97d541], mac[********(LAN1 下连交换机接入设备)], request serverip[192.168.100.1], clientip[192.168.100.64], yourip[192.168.100.64], dns1[192.168.100.1]
    2023-05-01 05:34:56 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:34:56 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:34:56 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:34:56 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:34:56 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:37:14 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[dea87009], mac[********(LAN3 下连交换机接入设备)], request serverip[192.168.100.1], clientip[192.168.100.42], yourip[192.168.100.42], dns1[192.168.100.1]
    2023-05-01 05:40:04 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:40:04 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:40:04 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:40:04 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:40:04 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:41:10 [Debug][Debug-Log] static:[dhcpc]receive Ack, wan[wan4], xid[2e7bb11e], mac[******(B610 IPTV 口)], request serverip[183.235.147.255], clientip[100.108.156.233], yourip[100.108.156.233], gateway ip[120.196.31.74], dns1[183.235.146.14], dns2[183.235.146.15]
    2023-05-01 05:41:18 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[c84bed2a], mac[****************(LAN3 下连交换机接入设备)], request serverip[192.168.100.1], clientip[192.168.100.88], yourip[192.168.100.88], dns1[192.168.100.1]
    2023-05-01 05:41:22 [Debug][Debug-Log] static:[dhcp6c]receive dhcp reply! wanName[ppp259],xid[0xd364ec]
    2023-05-01 05:41:22 [Informational][Debug-Log] static:[dhcp6c]receive dhcp reply! wanName[ppp259],aftrName[null],dns[2409:8057:2000:2::8,2409:8057:2000:6::8],gateway[null]
    2023-05-01 05:42:07 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[1c257873], mac[****************(LAN1 下连交换机接入设备)], request serverip[192.168.100.1], clientip[192.168.100.201], yourip[192.168.100.201], dns1[192.168.100.1]
    2023-05-01 05:45:12 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:45:12 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:45:12 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:45:12 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:45:12 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:50:21 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:50:21 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:50:21 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:50:21 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:50:21 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:51:58 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[3a72bce4], mac[********(LAN1 下连交换机)], request serverip[192.168.100.1], clientip[192.168.100.77], yourip[192.168.100.77], dns1[192.168.100.1]
    2023-05-01 05:52:34 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[e5f0c16e], mac[****************(LAN3 下连交换机)], request serverip[192.168.100.1], clientip[192.168.100.101], yourip[192.168.100.101], dns1[192.168.100.1]
    2023-05-01 05:55:30 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:55:30 [Debug][Debug-Log] static:[upnp] ActionName: GetExternalIPAddress, Source IP: 192.168.100.88
    2023-05-01 05:55:30 [Debug][Debug-Log] static:[upnp] ActionName: GetSpecificPortMappingEntry, Source IP: 192.168.100.88
    2023-05-01 05:55:30 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:55:30 [Debug][Debug-Log] static:[upnp] ActionName: GetStatusInfo, Source IP: 192.168.100.88
    2023-05-01 05:57:06 [Debug][Debug-Log] static:[dhcpd]send Ack, xid[5b97d541], mac[********(LAN1 下连交换机接入设备)], request serverip[192.168.100.1], clientip[192.168.100.64], yourip[192.168.100.64], dns1[192.168.100.1]
    

    192.168.100.88 是我运行 qBittorrent 的设备 IP ,日志时间需要+8 转换为本地时间,即 13:14:13 至 13:57:06 翻查 qBittorrent 日志

    (N) 2023-05-01T13:14:29 - 发起了 qBittorrent 终止操作
    (I) 2023-05-01T13:14:29 - UPnP/NAT-PMP support: OFF
    (N) 2023-05-01T13:22:37 - qBittorrent 现在准备好退出了
    

    我是在 13:06-13:14 期间对活动种子执行停止操作,13:14 执行退出 qB 指令,13:22 完成 qB 退出。

    求高手帮忙诊断一下,我这问题是出在哪呢?是光猫没配置好还是 qB 的软件问题?种子数太多如果换另一个 BitTorrent 测试工作量太大,所以先来请教一下大佬们,谢谢。

    5 条回复    2023-05-12 22:36:11 +08:00
    MrGba2z
        1
    MrGba2z  
       2023-05-01 15:49:27 +08:00
    试试关闭 qbit 的 upnp
    (手动在路由器里转发 qbit 端口流量)
    jousca
        2
    jousca  
       2023-05-01 17:28:01 +08:00
    UPNP 删除操作引起的短暂掉线(重联)。你可以在光猫里设置 DMZ 主机为你的电脑,你把你电脑 IP 改为固定内网( IPV4 地址),关闭光猫 UPNP ,这样会比较稳定。
    microka
        3
    microka  
    OP
       2023-05-01 17:43:58 +08:00
    @MrGba2z @jousca 谢谢,我现在关掉 qBit 的 UPNP ,在路由器里手动做 IPv4 端口映射,我观察试试。
    flynaj
        4
    flynaj  
       2023-05-12 21:36:53 +08:00 via Android
    你这个光猫其实用的很老版本的 openwrt,bug 多,性能还差
    microka
        5
    microka  
    OP
       2023-05-12 22:36:11 +08:00
    @flynaj 这个光猫和 openwrt 有关系?后来我升级了光猫固件后就正常了,开启 UPnP 都正常。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1695 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:45 · PVG 00:45 · LAX 08:45 · JFK 11:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.