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

Problem uploading files

Tags: None
(comma "," separated)
rihad
Registered Member
Posts
25
Karma
0
OS

Problem uploading files

Thu Apr 25, 2013 4:33 am
Hi, all. I changed my home ISP a couple of days ago and ever since then I've uploaded 0 bytes to anyone, which can't be a coincidence, normally my upload ratio is about 250-300 mb daily. Downloading files functions as it normally would. On my side all public TCP/UDP ports on the box using Ktorrent are accessible. My ISP may be blocking the relevant incoming ports? TCP/UDP 6881, 8881? What else? Can I change those values to something else and expect them to work? Thanks.


KTorrent
Version 4.1.1
Using KDE Development Platform 4.7.4 (4.7.4)
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Fri Apr 26, 2013 6:46 pm
Update: I could successfully bind a web server on port 6881 and view it from the outside world on this site: https://www.sumrando.com/proxy.aspx by entering http://mysite.com:6881/

So my ISP doesn't block port 6881 and it's perfectly reachable for new TCP connections. At the same time I successfully viewed a 2103 byte text file, and ruled out the possibility of weird MSS PPPoE issues with Ethernet frames bigger than 1412 bytes or so. What else could prevent Ktorrent from uploading?..


Update 2: uTorrent on Windows XP (I have dual boot) has EXACTLY this same issue of silently not being able to upload one very popular file to anyone. 0 bytes there too...

My ADSL modem is a 10 year old: D-Link DSL-302T, although torrent uploading worked with my former ISP. Very weird...
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Fri Apr 26, 2013 7:06 pm
OMG, I cannot believe this, after all this 3 day hassle, Ktorrent has just started uploading! Port 6881 as always. This was very weird. It must be me calling my ISP support yesterday and today. The peer is currently downloading through TCP, I have both TCP and uTP enabled (which is simply wrapped into TCP anyway).
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Sat Apr 27, 2013 10:16 am
Something's still not good. I've only uploaded 48 kilobytes (!) today... It looks like only about 1-2% of users willing to download from me can actually do that.
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Sun Apr 28, 2013 4:54 am
My iptables has been configured to log all packets about to be dropped. Here's what I've found about port 6881:

[ 2014.188563] IN= OUT=ppp0 SRC=x.y.98.245 DST=178.121.92.79 LEN=86 TOS=0x00 PREC=0xC0 TTL=64 ID=46300 PROTO=ICMP TYPE=3 CODE=3 [SRC=178.121.92.79 DST=x.y.98.245 LEN=58 TOS=0x00 PREC=0x00 TTL=117 ID=63994 PROTO=UDP SPT=57944 DPT=6881 LEN=38 ]

x.y.98.245 is my address. It seems like my computer sends ICMP port unrechable (type=3, code=3) to all requests on its port 6881. Why? I have "All interfaces" configured in Ktorrent that it should listen on, I can't only pick ppp0 because if the PPPoE connection is dropped and reestablished I'm likely to get a new dynamic address and Ktorrent will stall. In Linux it's shown as tcp6:

$ sudo netstat -tunap|fgrep :6881
tcp6 0 0 :::6881 :::* LISTEN 3271/ktorrent
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Sun Apr 28, 2013 5:51 am
Here's my ktorrent log:
Sun Apr 28 10:49:21 2013: Authentication(S) to 188.32.209.244 : failure
Sun Apr 28 10:49:24 2013: FreeBytes 57.11 GiB
Sun Apr 28 10:49:24 2013: Downloaded 241.63 MiB
Sun Apr 28 10:49:24 2013: Remaining 1.82 GiB
Sun Apr 28 10:49:25 2013: Timeout occurred
Sun Apr 28 10:49:25 2013: Authentication(S) to 93.89.107.58 : failure
Sun Apr 28 10:49:25 2013: Accepted connection from 151.46.8.45:2102
Sun Apr 28 10:49:25 2013: Timeout occurred
Sun Apr 28 10:49:25 2013: Authentication(S) to 78.62.179.217 : failure
Sun Apr 28 10:49:29 2013: Piece cache: memory in use 1.67 MiB, memory freed 0 B
Sun Apr 28 10:49:29 2013: Accepted connection from 193.169.37.68:57389
Sun Apr 28 10:49:30 2013: Timeout occurred
Sun Apr 28 10:49:30 2013: Authentication(S) to 151.46.8.45 : failure
Sun Apr 28 10:49:34 2013: Timeout occurred
Sun Apr 28 10:49:34 2013: Authentication(S) to 193.169.37.68 : failure
Sun Apr 28 10:49:37 2013: Accepted connection from 5.228.80.19:8774
Sun Apr 28 10:49:39 2013: DHT: Got 1 potential peers for torrent Брэк! (www.kinokopilka.tv)
Sun Apr 28 10:49:39 2013: Initiating connection to 183.178.188.107 via (TCP)
Sun Apr 28 10:49:39 2013: Piece cache: memory in use 1.78 MiB, memory freed 0 B
Sun Apr 28 10:49:41 2013: DHT: got findNode request
Sun Apr 28 10:49:42 2013: Accepted connection from 92.46.157.10:1304
Sun Apr 28 10:49:42 2013: DHT: got findNode request
Sun Apr 28 10:49:42 2013: Timeout occurred
Sun Apr 28 10:49:42 2013: Authentication(S) to 5.228.80.19 : failure
Sun Apr 28 10:49:43 2013: Accepted connection from 91.122.134.105:49226
Sun Apr 28 10:49:44 2013: Timeout occurred
Sun Apr 28 10:49:44 2013: Authentication to 183.178.188.107 : failure
Sun Apr 28 10:49:45 2013: DHT: AnnounceTask done
Sun Apr 28 10:49:45 2013: DHT: got findNode request
Sun Apr 28 10:49:45 2013: Accepted connection from 58.111.194.152:52405
Sun Apr 28 10:49:45 2013: Authentication(S) to 58.111.194.152 : failure


What are those Authentication failures & timeouts?
rihad
Registered Member
Posts
25
Karma
0
OS

Re: Problem uploading files

Sun Apr 28, 2013 11:29 am
Lots of "Cannot find PeerManager for hash" errors.
Sun Apr 28 16:26:38 2013: Initiating connection to 95.28.126.173 via (UTP)
Sun Apr 28 16:26:38 2013: Timeout occurred
Sun Apr 28 16:26:38 2013: Authentication to 109.167.253.68 : failure
Sun Apr 28 16:26:38 2013: Initiating connection to 109.167.253.68 via (TCP)
Sun Apr 28 16:26:38 2013: UTP: established connection with 95.28.126.173:33721
Sun Apr 28 16:26:38 2013: DHT: got getPeers request
Sun Apr 28 16:26:39 2013: Accepted connection from 210.6.148.106:60960
Sun Apr 28 16:26:39 2013: Accepted connection from 176.195.17.123:45823
Sun Apr 28 16:26:39 2013: Switching back to normal server authenticate
Sun Apr 28 16:26:39 2013: Cannot find PeerManager for hash : d61cb2fb50250390ad28740053bb0b5e829a69e5
Sun Apr 28 16:26:39 2013: Authentication(S) to 210.6.148.106 : failure
Sun Apr 28 16:26:39 2013: Authentication to 95.28.126.173 : ok
Sun Apr 28 16:26:39 2013: UTP: Connection 9123|9124 closed
Sun Apr 28 16:26:39 2013: Connection closed
Sun Apr 28 16:26:39 2013: DHT: got findNode request
Sun Apr 28 16:26:39 2013: DHT: got getPeers request
Sun Apr 28 16:26:40 2013: Initiating connection to 95.84.201.175 via (UTP)
Sun Apr 28 16:26:40 2013: Accepted connection from 180.218.112.145:49194
Sun Apr 28 16:26:40 2013: Accepted connection from 101.176.131.107:56669
Sun Apr 28 16:26:40 2013: Switching back to normal server authenticate
Sun Apr 28 16:26:40 2013: Cannot find PeerManager for hash : d57fc7f1db4f7c0884a979747f71e2aaf52d3997
Sun Apr 28 16:26:40 2013: Authentication(S) to 101.176.131.107 : failure
Sun Apr 28 16:26:41 2013: Timeout occurred
Sun Apr 28 16:26:41 2013: Authentication to 95.24.41.81 : failure
Sun Apr 28 16:26:41 2013: Initiating connection to 95.24.41.81 via (TCP)
Sun Apr 28 16:26:42 2013: UTP: established connection with 128.70.176.88:35691
Sun Apr 28 16:26:43 2013: Accepted connection from 128.70.176.88:59906
Sun Apr 28 16:26:43 2013: Accepted connection from 95.27.214.82:58681
Sun Apr 28 16:26:43 2013: Authentication(S) to 128.70.176.88 : ok
Sun Apr 28 16:26:43 2013: Timeout occurred
Sun Apr 28 16:26:43 2013: Authentication to 109.167.253.68 : failure
Sun Apr 28 16:26:43 2013: Initiating connection to 109.167.253.68 via (UTP)
Sun Apr 28 16:26:43 2013: Accepted connection from 114.184.145.75:54717
Sun Apr 28 16:26:43 2013: Switching back to normal server authenticate
Sun Apr 28 16:26:43 2013: Cannot find PeerManager for hash : db45e336b4f8970d054ac51ddd9055f0c5893051
Sun Apr 28 16:26:43 2013: Authentication(S) to 114.184.145.75 : failure
Sun Apr 28 16:26:43 2013: Piece cache: memory in use 4.39 MiB, memory freed 0 B
Sun Apr 28 16:26:43 2013: FreeBytes 56.99 GiB
Sun Apr 28 16:26:43 2013: Downloaded 364.39 MiB
Sun Apr 28 16:26:43 2013: Remaining 1.70 GiB
Sun Apr 28 16:26:44 2013: Timeout occurred
Sun Apr 28 16:26:44 2013: Authentication(S) to 176.195.17.123 : failure
Sun Apr 28 16:26:44 2013: Authentication(S) to 95.27.214.82 : failure


Interestingly I have been able to seed about 100 mb worth of data today for one of the torrents (all my data was obtained from the single tracker).


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell