This forum has been archived. All content is frozen. Please use KDE Discuss instead.

HOWTO: Share your files with KTorrent without a tracker

Tags: None
(comma "," separated)
remram44
Registered Member
Posts
5
Karma
0

Sat Jul 05, 2008 5:59 pm
Yes it is.
George
Moderator
Posts
5421
Karma
1

Mon Jul 07, 2008 9:12 am
Are you sure that the clients can reach each other ?
remram44
Registered Member
Posts
5
Karma
0

Mon Jul 07, 2008 10:40 am
They are running on the same computer, so I believe they can.
George
Moderator
Posts
5421
Karma
1

Mon Jul 07, 2008 4:27 pm
OK, what IP address did you add to the torrent ?

Also, why are you going to this trouble, when you can just point both clients to the same data and do a data scan ?
remram44
Registered Member
Posts
5
Karma
0

Tue Jul 08, 2008 12:55 pm
I'm trying on the same computer because I only have one computer. My goal is to be able to do this between distant computers, and when it works I will have to try that configuration too.

I added the IP "127.0.0.1" with the port I use for the DHT, and "127.0.0.1" with the port I use for incoming connections too (I'm unsure which one is expected).

I will try stracing the whole thing to see if a connection is attempted.
remram44
Registered Member
Posts
5
Karma
0

Sat Jul 12, 2008 5:55 pm
I just tested "strace -e trace=network ktorrent", and it seems that there is a connection attempt to the client possessing the file, but seems it is UDP it is hard to figure out what goes wrong.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Sat Nov 01, 2008 11:44 pm
I'm trying to get this going, but cannot set it up properly.
On server with static IP I have ktorrent 3.1.4 and on distant client older for kde 3.5.9.

So on server I created a torrent with IP+6881 dht node - trackerless.
On client I loaded this torrent, but it is not reaching server, even if I manually add peer with server IP on client, I cannot see client IP in ktorrent log on server side, so it is not reaching it.
But if I add client peer on server then immediatelly it starts uploading to client.
Shouldn't it work the other way? Which of ports should I use when creating torrents?

I checked firewalls on both ends and they seems to be set up properly.
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Nov 18, 2008 4:41 pm
kriko wrote:I'm trying to get this going, but cannot set it up properly.
On server with static IP I have ktorrent 3.1.4 and on distant client older for kde 3.5.9.

So on server I created a torrent with IP+6881 dht node - trackerless.
On client I loaded this torrent, but it is not reaching server, even if I manually add peer with server IP on client, I cannot see client IP in ktorrent log on server side, so it is not reaching it.
But if I add client peer on server then immediatelly it starts uploading to client.
Shouldn't it work the other way? Which of ports should I use when creating torrents?

I checked firewalls on both ends and they seems to be set up properly.


I agree it should work the other way around, that when you add the peer on the client that it would start leeching immediately. Port... well, seeing that some network providers are lowering the bandwidth on the normal bittorrent port, you would be best in the free port range, which is 49152-65535.
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS

Tue Nov 18, 2008 5:05 pm
I already use port 50000+ on both sides, UDP tracker port is set to 4444, DHT to 6881. Maybe it's ktorrent bug - not sure.
pookito
Registered Member
Posts
6
Karma
0

ktorrent clients

Fri Apr 10, 2009 6:22 pm
In order to seed directly to the other torrent, the other torrent has to be ktorrent as well? that is my question.
George
Moderator
Posts
5421
Karma
1

Re: ktorrent clients

Tue May 19, 2009 8:46 am
pookito wrote:In order to seed directly to the other torrent, the other torrent has to be ktorrent as well? that is my question.


Not really, it just a matter of getting connected, client doesn't really matter.
pookito
Registered Member
Posts
6
Karma
0
Ok guys, here is my problem. I have been trying to make this work for the longest time. Since I last posted. And still I can not get ktorrent to work and share files. I give you an example. for the tracker I do the ip address plus the port. Something like this: http://xxx.x.x:444/announce. I try the other torrent client and add my ip address and port. Well, it does not work. After several attempts I noticed on the "trackers tab" a message that says: "Could not connect to host xxx.xxx.x.x: Connection refused." So, Am I supposed to have that problem? Or can I do something else to fix it?

Something else. I noticed that on the first post on this thread it talks about writting the port number in the torrent. What port would that be? because I can see 2 port numbers on network section. The first it says port only and the other is the UDP tracker port. So which one should I write down?

Thanks for your response
George
Moderator
Posts
5421
Karma
1
pookito wrote:Ok guys, here is my problem. I have been trying to make this work for the longest time. Since I last posted. And still I can not get ktorrent to work and share files. I give you an example. for the tracker I do the ip address plus the port. Something like this: http://xxx.x.x:444/announce. I try the other torrent client and add my ip address and port. Well, it does not work. After several attempts I noticed on the "trackers tab" a message that says: "Could not connect to host xxx.xxx.x.x: Connection refused." So, Am I supposed to have that problem? Or can I do something else to fix it?


What exactly are you trying to do ? Where is the tracker running ? Are you using your local IP address for the tracker ?
User avatar
kriko
Registered Member
Posts
164
Karma
0
OS
I tried that last time and it worked (DHT-only).
The key is to add your public ip address to DHT nodes and your incoming port, right?

Also sometimes (rarely) ktorrent automatically adds some ip's under DHT nodes when creating
decentralized torrent, but not always. I'm not sure why.
jhessin
Registered Member
Posts
1
Karma
0
I tried the suggested steps to move a 60GB music collection simply on a lan - but the peer kept being "choked" and disappearing - nothing would download. Using KTorrent v4.3.1 on KDE Development Platform 4.13.3


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]