str4d
c32b451733
i2psnark: type arguments, unused imports
2013-11-21 12:43:45 +00:00
1b9d870b91
i2psnark: Don't announce more than torrent size as downloaded amount
2013-11-10 15:20:07 +00:00
9d3925eb20
* i2psnark:
...
- Drop incoming connections on HTTP port
- Define port 6881 in one place
- Don't let random DHT port be 6881
- Exception tweak
2013-10-24 20:52:37 +00:00
380783c1ba
Snark DHT:
...
- Combine getPeers and announce into a single method, as we must announce to
the closest from the getPeers, not the closest from the kbuckets
- Stop getPeers when nothing closer is found
2013-10-09 21:09:34 +00:00
7513d42e9e
Snark DHT:
...
- Increase dest lookup and search timeouts
- Increase max search depth
- Loop tracker client faster when in magnet mode
- Loop tracker client faster if DHT announce fails
- Don't return an empty peers list if we only know about the requestor
- volatiles, log tweaks
- Major fixes of getPeers() to follow
2013-10-09 13:06:47 +00:00
e755051ebe
* i2psnark:
...
- Add torrent auto-stop support; enable for update file
- Add tunnel auto-close when no torrents are running
- Log/msg tweaks on add/create failures
2013-10-04 16:40:14 +00:00
7181e3eb87
* i2psnark: Ensure current stats and correct event delivered in announce
2013-04-27 14:34:00 +00:00
436d8f0785
- Add support for announce-list (BEP 12) to TrackerClient (ticket #778 )
...
- Refactor dup tracker detection
2012-12-22 18:05:42 +00:00
7ea1bffea2
rename Tracker class for clarity
2012-12-22 14:13:16 +00:00
74fd171131
* i2psnark: Clear PEX peers set after use, cause of bad peer counts
2012-11-17 17:11:39 +00:00
70a2e330ef
* i2psnark:
...
- More DHT limits
- Announce to backup trackers if DHT is empty
- Use PEX and DHT info in torrent peer count
- Don't use temp files for announces
- TrackerClient refactoring
- cleanups
2012-11-05 17:20:07 +00:00
fa504ae8a3
- Fix cases where we weren't using the session for b32 lookup
2012-08-27 21:36:39 +00:00
05516f3260
* i2psnark: Add minimum tracker and DHT announce intervals
2012-08-20 12:09:20 +00:00
523d39b3bb
* i2psnark:
...
- Fix bug preventing completion announcement, broken in 0.9.1
- Fix setting short retry time after initial announce failure
- Fix DHT announce and getPeers
- Fix DHT warning message
- log tweaks
2012-08-15 12:44:46 +00:00
9cee0ee504
* i2psnark:
...
- Remove static SnarkManager instance
- Allow DHT-only torrents
- DHT debugging
2012-08-08 17:00:33 +00:00
280a708afe
- Change secure Node ID requirements again
...
- Protect against null DHT races
- Add message about restarting tunnel when DHT config changes
- Add DHT size to table totals
2012-08-04 17:11:11 +00:00
afad77af19
propagate from branch 'i2p.i2p' (head d2198c4bc21a9d06194cdb2dce24945ebc9d1542)
...
to branch 'i2p.i2p.zzz.dhtsnark' (head 59fc0206608a5d1323a0acfbcb151d862fe95f95)
2012-08-03 20:29:31 +00:00
00f9fea98c
replace SimpleTimer2.getInstance() calls
2012-08-03 16:23:31 +00:00
ccf36abd30
* i2psnark: Finish migration to I2P logging to reduce object churn (ticket #673 )
2012-08-03 11:19:52 +00:00
c6d1c552f8
propagate from branch 'i2p.i2p' (head 9ca94e960929c6af5dea1085105278d2f33217f2)
...
to branch 'i2p.i2p.zzz.dhtsnark' (head 1f23a71b0fa5169c220f3f21dd705e1fcfbb1b5d)
2012-06-19 23:31:53 +00:00
4dcfe3e434
* i2psnark:
...
- Improve torrent shutdown handling to maximize chance of
announces getting to tracker
- Clean up delete-torrent messages
- Remove redundant shutdown hook
- Avoid NPE in PEX message handling
- Log tweaks
2012-06-18 18:06:47 +00:00
5ce0479268
tweaks
2012-06-15 01:29:29 +00:00
fe2b97c941
propagate from branch 'i2p.i2p' (head 27fc588723d201c76ea9c18a6c715b11efcb5b0e)
...
to branch 'i2p.i2p.zzz.dhtsnark' (head cae6d265415ba9ed4242b3fc888ffcf2a1c1b2f2)
2012-06-11 20:29:19 +00:00
6e077ee621
* i2psnark:
...
- Reduce TrackerClient threads
- Reduce delay between peer adds for faster startup
- Thread the announces and reduce timeout when stopping
2012-06-11 19:38:33 +00:00
d5cb443925
- Switch back from storing NID to full NodeInfo for outgoing tokens so they don't get expired early
...
- Announce only to the single closest DHT peer
- Increase random port range
- Decrease max local tracker and DHT size
2012-06-04 14:15:38 +00:00
324e9c960d
fix partially-complete torrent not announcing
2012-06-01 14:12:32 +00:00
38a4f05000
* i2psnark:
...
- Close connection immediately if bad protocol,
this makes blacklist work better too
- Stop adding peers when we hit the limit
- Lower limit for outbound connections so we give
new peers a better chance in large swarms
2012-05-31 15:20:50 +00:00
580bb5a6fe
* i2psnark:
...
- Fixes when complete except for skipped files
(ticket #447 ) status in UI, don't connect outbound,
disconnect seeds when done
- More classes pkg private
2012-05-23 16:36:37 +00:00
1db58dee89
remove unused local variables (eclipse)
2012-03-25 22:16:03 +00:00
f13956d380
remove unused imports (eclipse)
2012-03-25 21:45:18 +00:00
bdfca07626
- Fix dup torrent msg with magnets (tickets #433 and #504 )
...
- Fix state when storage dies during transition out of magnet mode
- Fix NPE in magnet mode
- Error logging improvements
- Support add-torrent with infohash alone
- CSS tweaks
2012-03-24 12:58:13 +00:00
46438b7412
* i2psnark: Fix NPE on magnet link addition
2012-03-06 13:59:32 +00:00
295242316b
Disable PEX/metadata extensions and open trackers for private torrents
...
Handle announce URLs with parameters correctly
2012-02-18 17:58:54 +00:00
d9dcb1e583
* Specify locale in all toLowerCase() and toUpperCase() calls to
...
avoid "Turkish four i problem"
2011-11-28 20:32:23 +00:00
bb7d0287d9
* i2psnark:
...
- Fix delete and remove buttons for Opera and w3m (thx xiake)
- Stop torrent if no valid trackers
- Fix war build dependencies
2011-02-24 15:45:18 +00:00
ae9c160734
* i2psnark:
...
- Improved magnet link parsing, use tr parameter if present
2011-02-10 17:12:15 +00:00
c1c4e50b5b
- Finish PEX send/rcv
...
- Disable KRPC
- Shorten tracker string
2011-01-13 19:54:56 +00:00
4d4bfa00b3
add dht stub
2011-01-01 14:59:41 +00:00
01b67acfa0
- Catch OOM when creating torrent (tickets #364 and #366 )
...
- Fix changing 'use open trackers' config setting (old bug)
- More TrackerClient fixes for no primary announce
- More BEValue.toString() improvements for debugging
2010-12-28 15:46:45 +00:00
71043c41f1
- Hide I2CP settings when in router context
...
- Better BEValue.toString()
(most of the following got missed in the last checkin)
- Fix about 9 NPEs
- Fix numwant in magnet mode
- Send metadata size in extension handshake
- Open trackers are primary if we don't have primary trackers
- Add missing break in port message handling
- Increase max msg size to account for metadata msg
- Remember magnets across restarts
- Drop peers w/o extensions if we need metainfo
- Fix DATA messages
- Fix tracker transition to non-magnet
- Fix infohash for non-magnet
- Fix up peer transition to non-magnet
- More logging
2010-12-27 17:13:24 +00:00
7e229ccea0
propagate from branch 'i2p.i2p.zzz.test4' (head bf9ef6aabb549475a41e936e7074ef625ab194e0)
...
to branch 'i2p.i2p.zzz.dhtsnark' (head 0a6fe29cd1c9fc357ad2c973be4f1a2a752b52b7)
2010-12-26 13:17:33 +00:00
66f3484508
* i2psnark: Backport TrackerClient NPE fix
2010-12-26 12:32:17 +00:00
97f0c13c15
- Protection against modifying metainfos
...
- Announce peers to local tracker
- Ping node on port reception
- More info on directory pages
- Cleanups
2010-12-22 22:22:38 +00:00
ebe7f3b127
UI adjustments when no metainfo yet
2010-12-20 18:55:10 +00:00
7602999274
more prep and stubs for no metainfo
2010-12-20 00:05:03 +00:00
4899a6d306
Refactor fields to private and replace with getters,
...
and lots of prep for lack of metainfo and storage.
2010-12-19 22:14:02 +00:00
114c398056
shorten TrackerClient thread name
2010-12-12 21:45:32 +00:00
f170baab3f
- Delay during StopAll so we don't close the tunnel before the
...
stopped announces go out and reopen it
- Logging tweaks
2010-10-30 15:30:14 +00:00
c76058efc3
send &compact=1 to keep opentracker happy
2010-10-30 14:17:09 +00:00
9afff4f80a
* i2psnark: Add file priority feature;
...
Use context random for shuffle; other cleanups
2010-10-15 13:48:36 +00:00