![]() Registered Member ![]()
|
Hello.
I've turned to the bittorrent protocol quite lately, so I'm not accustomed to what a usual speed would be, how other clients behave, what exactly trackers are etc. However, my pipe can handle 100kB/s (ie. kilobytes) while ktorrent usually downloads at 2-5kB/s average speed with spikes to 30kB/s from time to time. Some torrents do come at 40kB/s (well, I've decided to post since this is the second and... I saw on the forums it's a pretty common problem) First question is... is this related to the torrent or with the client? Second issue I've seen it's with the NAT/firewall. I've forwarded the TCP port correctly, however the UDP port forward does not process data. I can see this through the iptables stats. netstat -an | grep 4444 shows no socket listening on udp port 4444 on the client. Is this to be expected? iptraf shows no UDP traffic on port 4444 on the firewall. Should it? Third issue... I'm not sure if I forwarded the UDP port correctly, and I haven't found a good way of testing it yet, except to monitor stats and packets. Also I'm not planning to use UPNP... maybe a manual NAT/firewall configuration technique should be present in the FAQ (a suggestion I hope you will consider) I saw some things in another forum about watching the log, and I do get Authentication(S) in it. Here are the relevant iptables configuration lines (based on http://www.tldp.org/HOWTO/IP-Masquerade ... index.html):
And the iptables stats:
Oh and... I'm using KTorrent 1.2rc2 and now 1.2 on 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor, and the NAT is 2.6.7-hardened-r8 i686 Pentium II. |
![]() Moderator ![]()
|
Most speed problems should be gone with 1.2 final.
Most trackers use HTTP, but there are trackers which use UDP. And this port is for those, but it is only used when you have a torrent with udp trackers, which is not that common. So most off the time you will not need this port.
That's good, you get incoming connections, so I guess we can add this to the FAQ. I will update it later this evening. |
![]() Registered Member ![]()
|
Heh... here I was asking if my configuration is correct, and I find it good enough for the faq
![]() Still, I'd like to know if the UDP port forwarding is working. Do you know a torrent using an UDP tracker? I also found this link to be helpful: http://azureus.aelitis.com/wiki/index.php/Firewalling#Configuring_Iptables_.28Linux.29 |
![]() Registered Member ![]()
|
You can try registering on www.demonoid.com they have both HTTP and UDP torrent.
|
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
stupid question...
ktorrent uses only one port ? like azureus ? or uses a range beginig with the one I used in the config ?
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12 GCS d++ s+:++ a-- C+++ UL++++ P+ L++ E-- W++ N o-- K- w--- O- M- V- PS+ PE-- Y+ PGP t+ 5 X R tv+ b++ DI++ D++ G e h! r-- y ------END GEEK CODE BLOCK------ |
![]() Registered Member ![]()
|
Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]