Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix connection http #150

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

bracouda
Copy link

At the beginning

2015-09-26 00:00:30 WARN  Announce:226 - Error reading tracker response!
2015-09-26 00:00:31 INFO  Client:451 - SHARING 0/1410 pieces (0,00%) [0/0] with 0/0 peers at 0,00/0,00 kB/s.
2015-09-26 00:00:34 INFO  Client:451 - SHARING 0/1410 pieces (0,00%) [0/0] with 0/0 peers at 0,00/0,00 kB/s.
2015-09-26 00:00:35 INFO  HTTPTrackerClient:80 - Announcing STARTED to tracker with 0U/0D/369412096L bytes...
2015-09-26 00:00:35 WARN  Announce:226 - Error reading tracker response!

After investigation,
I found an error in response for Http request (403)
But with adding user agent in header of request. Http request can go through tracker's protection.

By the way, the protection is cloudflare.

pankdm and others added 30 commits April 10, 2013 12:37
…sage.parse

Order of the parameters to the HTTPAnnounceRequestMessage constructor was incorrect in the parse() method. Thanks to Dan Oxlade for reporting the problem.

Closes mpetazzoni#48.

Signed-off-by: Maxime Petazzoni <[email protected]>
Allow trackerless torrent files mpetazzoni#2

Signed-off-by: Maxime Petazzoni <[email protected]>
…h InboundThread and OutboundThread to a common ExchangeThread superclass.
Add ability to set upload/download rate limits.

Signed-off-by: Maxime Petazzoni <[email protected]>
Fix read when message size wasn't read in one step

Signed-off-by: Maxime Petazzoni <[email protected]>
BDecode support for negative integers

Signed-off-by: Maxime Petazzoni <[email protected]>
Fixes bug with selecting the announce client

A previous change introduced a bug in the selection
of the announce tier and client. Closes mpetazzoni#51.

Signed-off-by: Maxime Petazzoni <[email protected]>
Use maven-shade-plugin to produce executable jar

Signed-off-by: Maxime Petazzoni <[email protected]>
Update pom for compatibility with the maven-release-plugin

Signed-off-by: Maxime Petazzoni <[email protected]>
Clean up javadoc problems

Signed-off-by: Maxime Petazzoni <[email protected]>
Shell script updates for wider platform compatibility

Signed-off-by: Maxime Petazzoni <[email protected]>
Move entry-point main methods to separate package

Signed-off-by: Maxime Petazzoni <[email protected]>
mpetazzoni and others added 27 commits April 12, 2014 07:42
Completed a TODO in the CLI for Torrent creation: added support for
multiple announce URLs. Now a number of announcement URLs can be listed
with -a and will be added via Torrent.create (multiple announcement
list constructor existed previously).
Added support for multiple announce URLs to CLI
…mentations.

Moved existing implementation into RequestStrategyImplRarest. Added an
addition sequential implementation.
Added request strategy interface to abstract different strategy implementations.
File.listFiles() will return files and 1st-level subdirectories. Any
subdirectories in files parameter of Torrent.create(4) will throw an error.
Also, the intention was probably to do a fully-recursive search.

FileUtils.listFiles() only returns files and is fully recursive.
Fixed file list for multi-file torrents.
Add a piece length option to the torrent creator CLI
There are now two submodules in this project, cli and core.
Refactored out dependency on log4j.
ArtifactId has changed to ttorrent-core.
The install instructions have changes a bit because of the multi-module reorg.
Fixed a path error to move the unit tests to the maven test folder.
Added testng dependency as it is now required.
fix order of fields in the 'send announce' packets going to udp trackers
Fix peer reporting in the UDP announce response
@mpetazzoni
Copy link
Owner

Any particular reason you're faking a browser user agent instead of setting something more specific, like User-Agent: ttorrent(<version>) ? If the tracker is only checking for the presence of a user agent, it would work fine all the same, but actually be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.