Vadim Ushakov
f64e57d2c2
AnnounceShare: allow setting separate limits for each protocol; change the defaults: zero => 5 trackers, any other protocol => 2 trackers
2019-07-04 23:59:59 +07:00
Vadim Ushakov
61864ed2ab
AnnounceShare: take account of the per-protocol limit in onTrackerError()
2019-07-04 01:00:19 +07:00
Vadim Ushakov
d3a51dd0c7
AnnounceShare: Shuffle both sent and received tracker lists for the more uniform filling of per-protocol buckets.
2019-07-04 00:24:50 +07:00
Vadim Ushakov
209bf62be8
AnnounceShare: Add cleanup of trackers that are potentially supported but unused (forbidden by the settings etc)
2019-07-04 00:11:46 +07:00
Vadim Ushakov
6afd430907
AnnounceShare: increase the default limits, so that the minimum number of zero:// trackers still were 5, as before the redesign
2019-07-03 18:27:53 +07:00
Vadim Ushakov
522abb1f2d
AnnounceShare: replace one more magic constant with a meaningful name
2019-07-03 18:19:02 +07:00
Vadim Ushakov
a61df634e4
AnnounceShare: rewrite getSupportedProtocols() using set(). Thanks to @imachug.
2019-07-03 18:14:38 +07:00
Vadim Ushakov
acc3f836bb
AnnounceShare: fix a typo in discoverTrackers()
2019-07-03 17:45:01 +07:00
Vadim Ushakov
e716164be4
AnnounceShare: fix a typo (= vs ==)
2019-07-03 16:16:16 +07:00
Vadim Ushakov
3d1328014b
AnnounceShare: Don't drop trackers from the list, if there haven't been any successful announces recently, to protect from the false positives during network connectivity issues.
2019-07-03 14:02:04 +07:00
Vadim Ushakov
9576650e26
AnnounceShare: replace the magic constants (60 * 60) with meaningful names
2019-07-03 13:51:39 +07:00
Vadim Ushakov
28eabcd8f3
AnnounceShare: Implement counting of working trackers on per-protocol basis.
...
AnnounceShare tries to autodetect supported tracker protocols and keep the actual list of working trackers for each protocol.
The udp:// and http(s):// versions of the BitTorrent protocol are considered as 2 distinct protocols.
http:// and https:// are considered as the same protocol.
Added option --working_shared_trackers_limit_per_protocol to adjust the minimum number of working trackers for each protocol (3, by default).
2019-07-03 13:37:03 +07:00
Vadim Ushakov
fe32f1f9e7
AnnounceShare: allow trackers of any supported protocols, not just zero://
2019-07-03 09:48:07 +07:00
Vadim Ushakov
dadbbd951a
AnnounceShare: pass the tracker type to getTrackers() in onTrackerFound()
2019-07-03 00:03:55 +07:00
shortcutme
b7894faa96
Fix AnnounceShare backward compatibility
2019-03-16 03:44:01 +01:00
shortcutme
f56c8ef755
Save shared trackers files as utf8
2019-03-16 02:11:38 +01:00
shortcutme
1a9529157f
Backward compatibility with tracker sharing response
2019-03-16 02:11:22 +01:00
shortcutme
b0b9a4d33c
Change to Python3 coding style
2019-03-15 21:06:59 +01:00
shortcutme
f706f7508e
Store detected external ips to separate variable
2019-01-26 20:42:27 +01:00
shortcutme
37979b4f9c
Support multiple external ips
2019-01-24 15:20:08 +01:00
shortcutme
da538f6424
AnnounceShare compatibility with refactored port checker
2019-01-20 19:12:11 +01:00
shortcutme
5f33516054
Cleanup unreliable trackers easier if reached the shared tracker limit
2018-09-17 15:20:02 +02:00
shortcutme
2affb9b863
Configurable wokring shared trackers limit
2018-09-02 02:17:42 +02:00
shortcutme
710a85429e
Remove unreliable shared trackers earlier if we have atleast 4 working one
2018-09-02 02:17:18 +02:00
shortcutme
f3b97dedc8
Fix time_found record for tracker stats
2018-08-29 19:51:26 +02:00
shortcutme
069c59d3d7
Only allow zero trackers to be shared
2018-08-27 11:49:24 +02:00
shortcutme
4f2352355f
Return True when adding new tracker
2018-08-27 11:49:05 +02:00
shortcutme
984f50b792
Working tracker list default type
2018-08-27 11:48:52 +02:00
shortcutme
426309a8f5
Stop discovering new trackers after 5 working one
2018-08-27 11:48:39 +02:00
shortcutme
b4b4694eb5
Only add one new tracker from one source
2018-08-27 11:48:25 +02:00
shortcutme
5505a8609d
Fix AnnounceShare source code reloading
2018-08-27 11:48:11 +02:00
shortcutme
9bdf3ad0c8
Only log new tacker discovery if it was not added before
2018-08-26 22:52:30 +02:00
shortcutme
0b38d73cc5
AnnounceZero return None on skipped announce due batching
2018-08-26 22:52:21 +02:00
shortcutme
7a3dbf626e
Only share trackers with success in last hour
2018-08-26 22:50:46 +02:00
shortcutme
767ec1795a
Reset shared tracker error number on startup
2018-08-26 22:45:44 +02:00
shortcutme
27f2c44532
AnnounceShare plugin
2018-08-26 02:45:37 +02:00