drcoms / drcom-generic

Dr.COM/DrCOM 现已覆盖 d p x三版。
GNU Affero General Public License v3.0
1.15k stars 268 forks source link

6.0.0(D) 成功登录后几分钟内会自动掉线 #339

Closed cyanray closed 5 years ago

cyanray commented 5 years ago

一直用的是latest-wired.py没有什么问题,一个暑假之后就出现成功登录但是过一会就掉线然后又重新登陆的情况。 使用官方客户端能正常使用。 猜测这与学校的网络改造有关。

完整日志文件: drcom_client.zip 使用的程序: latest-wired.zip

部分日志:

[......] //前面看起来正常的样子
[keep-alive2] keep-alive2 loop was in daemon.
[keep_alive1] send ffad0662796507f7560972b76b8f195cb20000004472636fac130102eba90a65542e012ebb7a00000000
[keep-alive1] recv 070110000600bb7ae1a966020a65542ea8a80000e659f16700000000dc020000170000001600000026000000b7190000c2091204ffffffffffffffffffffffff
[keep_alive2] send 3 070328000b01dc022f120000000000002aa966020000000000000000000000000000000000000000
[keep_alive2] recv 070328000b02dc022f12000000000000e2a966020000000000000000000000000000000000000000
[keep_alive2] send 4 070428000b03dc022f12000000000000e2a9660200000000000000000a65542e0000000000000000
[keep_alive2] recv 070428000b04dc022f12000000000000e2a966020000000000000000000000000000000000000000
[keep_alive1] send ffad0662796507f7560972b76b8f195cb20000004472636fac130102eba90a65542e012ebb8e00000000
[challenge] recv 020232bc3669040000000100f303e8f0000000000a65542ef000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000
[DEBUG] challenge:
020232bc3669040000000100f303e8f0000000000a65542ef000a8a80000e659f16700000000dc02000000000000000000000000000000000000000000000000000000000000000000000000
[challenge] challenge packet sent.
[mkpkt] 030100200c7ed6ba57f97ce7a8b508f770bd67503633313830353031303430390000000000000000000000000000000000000000000000002009987fd6ba51f9cad23d8c39cae4db81ac049567fe2135010a65542e000000000000000000000000b17615e412d080fc0100000000667579756d6900000000000000000000000000000000000000000000000000003d808044ac120165000000000000000000000000940000000500000001000000280a00000200000057696e646f7773203130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f000006e93a3f143306020cf068c29900009401000006000000e913
[login] send 030100200c7ed6ba57f97ce7a8b508f770bd67503633313830353031303430390000000000000000000000000000000000000000000000002009987fd6ba51f9cad23d8c39cae4db81ac049567fe2135010a65542e000000000000000000000000b17615e412d080fc0100000000667579756d6900000000000000000000000000000000000000000000000000003d808044ac120165000000000000000000000000940000000500000001000000280a00000200000057696e646f7773203130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f000006e93a3f143306020cf068c29900009401000006000000e913
[login] packet sent.
[login] recv 0400000500b81900003f0a1204ffffffffff00000000004472636fac130102f8a90a65542e013bb00500030100
[login] loged in
[login] login sent
package_tail 4472636fac130102f8a90a65542e013b
starting to empty socket buffer
[......]

以前的日志也保留着,对比了下没有发生什么奇怪的内容。 如果有必要我可以提供以前正常使用时的日志。

cyanray commented 5 years ago

还有一个细节,我使用配置生成工具重新生成了一份配置之后,就好用了。 但是重启电脑,就又不行了。 暑假之前的配置和新生成的配置只有两个地方不同: 一个是ADAPTERNUM = '\x06' 变成了 ADAPTERNUM = '\x09' 另一个是host_ip换了一个

我又抓包、又生成了一次配置,但是这次生成的配置内容再没有变化。

上面这个情况可能是偶然?

cyanray commented 5 years ago

注释掉keep_alive1函数也不行