2
0
mirror of synced 2025-02-24 14:48:27 +00:00

684 Commits

Author SHA1 Message Date
Alexander Baranov
1bb31b979d Rename picker tool 2015-05-28 23:55:15 +03:00
Alexander Baranov
b8b403f83e Basic pick-file functionality 2015-05-11 17:50:59 +03:00
Sasha Baranov
7de1ea02c8 Merge pull request #1 from anacrolix/master
Rare panic: a piece is requested that shouldn't have been
2015-05-11 17:48:28 +03:00
Matt Joiner
5eb6b5286e Rare panic: a piece is requested that shouldn't have been 2015-05-09 11:52:52 +10:00
Matt Joiner
e71ba5210e Merge pull request #13 from milosgajdos83/metainfo-trackerless
Added support for trackerless metainfo files
2015-05-05 15:11:10 +10:00
Milos Gajdos
dfd654bcde Adding trackerless.torrent metainfo file to test suite 2015-05-03 16:37:48 +01:00
Milos Gajdos
f6d1652360 Added support for trackerless metainfo files
Based on the official spec
(http://www.bittorrent.org/beps/bep_0005.html) trackerless metainfo
files do not contain announce key. Instead nodes key has to be
specified. This PR adds support for nodes key into metainfo package. It
also contains a test metainfo file.
2015-05-03 11:30:27 +01:00
Matt Joiner
d3c5a4f92c bencode: gofmt 2015-04-30 00:36:25 +10:00
Matt Joiner
c5208569ca Apply sortimports 2015-04-30 00:31:34 +10:00
Matt Joiner
ca74d8ed33 Made Torrent.GotInfo a function, to avoid use of zero-initialized channel 2015-04-30 00:30:19 +10:00
Matt Joiner
0ec0302d1c Publicly expose Torrent.GotInfo 2015-04-28 15:24:17 +10:00
Matt Joiner
0cf7dd7faf Remove obsolete libtorgo README 2015-04-27 15:04:27 +10:00
Matt Joiner
526d9d738e Rewrite imports to local bencode and metainfo 2015-04-27 14:55:01 +10:00
Matt Joiner
ce00bd0791 Merge remote-tracking branch 'libtorgo/master' into HEAD 2015-04-27 14:36:35 +10:00
Matt Joiner
8f4d0f3577 fs: Improve test error handling if FUSE isn't available 2015-04-27 14:06:00 +10:00
Matt Joiner
cc6a52fee0 Remove all the old intermediate config fields from Client 2015-04-27 14:05:27 +10:00
Matt Joiner
1ba2f18750 Add the --disable-tcp flag to the client options 2015-04-20 17:35:21 +10:00
Matt Joiner
b37f6d6f96 Add the option to disable encryption 2015-04-20 17:30:22 +10:00
Matt Joiner
28b299e7c8 Rework the Torrent Reader interface, to allow reader options, and add "responsive" as one such option
Had several weeks of testing. Removes a lot of the "helper" reading methods, but this was necessary to allow per-Torrent reading options.
2015-04-14 23:59:41 +10:00
Matt Joiner
ade6087b2f Move torrentOffsetRequest and torrentRequestOffset, fixing a bug in former, and test it 2015-04-08 02:20:01 +10:00
Matt Joiner
533c034747 import pp peer_protocol in misc.go 2015-04-08 02:17:15 +10:00
Matt Joiner
d48b755776 cmd/torrent-magnet: Error if arguments are given
Too easy to make this mistake, and then it hangs.
2015-04-08 02:15:25 +10:00
Matt Joiner
6c48d59adb Move piece into its own file 2015-04-08 02:14:35 +10:00
Matt Joiner
814aa311c8 fs: Improve test logging 2015-04-08 01:43:50 +10:00
Matt Joiner
23ff66e300 cmd/...: Some package synopses 2015-04-06 23:04:18 +10:00
Matt Joiner
ab6f6d7758 Merge pull request #10 from milosgajdos83/dht-bootstrap-servers
Added BootstrapNodes to dht.ServerConfig
2015-04-03 10:33:40 +11:00
Milos Gajdos
bdaeaf80c9 Added BootstrapNodes to dht.ServerConfig
This is beneficial to users who are running their own private trackers
or have outbound connections to ports 6881 disallowed on firewalls.
2015-04-02 23:35:30 +01:00
Matt Joiner
502bb455e8 dht: Remove obsolete function Server.AnnouncePeer 2015-04-01 17:38:17 +11:00
Matt Joiner
4cb3e94a91 dht: Apply blocklist to incoming packets 2015-04-01 17:37:32 +11:00
Matt Joiner
97c235440c If IP blocklists are enabled, block anything that isn't IPv4
I know of no public IPv6 blocklists.
2015-04-01 17:36:51 +11:00
Matt Joiner
6b81d57ca2 dht: Clean-up interface, add loads of documentation 2015-04-01 17:29:55 +11:00
Matt Joiner
b3a4d6c6a4 dht: Rename get_peers.go->announce.go
It has had the wrong name for a very long time.
2015-04-01 16:05:57 +11:00
Matt Joiner
6d9e800a1e Update README 2015-04-01 14:36:38 +11:00
Matt Joiner
6c3f8ea26c Remove unnecessary reflection 2015-04-01 14:34:57 +11:00
Matt Joiner
0fddc286e6 cmd/torrentfs: Tidy 2015-04-01 14:32:42 +11:00
Matt Joiner
9fdd6be3f3 fs: Remove noisy debug logging 2015-04-01 14:31:29 +11:00
Matt Joiner
8ba4a2e0f3 cmd/torrentfs: Check error creating client
This wouldn't have happened with exceptions ;)
2015-04-01 14:30:22 +11:00
Matt Joiner
f58c7203c7 fs: Root node wasn't listing: Bazil keeps changing his interface 2015-04-01 12:15:44 +11:00
Matt Joiner
44947ff52f dht: Avoid allocation(s) testing if an IP is blocked 2015-03-30 23:12:33 +11:00
Matt Joiner
c202e2289c Opinionated torrent filter doesn't belong in this package 2015-03-30 23:11:20 +11:00
Matt Joiner
1ce84f664e Fix a few minor data races 2015-03-30 23:10:37 +11:00
Matt Joiner
d05e63d094 Use math.MaxUint64, the more you know 2015-03-30 23:08:43 +11:00
Matt Joiner
1c6045bbf8 Fix peer parsing error introduced during tracker package merges 2015-03-30 23:05:39 +11:00
Matt Joiner
4084cad34b iplist: Fail invalid IPs, they were always passing 2015-03-28 02:54:17 +11:00
Matt Joiner
5ecde3a874 Show number of torrents in the client status 2015-03-28 02:51:16 +11:00
Matt Joiner
6582cffe06 AddTorrentSpec now merges in new information an existing torrent didn't have 2015-03-28 02:50:55 +11:00
Matt Joiner
026b6da54f cmd/tracker-announce: Send left=-1, which is what we send when we don't have the metainfo 2015-03-27 17:23:42 +11:00
Matt Joiner
d4875c0bfa Send supportcrypto=1 to HTTP trackers 2015-03-27 17:22:42 +11:00
Matt Joiner
90b27618ac The signedness on several tracker.AnnounceRequest fields now matters
Sending negative ports and lefts through to HTTP trackers was making them mad.
2015-03-27 17:22:00 +11:00
Matt Joiner
8ae09e2fa8 Only the first tracker was being tried
Must have lost this in the client tracker clean-up a while back.
2015-03-27 17:20:02 +11:00