Commit Graph

44 Commits

Author SHA1 Message Date
shortcutme e0bf4dc9ec
Skip announcing to trackers with unsupported address 2020-03-02 17:08:43 +01:00
shortcutme 9299e5b614
Kill greenlets with notify 2019-11-20 14:07:33 +01:00
shortcutme dd61429e2f
Handle announcer thread killing properly 2019-11-19 02:09:55 +01:00
shortcutme 1c607645c7
Track and stop site connected greenlets on delete 2019-11-19 02:07:51 +01:00
shortcutme 8a7ae368d8
No opened services if we are in tor always mode 2019-08-23 03:40:20 +02:00
shortcutme 88f2b39576
Don't try to connect to onion addresses if not supported by the client 2019-08-08 14:37:19 +02:00
shortcutme bf10cdef63
Add some delay on pex error before try the next peer 2019-08-08 14:36:33 +02:00
shortcutme 3696db89ab
Don't increment tracker error number if no internet connection 2019-08-08 14:35:58 +02:00
shortcutme eeaa5d21d8
Start unrealible trackers on force reannounce 2019-08-08 14:35:35 +02:00
Vadim Ushakov a2cb1615b3 Move the BitTorrent related code from SiteAnnouncer.py (#2078)
* Move the BitTorrent related code from SiteAnnouncer.py to a separate plugin

* AnnounceBitTorrentPlugin.py: add missing `from Debug import Debug`
2019-07-10 16:12:25 +02:00
shortcutme 74e71a1971
Fix http tracker announce compatibility 2019-03-27 03:09:47 +01:00
shortcutme f3a4b9c709
Fix announce py3 compatibility 2019-03-16 03:43:11 +01:00
shortcutme 627edeb0f2
Py3 support in announce requests 2019-03-16 00:33:12 +01:00
shortcutme 16f29b65f2
Use if in protocol port detection 2019-03-16 00:32:50 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
rllola 58516913b4 if protocol https choose port 443 2019-03-10 22:19:37 +01:00
rllola fb836fcf6f If no port defined in tracker url assume it is port 80; fix #1917 2019-03-09 18:41:50 +01:00
shortcutme 5c57cd6541
Support https trackers, add browser-like user agent for tracker http requests 2019-02-14 15:48:36 +01:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
shortcutme 42156edc76
Opened ipv6 port support for tracker request 2019-01-20 16:31:30 +01:00
shortcutme 7ae98477d5
Separate function for parsing tracker addresses 2019-01-20 16:29:38 +01:00
shortcutme 626b6f5ccd
Formatting 2019-01-20 16:28:47 +01:00
shortcutme 9c82de7df2
Ipv6 support of opened services 2019-01-20 16:28:42 +01:00
shortcutme e7de562b93
Don't request ipv6 trackers if not supported by the client 2019-01-20 16:27:59 +01:00
shortcutme 23284e1f35
Reduce the reannounce to unreliable trackers not just single announces 2018-08-27 11:50:53 +02:00
shortcutme 71d05a6fc2
Global stats to reduce tracker request for unreliable trackers 2018-08-26 22:58:27 +02:00
shortcutme 867cf478b1
Log tracker request mode on error 2018-08-26 22:57:34 +02:00
shortcutme b43a05b662
Don't increase request tracker number before actually sending it 2018-08-26 22:57:09 +02:00
shortcutme 92db3878cf
Don't include skipped trackers to report 2018-08-26 22:56:46 +02:00
shortcutme b6d11d6be3
Fix request number counting with zero trackers 2018-08-26 22:56:20 +02:00
shortcutme 0b38d73cc5
AnnounceZero return None on skipped announce due batching 2018-08-26 22:52:21 +02:00
shortcutme 33877c73bb
Test tracker address validity 2018-08-26 02:56:24 +02:00
shortcutme 0e3698fa2f
Announce to next tracker on fail 2018-08-26 02:55:08 +02:00
shortcutme 65f48800b9
Allow tracker list to be extended by plugins 2018-08-26 02:53:39 +02:00
shortcutme f143000f4a
Fix parsing udp trackers with request path 2018-07-19 20:43:14 +02:00
shortcutme 7475fa69fa
Support custom proxy for tracker connections 2018-07-16 01:47:49 +02:00
shortcutme ec8b53263c
Store last announce error time 2018-07-16 01:36:23 +02:00
shortcutme 86e4679e04
Skip tracker announce on incalid url pattern 2018-07-10 03:34:06 +02:00
shortcutme 3de13a2e6d
Fix tracker statistics 2018-06-03 12:47:17 +02:00
shortcutme 247b89aec5
Fix non-ascii tracker error message logging 2018-04-29 13:05:02 +02:00
shortcutme ca3b02229f
Fix announcer typo 2018-04-29 01:02:39 +02:00
shortcutme 8039aa3eb1
Report port 1 to trackers as not connectable to improve compatibility 2018-04-29 01:02:24 +02:00
shortcutme 5a494ca50e
Less verbose tracker logging 2018-04-29 01:01:13 +02:00
shortcutme 2f71c2b784
Refactor and move announcer code to separate class 2018-04-28 21:48:21 +02:00