Commit Graph

111 Commits

Author SHA1 Message Date
Tamas Kocsis 5b09f7af41 New port checker: ipfingerprints.com, PortChecker minor rearranging 2020-09-08 19:35:23 +02:00
Tamas Kocsis 1695571afa Add browser-like header for port checker requests 2020-09-08 19:32:45 +02:00
shortcutme 179e5cb651
Fix portchecker.co 2020-06-18 17:21:43 +02:00
shortcutme 46210b2f04
Use peer ip in peer exchange if no active connection 2020-01-28 16:57:20 +01:00
shortcutme 6ff7fe55fc
Make sure we use local peers if possible 2019-11-25 14:32:06 +01:00
shortcutme a14c36cd3e
Add peer's site to str represetntation 2019-11-25 14:31:12 +01:00
shortcutme c21fe3d23a
Prefer connecting to non-onion peers 2019-11-25 14:30:51 +01:00
shortcutme 62401b24ec
Add r string literal for regexps 2019-07-01 16:24:23 +02:00
shortcutme 4222c31b3e
Don't push body of content.json with updates if larger than 10kb 2019-05-30 04:26:41 +02:00
shortcutme 6207ccd559
Fix pex result parsing when there is no connection 2019-05-02 17:17:57 +02:00
radfish f6e3a74567 [setuptools packaging] access modules via imports (#1969) 2019-04-15 12:31:33 +02:00
shortcutme 33e8c6fb73
Fix ipv6 port checker 2019-03-23 03:41:52 +01:00
shortcutme dee562437b
Rename hashfield pack functions to bytes 2019-03-16 00:42:21 +01:00
shortcutme b0b9a4d33c
Change to Python3 coding style 2019-03-15 21:06:59 +01:00
shortcutme 81bf349871
Remove ipv6 and onion from pex result if not supported 2019-02-24 02:29:08 +01:00
shortcutme 9d849a16ec
Use defaultdict to for findHashId result 2019-02-24 02:28:42 +01:00
shortcutme e8dbf1511b
More clean way to return locally found hash_ids for findHashId 2019-01-24 15:18:12 +01:00
tangdou1 76e21a6378
Fix a bug 2019-01-24 10:00:18 +08:00
shortcutme 447f5fd5c8
Store opened port status per IP version 2019-01-23 02:11:31 +01:00
shortcutme 9a64b6080d
Formatting 2019-01-20 16:31:41 +01:00
shortcutme 06d679d1ca
Support ipv6 in findHashIds response parsing 2019-01-20 16:27:12 +01:00
shortcutme 33cf30a07b
Formatting 2019-01-20 16:26:17 +01:00
shortcutme 6ac1960c47
Support ipv6 for Pex request parsing 2019-01-20 16:26:04 +01:00
shortcutme 1c5b5e3621
Move port checking to separate file, add ipv6 port check 2019-01-20 03:13:54 +01:00
shortcutme 12d494bf38
Limit peer reputation increase from tracker 2018-09-04 15:43:20 +02:00
shortcutme 658aace8f1
Increase peer reputation when found by tracker 2018-09-02 02:22:35 +02:00
shortcutme 49562d43c3
Change peer reputation on connection success and error 2018-09-02 02:22:21 +02:00
shortcutme 4241b62760
Log peer reputation on connect 2018-09-02 02:21:48 +02:00
shortcutme 47fcee4df8
Limit peer reputation 2018-09-02 02:21:38 +02:00
shortcutme e05c432d14
Store if it's tracker connection on connect 2018-08-26 02:52:23 +02:00
shortcutme abbf6ae2c8
Fix peer added count 2018-02-08 18:08:08 +01:00
shortcutme 403ec56ef8
Remove from recent peers of peer remove 2018-02-08 18:07:09 +01:00
shortcutme a265c2a7ca
Pass peer discovery source to addPeer 2018-02-08 17:57:26 +01:00
shortcutme 13e651c822
Store and prefer recent peers from trackers and local peer discovery 2018-02-08 17:53:17 +01:00
shortcutme c2edbb30b5
Don't send private ip addresses on pex 2018-01-30 13:58:01 +01:00
shortcutme 814fa881d0
skip on invalid received hash ids 2018-01-19 02:20:20 +01:00
shortcutme bc9bddf918
Make sure the hashfield response is correct 2017-10-04 17:25:33 +02:00
shortcutme c494b01435
Update hashfiled more often 2017-10-03 15:26:53 +02:00
shortcutme c0e69e91a1
Always use streamFile for files bigger than 512k, increase file reads to 1MB for larger files 2017-10-03 15:26:39 +02:00
shortcutme 1c029981ae
Raise exception when no response received 2017-10-03 15:23:25 +02:00
shortcutme f9e64bc874
Log inner_path and location for peer request in verbose mode 2017-10-03 15:23:03 +02:00
shortcutme fcfd428b54
Enable plugins for Peer class 2017-10-03 14:56:42 +02:00
shortcutme a7b22e2055
Fix error on exit for peers without site 2017-06-20 20:28:35 +02:00
shortcutme 916709a7e4
Allow less peer error if for popular sites 2017-06-19 16:13:06 +02:00
shortcutme f773bf3336
Add file_size to request to avoid unnecessary download 2017-06-19 16:10:18 +02:00
shortcutme ae21f056d5
Error if no peer connection found 2017-06-13 14:12:48 +02:00
shortcutme da49981ecd
Allow 6 failed requests before closing peer 2017-02-27 00:07:51 +01:00
shortcutme e80887d779
Add reputation for old peers 2017-02-27 00:06:13 +01:00
shortcutme bad2a79f05
Reason for connection closing 2017-02-27 00:02:24 +01:00
shortcutme 91513f15ae Remove hash by id from hashfield 2016-11-07 22:35:05 +01:00