You are not logged in.

#1 2012-04-22 17:28:19

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Strange tcp connections while downloading torrent

I was looking at netstat while downloading a torrent and saw some output that I do not understand:

snip
tcp        0      0 192.168.1.13:63964      192.168.1.13:51181      TIME_WAIT  
tcp        0      0 127.0.0.1:63964         127.0.0.1:51175         TIME_WAIT 
snip

192.168.1.13 is me. I may (am) just be ignorant as to how this works. But why is my machine making a connection to itself? Is that normal? I would be happy with any insight into this.

Offline

#2 2012-04-22 21:14:03

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Strange tcp connections while downloading torrent

Which torrent client? Deluge? Because it looks similar to this: http://dev.deluge-torrent.org/wiki/Faq# … ificdaemon


AFAIK, Deluge is a GUI for the libtorrent daemon.

The default port is "58846", just like in the Web UI example. And your ports (which are also in the 49152-65535 range) I think are like that because you set them that way, either from Preferences - Daemon - Daemon port, or from Preferences - Network.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-04-22 21:22:52

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: Strange tcp connections while downloading torrent

DSpider wrote:

Which torrent client? Deluge? Because it looks similar to this: http://dev.deluge-torrent.org/wiki/Faq# … ificdaemon


AFAIK, Deluge is a GUI for the libtorrent daemon.

The default port is "58846", just like in the Web UI example. And your ports (which are also in the 49152-65535 range) I think are like that because you set them that way, either from Preferences - Daemon - Daemon port, or from Preferences - Network.

Ah sorry for the vaguely low amount of information. Yes I am using deluge gtk gui and pdnsd. I do not have to start a daemon manually. So if it does start it would be due to opening deluge I guess. What I don't understand is the connections:

local ip adress --> local ip address

and

localhost --> localhost

The only thing I can think of is that it has something to do with the torrent "announce" tracker update while downloading maybe; but other than that I am lost as to why this happens.

Offline

#4 2012-04-22 21:30:27

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Strange tcp connections while downloading torrent

I'm pretty sure it's to communicate with the daemon but you can ask the question on their forums or visit #deluge on irc.freenode.net.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-04-22 21:32:02

dodo3773
Member
Registered: 2011-03-17
Posts: 818

Re: Strange tcp connections while downloading torrent

DSpider wrote:

I'm pretty sure it's to communicate with the daemon but you can ask the question on their forums or visit #deluge on irc.freenode.net.


Okay. I will post back with answer if I get one on #deluge.

Offline

Board footer

Powered by FluxBB