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

Port forwarding problem

Tags: None
(comma "," separated)
Stator
Registered Member
Posts
6
Karma
0

Port forwarding problem

Thu Jan 12, 2006 1:05 pm
Ih i am using gentoo and 1.2rc1 ktorrent.

i need help with port forwarding

Here is my router configuration

Image

How can i check thet this is working? or i have done something wrong?


PS: sorry for bad english :)
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Jan 12, 2006 2:34 pm
Is that 10.0.1.54 your NIC? Cause it has to be forwarded to this ip adres.

Also, AFAIK it's better to take a random port between 1024 and 65534, since upto 1024 are priviliged ports.
Taking a random port instead of the standard might make it harder for ISP's to recover your port and lower the bandwidth. (some ISP's do that stuff, yours might not though)

Personaly i set ports for bittorrent in the 49xxx range, but this might be incorrect the faq of a specific tracker, so i always check this out first.
Stator
Registered Member
Posts
6
Karma
0

Thu Jan 12, 2006 3:34 pm
10.0.1.54 is IP of my comp.
So what do you say what shoud i put in first port# and last port#. And what for port# ?




Code: Select all
VoID:~ # nmap -sS 80.74.167.186

Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2006-01-12 17:47 CET
Interesting ports on DYN_186-IP-80_74_167_186.ADSL.neobee.net (80.74.167.186):
(The 1668 ports scanned but not shown below are in state: closed)
PORT   STATE SERVICE
23/tcp open  telnet
80/tcp open  http

Nmap finished: 1 IP address (1 host up) scanned in 11.075 seconds
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Jan 12, 2006 4:03 pm
Only one port should be enough for ktorrent, and AFAIK only TCP does the job. So first and end port i.e. 49172 TCP.

nmap doesn't show my bittorrent port open here too, but i am connectable on bittorrent.
I dunno about the UDP tracker port in ktorrent though.
Stator
Registered Member
Posts
6
Karma
0

Thu Jan 12, 2006 4:40 pm
Ok, how can I test is this working??
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Jan 12, 2006 5:16 pm
Not in ktorrent i think.
The way i always checked this in rufus: the peerlist must have some clients connections remote and local initiated. In rufus there is a colum for this.

Some TBsource and TBdev trackers i know report this as an error to your client.
You might have to enable the logviewer plugin for being able to spot this though.

When the tracker isn't configures to report such things, you can still login your account at the tracker and look in the peerlist where each client is tagged with "connectable: yes/no".


PS. I personally think this connectable: yes/no information might be a good feature request for the status tab in ktorrent.
George
Moderator
Posts
5421
Karma
1

Thu Jan 12, 2006 5:55 pm
We have an UPnP plugin which can do this for you. (You can load it in the preference dialog)

If you want to be sure, you can load the logviewer plugin, start a torrent and see if there are any Authentication(S) messages (The S indicates that they were incoming connections)
Stator
Registered Member
Posts
6
Karma
0

Thu Jan 12, 2006 6:11 pm
here is some log

UPnP Plug in did not find any routers

Code: Select all
DCap req_interval = 31.25
DCap req_interval = 31.25
Doing tracker request to url : udp://tracker.torrentbox.com:2710/announce
Connection Closed
Loading file /tmp/kde-stator/ktorrentZNZP4a.tmp
Encoding : UTF-8
Multi file torrent
Starting download
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Connection Closed
Connection Closed
Connection Closed
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : udp://tracker.torrentbox.com:2710/announce
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=started&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
Error : Illegal token: <
Doing tracker request to url : http://tracker.devilz-crew.org/announce.php?peer_id=-KT12R1-417078277263&port=6881&uploaded=0&downloaded=0&left=83685941&compact=1&numwant=100&key=1832433554&event=stopped&info_hash=%5b%1f%e5%00oq%9fm%10%fbb%8c%0a%90%9f%08%bb%20%19f
sizeof(CurrentChunksHeader)16
Saving 0 chunk downloads
Trying to find UPnP devices on the local network
Trying to find UPnP devices on the local network
Doing tracker request to url : udp://tracker.torrentbox.com:2710/announce
Loading file /tmp/kde-stator/ktorrentJ5VKUb.tmp
Encoding : UTF-8
Starting download
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Doing tracker request to url : udp://tracker.torrentbox.com:2710/announce
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
Doing tracker request to url : http://tracker.prq.to/announce?peer_id=-KT12R1-257855550528&port=6881&uploaded=0&downloaded=0&left=17932221&compact=1&numwant=100&key=156548232&event=started&info_hash=ID%f4%c04%cd%d2%09Y%a7%b2bD%d6%01V%c3%17%9fi
Connection Closed
Error : Timeout on server
Connection was to tracker.prq.to at port 80
Tracker Response Error
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Jan 12, 2006 6:11 pm
Thanks for this information George.
Does this S also applies when UPnP is not enabled?

@Stator
You should better remove your passkey from the log.

EDIT
@Stator
Your passkey is the number after key=
It is bound to your account and thus to your ratio on that tracker.

Last edited by stoeptegel on Thu Jan 12, 2006 8:16 pm, edited 1 time in total.
Stator
Registered Member
Posts
6
Karma
0

Thu Jan 12, 2006 6:41 pm
What is the passkey? :oops: :roll:
George
Moderator
Posts
5421
Karma
1

Thu Jan 12, 2006 6:42 pm
stoeptegel wrote:Thanks for this information George.
Does this S also applies when UPnP is not enabled?


Yeah.

@Stator

The log only shows lots of trackers not responding (that stupid one from the piratebay). You need a running torrent to verify this, you could try a torrent of a popular linux distro for a minute or so,
Stator
Registered Member
Posts
6
Karma
0

Thu Jan 12, 2006 6:50 pm
Code: Select all
Connection Closed
Authentication to 88.106.74.117 : ok
Authentication to 85.216.7.111 : ok
Authentication to 85.75.185.83 : ok
Authentication to 69.231.76.182 : ok
Connection Closed
Socket error : remote host closed connection
Authentication to 84.185.187.194 : failure
Authentication to 64.121.4.10 : ok
Socket error : remote host closed connection
Authentication to 82.174.15.183 : failure
Authentication to 131.104.220.136 : ok
Socket error : remote host closed connection
Authentication to 58.8.245.124 : failure
Socket error : remote host closed connection
Authentication to 24.28.65.41 : failure
Socket error : remote host closed connection
Authentication to 202.150.11.30 : failure
Socket error : remote host closed connection
Authentication to 203.167.31.158 : failure
Authentication to 80.100.16.177 : ok
Connection Closed
Authentication to 85.140.232.136 : ok
Authentication to 83.135.143.52 : ok
Authentication to 59.167.131.198 : ok
Authentication to 87.110.1.132 : ok
Authentication to 212.100.54.39 : ok
Authentication to 84.159.123.207 : ok
Connection Closed
Socket error : remote host closed connection
Authentication to 210.155.223.39 : failure
Authentication to 81.77.21.2 : ok
Authentication to 81.57.39.195 : ok
Authentication to 210.5.108.3 : ok
Connection Closed
Timeout occured
Authentication to 81.189.100.78 : failure
Timeout occured
Authentication to 80.138.11.115 : failure
Timeout occured
Authentication to 82.238.142.5 : failure
Timeout occured
Authentication to 70.109.100.7 : failure
Timeout occured
Authentication to 134.130.240.92 : failure
Timeout occured
Authentication to 59.167.20.212 : failure
Timeout occured
Authentication to 69.198.251.185 : failure
Timeout occured
Authentication to 217.165.171.148 : failure
Doing tracker request to url : udp://tracker.torrentbox.com:2710/announce
Timeout occured
Authentication to 217.127.118.188 : failure
Timeout occured
Authentication to 84.148.126.211 : failure
Timeout occured
Authentication to 82.46.8.245 : failure
Connection Closed
Connection Closed
Chunk 26 downloaded
nb = 12932612
nb = 13107
nb = 39321
nb = 26214
nb = 52428
nb = 13762
nb = 39976
nb = 262144
nb = 196476
nb = 12976
nb = 39059
nb = 2044854
nb = 13107
nb = 39321
nb = 340656
nb = 288227
nb = 183631
nb = 314572
nb = 144179
nb = 12976
nb = 39059
Chunk 3 downloaded
nb = 629276
nb = 13107
nb = 39190
Connection Closed
nb = 1952841
nb = 44564
nb = 217579
nb = 275251
Chunk 137 downloaded
nb = 340656
nb = 78643
nb = 603062
nb = 12976
nb = 39059
nb = 419561
nb = 13107
nb = 39321
George
Moderator
Posts
5421
Karma
1

Thu Jan 12, 2006 7:04 pm
I'm not seeing any Authentication(S), but the snippet could be to short.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]