]> Sergey Matveev's repositories - btrtrc.git/log
btrtrc.git
10 years agoiplist: Check for matches against IPv4 and IPv6 addresses
Matt Joiner [Sat, 7 Mar 2015 06:09:39 +0000 (17:09 +1100)]
iplist: Check for matches against IPv4 and IPv6 addresses

10 years agoImprovements to P2P blocklist scanning errors
Matt Joiner [Sat, 7 Mar 2015 06:09:18 +0000 (17:09 +1100)]
Improvements to P2P blocklist scanning errors

10 years agoChange the way readahead pieces are calculated
Matt Joiner [Wed, 4 Mar 2015 02:07:11 +0000 (13:07 +1100)]
Change the way readahead pieces are calculated

10 years agoImplement Handle.ReadAt
Matt Joiner [Wed, 4 Mar 2015 02:06:33 +0000 (13:06 +1100)]
Implement Handle.ReadAt

10 years agoExtraneous import
Matt Joiner [Sun, 1 Mar 2015 04:19:35 +0000 (15:19 +1100)]
Extraneous import

10 years agoTODO
Matt Joiner [Sun, 1 Mar 2015 03:33:10 +0000 (14:33 +1100)]
TODO

10 years agoSupport opening handles to Torrent and File
Matt Joiner [Sun, 1 Mar 2015 03:32:54 +0000 (14:32 +1100)]
Support opening handles to Torrent and File

10 years agoMake blob data stateful
Matt Joiner [Fri, 27 Feb 2015 01:45:55 +0000 (12:45 +1100)]
Make blob data stateful

10 years agoFiles.Path and .FileInfo change
Matt Joiner [Thu, 26 Feb 2015 14:46:40 +0000 (01:46 +1100)]
Files.Path and .FileInfo change

10 years agoAdd piece blob torrent.Data storage, and move testutil to internal/, add basic transf...
Matt Joiner [Thu, 26 Feb 2015 14:46:02 +0000 (01:46 +1100)]
Add piece blob torrent.Data storage, and move testutil to internal/, add basic transfer test for Client and blob

10 years agoRename TorrentData->Data
Matt Joiner [Thu, 26 Feb 2015 14:43:37 +0000 (01:43 +1100)]
Rename TorrentData->Data

10 years agoDitch the intermediate MetaInfo type
Matt Joiner [Thu, 26 Feb 2015 11:17:58 +0000 (22:17 +1100)]
Ditch the intermediate MetaInfo type

10 years agofs test: Resolve localhost, some platforms are funny about it
Matt Joiner [Thu, 26 Feb 2015 05:11:33 +0000 (16:11 +1100)]
fs test: Resolve localhost, some platforms are funny about it

10 years agoClient.Torrent(InfoHash)
Matt Joiner [Thu, 26 Feb 2015 05:10:55 +0000 (16:10 +1100)]
Client.Torrent(InfoHash)

10 years agoImplement File.ReadAt
Matt Joiner [Thu, 26 Feb 2015 05:10:38 +0000 (16:10 +1100)]
Implement File.ReadAt

10 years agoScale readahead pieces a bit
Matt Joiner [Thu, 26 Feb 2015 05:10:15 +0000 (16:10 +1100)]
Scale readahead pieces a bit

10 years agoHide a whole bunch of functions seen via torrent
Matt Joiner [Wed, 25 Feb 2015 04:42:47 +0000 (15:42 +1100)]
Hide a whole bunch of functions seen via torrent

10 years agoSet torrentDataOpener from config
Matt Joiner [Wed, 25 Feb 2015 04:41:13 +0000 (15:41 +1100)]
Set torrentDataOpener from config

10 years agoNot listening!
Matt Joiner [Wed, 25 Feb 2015 03:52:19 +0000 (14:52 +1100)]
Not listening!

10 years agoReturn no Files if Torrent Info isn't available
Matt Joiner [Wed, 25 Feb 2015 03:51:56 +0000 (14:51 +1100)]
Return no Files if Torrent Info isn't available

10 years agoFix imports
Matt Joiner [Wed, 25 Feb 2015 03:51:12 +0000 (14:51 +1100)]
Fix imports

10 years agoAdd Magnet.String()
Matt Joiner [Wed, 25 Feb 2015 03:50:01 +0000 (14:50 +1100)]
Add Magnet.String()

10 years agoAllow configuring Client torrent data opener, config dir, disabling metainfo cache...
Matt Joiner [Wed, 25 Feb 2015 03:48:39 +0000 (14:48 +1100)]
Allow configuring Client torrent data opener, config dir, disabling metainfo cache, and prune with a timer instead of goroutine

10 years agoMake IPBlockList accessible from Client
Matt Joiner [Wed, 25 Feb 2015 00:25:22 +0000 (11:25 +1100)]
Make IPBlockList accessible from Client

10 years agoRemove unused code
Matt Joiner [Tue, 24 Feb 2015 14:40:27 +0000 (01:40 +1100)]
Remove unused code

10 years agoComments
Matt Joiner [Tue, 24 Feb 2015 14:34:57 +0000 (01:34 +1100)]
Comments

10 years agoHopefully maybe fix bind error on Codeship test runner
Matt Joiner [Sat, 21 Feb 2015 04:25:34 +0000 (15:25 +1100)]
Hopefully maybe fix bind error on Codeship test runner

10 years agoChange piece prioritization
Matt Joiner [Sat, 21 Feb 2015 04:02:31 +0000 (15:02 +1100)]
Change piece prioritization

10 years agoImprove announcer routines
Matt Joiner [Sat, 21 Feb 2015 04:02:06 +0000 (15:02 +1100)]
Improve announcer routines

10 years agodht: Handle responses through a callback
Matt Joiner [Sat, 21 Feb 2015 04:00:48 +0000 (15:00 +1100)]
dht: Handle responses through a callback

Trying to reduce number of goroutines

10 years agoComments
Matt Joiner [Sat, 21 Feb 2015 03:58:28 +0000 (14:58 +1100)]
Comments

10 years agoChange status output
Matt Joiner [Sat, 21 Feb 2015 03:57:37 +0000 (14:57 +1100)]
Change status output

10 years agoTweak handshaking and peer water marks
Matt Joiner [Sat, 21 Feb 2015 03:56:17 +0000 (14:56 +1100)]
Tweak handshaking and peer water marks

10 years agoLimit pending requests to increase responsiveness
Matt Joiner [Sat, 21 Feb 2015 03:54:15 +0000 (14:54 +1100)]
Limit pending requests to increase responsiveness

10 years agoTODO
Matt Joiner [Sat, 21 Feb 2015 03:53:27 +0000 (14:53 +1100)]
TODO

10 years agofs: Ensure DownloadOnDemand runs through UTP
Matt Joiner [Wed, 18 Feb 2015 10:33:42 +0000 (21:33 +1100)]
fs: Ensure DownloadOnDemand runs through UTP

10 years agointernal/pieceordering: Doc
Matt Joiner [Wed, 18 Feb 2015 10:33:03 +0000 (21:33 +1100)]
internal/pieceordering: Doc

10 years agodefer Unlock
Matt Joiner [Mon, 9 Feb 2015 13:21:50 +0000 (00:21 +1100)]
defer Unlock

10 years agodht: Fix race
Matt Joiner [Mon, 9 Feb 2015 13:21:22 +0000 (00:21 +1100)]
dht: Fix race

10 years agocmd/torrent-metainfo-pprint: Add -name flag
Matt Joiner [Mon, 9 Feb 2015 13:20:14 +0000 (00:20 +1100)]
cmd/torrent-metainfo-pprint: Add -name flag

10 years agoBreak active peer status line up
Matt Joiner [Mon, 9 Feb 2015 13:19:56 +0000 (00:19 +1100)]
Break active peer status line up

10 years agoFails go vet
Matt Joiner [Mon, 9 Feb 2015 13:19:31 +0000 (00:19 +1100)]
Fails go vet

10 years agoAdd File.Progress
Matt Joiner [Mon, 9 Feb 2015 13:18:59 +0000 (00:18 +1100)]
Add File.Progress

10 years agoHandle SetDeadline failure for handshake
Matt Joiner [Mon, 9 Feb 2015 13:17:59 +0000 (00:17 +1100)]
Handle SetDeadline failure for handshake

10 years agouTP raw Socket use is now via .PacketConn
Matt Joiner [Mon, 9 Feb 2015 13:17:04 +0000 (00:17 +1100)]
uTP raw Socket use is now via .PacketConn

10 years agoMisc tidying
Matt Joiner [Mon, 9 Feb 2015 13:16:01 +0000 (00:16 +1100)]
Misc tidying

10 years agoEncapsulate torrent data, and provide os.File and mmap-based implementations
Matt Joiner [Mon, 9 Feb 2015 13:14:52 +0000 (00:14 +1100)]
Encapsulate torrent data, and provide os.File and mmap-based implementations

10 years agoHide some methods that shouldn't be public
Matt Joiner [Mon, 9 Feb 2015 13:12:29 +0000 (00:12 +1100)]
Hide some methods that shouldn't be public

10 years agoUpdates due to changes to bazil.org/fuse
Matt Joiner [Fri, 6 Feb 2015 05:03:33 +0000 (16:03 +1100)]
Updates due to changes to bazil.org/fuse

10 years agoFix some stuff Rob Clifford broke through stress testing
Matt Joiner [Fri, 6 Feb 2015 03:54:59 +0000 (14:54 +1100)]
Fix some stuff Rob Clifford broke through stress testing

10 years agoLog addr when dials fail for unexpected reason
Matt Joiner [Fri, 30 Jan 2015 14:54:45 +0000 (01:54 +1100)]
Log addr when dials fail for unexpected reason

10 years agoDeduplicate iplist range descriptions, saves another 2.8MB heap
Matt Joiner [Fri, 30 Jan 2015 14:53:42 +0000 (01:53 +1100)]
Deduplicate iplist range descriptions, saves another 2.8MB heap

10 years agoiplist: Make range descriptions copies of substring, saves 8MB heap on level1 blocklist!
Matt Joiner [Fri, 30 Jan 2015 14:53:01 +0000 (01:53 +1100)]
iplist: Make range descriptions copies of substring, saves 8MB heap on level1 blocklist!

10 years agoProvide HTTP pprof via envpprof package
Matt Joiner [Thu, 29 Jan 2015 03:51:23 +0000 (14:51 +1100)]
Provide HTTP pprof via envpprof package

10 years agocmd/dht-get-peers: Update to use "dht".Server.Announce
Matt Joiner [Thu, 29 Jan 2015 03:29:06 +0000 (14:29 +1100)]
cmd/dht-get-peers: Update to use "dht".Server.Announce

10 years agoUse CopyExact
Matt Joiner [Thu, 29 Jan 2015 03:21:42 +0000 (14:21 +1100)]
Use CopyExact

10 years agoconnectionPruner should terminate when the torrent stops
Matt Joiner [Thu, 29 Jan 2015 03:21:05 +0000 (14:21 +1100)]
connectionPruner should terminate when the torrent stops

10 years agodht: Provide Announce, that combines get_peers and announce_peer
Matt Joiner [Thu, 29 Jan 2015 03:20:21 +0000 (14:20 +1100)]
dht: Provide Announce, that combines get_peers and announce_peer

10 years agoComments
Matt Joiner [Thu, 29 Jan 2015 03:17:27 +0000 (14:17 +1100)]
Comments

10 years agoRemove util.LoggedHTTPServe, use package envpprof instead
Matt Joiner [Thu, 29 Jan 2015 03:16:16 +0000 (14:16 +1100)]
Remove util.LoggedHTTPServe, use package envpprof instead

10 years agoTODO
Matt Joiner [Wed, 28 Jan 2015 11:39:30 +0000 (22:39 +1100)]
TODO

10 years agofs/unwedge-tests: Can't assume /tmp on OSX
Matt Joiner [Wed, 28 Jan 2015 11:39:12 +0000 (22:39 +1100)]
fs/unwedge-tests: Can't assume /tmp on OSX

10 years agoExpose Files from Torrent
Matt Joiner [Tue, 27 Jan 2015 14:12:36 +0000 (01:12 +1100)]
Expose Files from Torrent

10 years agoExpose PieceStatusCharSequence
Matt Joiner [Mon, 26 Jan 2015 09:52:59 +0000 (20:52 +1100)]
Expose PieceStatusCharSequence

10 years agoTODO
Matt Joiner [Mon, 26 Jan 2015 09:52:27 +0000 (20:52 +1100)]
TODO

10 years agoImprove returned error
Matt Joiner [Wed, 21 Jan 2015 13:42:13 +0000 (00:42 +1100)]
Improve returned error

10 years agoCode comments
Matt Joiner [Wed, 21 Jan 2015 13:42:03 +0000 (00:42 +1100)]
Code comments

10 years agodht: Reduce memory use
Matt Joiner [Wed, 21 Jan 2015 13:41:06 +0000 (00:41 +1100)]
dht: Reduce memory use

10 years agoFix a few tests
Matt Joiner [Sun, 11 Jan 2015 10:42:57 +0000 (21:42 +1100)]
Fix a few tests

10 years agoFix TestUnmountWedged test on OSX
Matt Joiner [Sun, 11 Jan 2015 02:21:14 +0000 (13:21 +1100)]
Fix TestUnmountWedged test on OSX

10 years agoFix comment
Matt Joiner [Sat, 10 Jan 2015 13:17:25 +0000 (00:17 +1100)]
Fix comment

10 years agoFavour earlier pieces
Matt Joiner [Sat, 10 Jan 2015 13:17:18 +0000 (00:17 +1100)]
Favour earlier pieces

10 years agoScale readahead with unchoked connections
Matt Joiner [Sat, 10 Jan 2015 13:16:57 +0000 (00:16 +1100)]
Scale readahead with unchoked connections

10 years agoSet Client.utpSock
Matt Joiner [Sat, 10 Jan 2015 13:16:19 +0000 (00:16 +1100)]
Set Client.utpSock

10 years agoSwitch to my own UTP library
Matt Joiner [Thu, 8 Jan 2015 12:26:39 +0000 (23:26 +1100)]
Switch to my own UTP library

10 years agoHelper method on Client's Torrent that tells where the metainfo file would be stored
Matt Joiner [Tue, 30 Dec 2014 12:58:38 +0000 (23:58 +1100)]
Helper method on Client's Torrent that tells where the metainfo file would be stored

10 years agoRemove a bunch of dead code
Matt Joiner [Sun, 28 Dec 2014 01:51:09 +0000 (12:51 +1100)]
Remove a bunch of dead code

10 years agodht: Various improvements and removal of cruft
Matt Joiner [Fri, 26 Dec 2014 06:21:48 +0000 (17:21 +1100)]
dht: Various improvements and removal of cruft

10 years agoFix sending to localhost on OSX
Matt Joiner [Fri, 26 Dec 2014 06:19:01 +0000 (17:19 +1100)]
Fix sending to localhost on OSX

10 years agoCatch a few possible connection leaks
Matt Joiner [Fri, 26 Dec 2014 06:18:36 +0000 (17:18 +1100)]
Catch a few possible connection leaks

10 years agoReenable UTP despite it being broken, some binaries now have flags to disable it
Matt Joiner [Fri, 26 Dec 2014 06:18:15 +0000 (17:18 +1100)]
Reenable UTP despite it being broken, some binaries now have flags to disable it

10 years agoQuieten tracker announce logging
Matt Joiner [Fri, 26 Dec 2014 06:17:49 +0000 (17:17 +1100)]
Quieten tracker announce logging

10 years agoReorder some imports
Matt Joiner [Fri, 26 Dec 2014 06:17:00 +0000 (17:17 +1100)]
Reorder some imports

10 years agoutil.Addr* funcs: Add optimizations for *net.UDPAddr
Matt Joiner [Fri, 26 Dec 2014 06:16:20 +0000 (17:16 +1100)]
util.Addr* funcs: Add optimizations for *net.UDPAddr

10 years agoRip out the pieces by bytes left and responsive download strategy stuff
Matt Joiner [Fri, 26 Dec 2014 06:15:17 +0000 (17:15 +1100)]
Rip out the pieces by bytes left and responsive download strategy stuff

10 years agoDon't include active handshakes in the half open limit
Matt Joiner [Tue, 23 Dec 2014 04:20:28 +0000 (15:20 +1100)]
Don't include active handshakes in the half open limit

Large numbers of incoming connections choke initiation of outbound conns.

10 years agodht: Fix partial deadlock closing peer discovery
Matt Joiner [Sat, 20 Dec 2014 02:02:12 +0000 (13:02 +1100)]
dht: Fix partial deadlock closing peer discovery

10 years agoDon't guess cap for some torrent fields, need to minimize memory use
Matt Joiner [Sat, 20 Dec 2014 02:00:21 +0000 (13:00 +1100)]
Don't guess cap for some torrent fields, need to minimize memory use

10 years agodht-get-peers: Don't bother to close the server before quitting
Matt Joiner [Fri, 19 Dec 2014 23:11:34 +0000 (10:11 +1100)]
dht-get-peers: Don't bother to close the server before quitting

The closing code isn't very clean yet, and it's unnecessary.

10 years agodht: Some peer sent me a bad info_hash
Matt Joiner [Fri, 19 Dec 2014 23:10:53 +0000 (10:10 +1100)]
dht: Some peer sent me a bad info_hash

10 years agodht: Use a bloom filter to track contacted nodes during peer discovery
Matt Joiner [Fri, 19 Dec 2014 23:10:22 +0000 (10:10 +1100)]
dht: Use a bloom filter to track contacted nodes during peer discovery

10 years agodht: Use both bootstrap addrs, as they seem to take turns going down
Matt Joiner [Fri, 19 Dec 2014 23:09:11 +0000 (10:09 +1100)]
dht: Use both bootstrap addrs, as they seem to take turns going down

10 years agoAdd some tools for analysing bloom filter use
Matt Joiner [Fri, 19 Dec 2014 23:07:41 +0000 (10:07 +1100)]
Add some tools for analysing bloom filter use

10 years agoRefine connection status flags
Matt Joiner [Tue, 9 Dec 2014 06:26:06 +0000 (00:26 -0600)]
Refine connection status flags

10 years agodht: We can now message nodes with no ID if there's nothing better
Matt Joiner [Tue, 9 Dec 2014 06:25:49 +0000 (00:25 -0600)]
dht: We can now message nodes with no ID if there's nothing better

10 years agoUpdate TODO
Matt Joiner [Tue, 9 Dec 2014 06:24:57 +0000 (00:24 -0600)]
Update TODO

10 years agodht: Slow down the start a little, as lots of torrents will hammer out UDP packets
Matt Joiner [Tue, 9 Dec 2014 06:24:05 +0000 (00:24 -0600)]
dht: Slow down the start a little, as lots of torrents will hammer out UDP packets

10 years agoFixes due to not pending chunk specs prematurely
Matt Joiner [Tue, 9 Dec 2014 06:22:05 +0000 (00:22 -0600)]
Fixes due to not pending chunk specs prematurely

10 years ago:)
Matt Joiner [Tue, 9 Dec 2014 03:59:01 +0000 (21:59 -0600)]
:)

10 years agoAdd pending peers high water mark to stop excessively long running DHT queries
Matt Joiner [Tue, 9 Dec 2014 03:58:49 +0000 (21:58 -0600)]
Add pending peers high water mark to stop excessively long running DHT queries