pt种子,uploaded和downloaded流量汇报异常

复现,手动右键更新tracker,,汇报的流量是当次任务开始后的流量,而不是总下载上传流量
不知道这算不算一个问题?感觉应该不算,,毕竟任务已经停止并且重新启动了

等会我去试试utorrent那边是怎么样的

http://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-BC0157-T��P��f�&port=22223&natmapped=1&localip=176.113.71.22&port_type=wan&uploaded=18563072&downloaded=535292043&left=63963136000&numwant=200&compact=1&no_peer_id=1&key=29904
2019-05-31 01:57:57 Announce STOP: http://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-BC0157-T��P��f�&port=22223&natmapped=1&localip=176.113.71.22&port_type=wan&uploaded=45580288&downloaded=1233381515&left=63292047360&numwant=200&compact=1&no_peer_id=1&key=29904&event=stopped

2019-05-31 01:58:44 Announce START: http://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-BC0157-T��P��f�&port=22223&natmapped=1&localip=176.113.71.22&port_type=wan&uploaded=45580288&downloaded=1233381515&left=63292047360&numwant=200&compact=1&no_peer_id=1&key=29904&event=started
2019-05-31 01:59:38 Announce http://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-BC0157-T��P��f�&port=22223&natmapped=1&localip=176.113.71.22&port_type=wan&uploaded=26558464&downloaded=119078912&left=63174606848&numwant=200&compact=1&no_peer_id=1&key=29904
2019-05-31 02:00:56 Announce http://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-BC0157-T��P��f�&port=22223&natmapped=1&localip=176.113.71.22&port_type=wan&uploaded=67485696&downloaded=437272576&left=62839062528&numwant=200&compact=1&no_peer_id=1&key=29904

2

1個讚

[30/May/2019:18:29:07 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-UT355S-��s��۸�7h��&port=22222&uploaded=0&downloaded=16777216&left=64459401355&corrupt=0&key=DCF8D97F&numwant=200&compact=1&no_peer_id=1 HTTP/1.1” 200 524 “-” “uTorrent/355(111914906)(44954)”[Kt49] 16b0a00b5fb-7fe23c0ac600
[30/May/2019:18:30:55 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-UT355S-��s��۸�7h��&port=22222&uploaded=0&downloaded=67108864&left=64412690571&corrupt=0&key=DCF8D97F&event=stopped&numwant=0&compact=1&no_peer_id=1 HTTP/1.1” 200 511 “-” “uTorrent/355(111914906)(44954)”[Kt51] 16b0a025bd9-7fe23c0abc00
[30/May/2019:18:31:36 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-UT355S-��s��۸�7h��&port=22222&uploaded=0&downloaded=0&left=64412690571&corrupt=0&key=DCF8D97F&event=started&numwant=200&compact=1&no_peer_id=1 HTTP/1.1” 200 511 “-” “uTorrent/355(111914906)(44954)”[Kt218] 16b0a02fc30-7fe23c3ef280
[30/May/2019:18:32:53 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-UT355S-��s��۸�7h��&port=22222&uploaded=0&downloaded=8388608&left=64396077195&corrupt=0&key=DCF8D97F&numwant=200&compact=1&no_peer_id=1 HTTP/1.1” 200 513 “-” “uTorrent/355(111914906)(44954)”[Kt40] 16b0a0428e6-7fe23c3ef780
[30/May/2019:18:35:19 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&info_hash=[�I4q�)P��n��_�&peer_id=-UT355S-��s��۸�7h��&port=22222&uploaded=0&downloaded=58720256&left=64320563339&corrupt=0&key=DCF8D97F&numwant=200&compact=1&no_peer_id=1 HTTP/1.1” 200 513 “-” “uTorrent/355(111914906)(44954)”[Kt53] 16b0a066315-7fe23c0ac600

对比到的区别,ut在发起started开始时候,字段都为&uploaded=0&downloaded=0,后面的更新也是单次任务的,不是总计,所以就没了奇怪的统计速度之类的问题,看来比特彗星要修下,

qbitorrent的区别,也都是从0发起的,貌似还会发起ipv4 ipv6字段,,要不要比特彗星也加一下?不过我网卡有多个ip,发起的是网卡第一个ip(这个ip是内网),比特彗星的localip是可用外网ip,更加可靠点嗯–!那ip这个就不管他了,反正没什么用,网站获取到连接访问tracker的ip就行了
[30/May/2019:18:51:57 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxx&info_hash=�)U%e0%eb%3e%ddW%04%ea%8f%c0%85%1f%aa%91.bx%ae&peer_id=-qB4150-GFcQ~O!bvT8&port=22221&uploaded=753664&downloaded=10624141979&left=34756814285&corrupt=0&key=875CFDB3&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=2492700&ipv4=176.113.68.67&ipv6=2001%3a470%3ac%3a518%3a%3a2 HTTP/1.1" 200 1840 “-” “qBittorrent/4.1.5”[Kt54] 16b0a159efa-7fe23a2a4b80
[30/May/2019:18:52:37 +0000] "GET https://域名/announce.php?passkey=xxxxxxxxxxxxxx&info_hash=�)U%e0%eb%3e%ddW%04%ea%8f%c0%85%1f%aa%91.bx%ae&peer_id=-qB4150-GFcQ~O!bv
T8&port=22221&uploaded=1081344&downloaded=13926187008&left=31476868557&corrupt=0&key=875CFDB3&event=stopped&numwant=0&compact=1&no_peer_id=1&supportcrypto=1&redundant=3980738&ipv4=176.113.68.67&ipv6=2001%3a470%3ac%3a518%3a%3a2 HTTP/1.1” 200 1840 “-” “qBittorrent/4.1.5”[Kt59] 16b0a163a02-7fe23a2a5800
[30/May/2019:18:53:01 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxx&info_hash=�)U%e0%eb%3e%ddW%04%ea%8f%c0%85%1f%aa%91.bx%ae&peer_id=-qB4150-GFcQ~O!bvT8&port=22221&uploaded=0&downloaded=0&left=31476868557&corrupt=0&key=875CFDB3&event=started&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=0&ipv4=176.113.68.67&ipv6=2001%3a470%3ac%3a518%3a%3a2 HTTP/1.1" 200 1840 “-” “qBittorrent/4.1.5”[Kt192] 16b0a1699ab-7fe239c79bc0
[30/May/2019:18:54:41 +0000] "GET https://域名/announce.php?passkey=xxxxxxxxxxxxxx&info_hash=�)U%e0%eb%3e%ddW%04%ea%8f%c0%85%1f%aa%91.bx%ae&peer_id=-qB4150-GFcQ~O!bv
T8&port=22221&uploaded=2310144&downloaded=4994459544&left=26527589837&corrupt=0&key=875CFDB3&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=2340770&ipv4=176.113.68.67&ipv6=2001%3a470%3ac%3a518%3a%3a2 HTTP/1.1” 200 1840 “-” “qBittorrent/4.1.5”[Kt55] 16b0a181e80-7fe239c79d00
[30/May/2019:18:55:43 +0000] “GET https://域名/announce.php?passkey=xxxxxxxxxxxxxx&info_hash=�)U%e0%eb%3e%ddW%04%ea%8f%c0%85%1f%aa%91.bx%ae&peer_id=-qB4150-GFcQ~O!bv*T8&port=22221&uploaded=3013496&downloaded=9988923979&left=21477647821&corrupt=0&key=875CFDB3&numwant=200&compact=1&no_peer_id=1&supportcrypto=1&redundant=6312319&ipv4=176.113.68.67&ipv6=2001%3a470%3ac%3a518%3a%3a2 HTTP/1.1” 200 1840 “-” “qBittorrent/4.1.5”[Kt38] 16b0a1911e9-7fe23a2a65c0

谢谢反馈。确实有bug,任务启动时首次向tracker汇报的上传、下载量是最近一次运行期间的上传、下载量,后续汇报的才是本次运行期间的上传、下载量。新版已修复。