[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 141483] ktorrent uses 95% of the CPU
From: Jakub Suder <jakub.suder () gmail ! com>
Date: 2007-03-20 20:22:57
Message-ID: 20070320202257.14816.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=141483
------- Additional Comments From jakub.suder gmail com 2007-03-20 21:22 -------
Hmm... that's strange...
I forgot to tell you that I'm behind a NAT :) I have port forwarding on my server, so \
tcp & udp ports 6881 on the server are forwarded to tcp & udp ports 6881 on my \
computer. Now, when I run ethereal on the server on the external eth, I get only \
about 20 pings per second (from various addresses). But when I run it on the internal \
eth, I get about 500 per second. So it seems that all those bad pings come from my \
server... I'm not sure what to think about this, but can there be some feedback loop \
which causes ktorrent on my computer to reply to pings that come from itself?... And \
if it's all because of some error in my configuration, then why this only happens \
after some time, not immediately after ktorrent's start?
Oh, and I don't have any bittorrent clients or servers on the router computer (I \
think).
---
I don't know if this matters but here are parts of my firewall file which are \
relevant to the forwarding (I use a firewall generated by this script: \
http://easyfwgen.morizot.net/gen/):
$IPT -A udp_inbound -p UDP -s 0/0 --destination-port 6881 -j ACCEPT
$IPT -A tcp_inbound -p TCP -s 0/0 --destination-port 6881 -j ACCEPT
$IPT -A FORWARD -p tcp -i $INET_IFACE --destination-port 6881 --destination 10.1.1.21 \
-j ACCEPT $IPT -A FORWARD -p udp -i $INET_IFACE --destination-port 6881 --destination \
10.1.1.21 -j ACCEPT
$IPT -t nat -A PREROUTING -p tcp -i $INET_IFACE --destination-port 6881 \
-j DNAT --to-destination 10.1.1.21
$IPT -t nat -A PREROUTING -p tcp -i $LOCAL_IFACE --destination-port 6881 \
--destination $INET_ADDRESS -j DNAT --to-destination 10.1.1.21
$IPT -t nat -A PREROUTING -p udp -i $INET_IFACE --destination-port 6881 \
-j DNAT --to-destination 10.1.1.21
$IPT -t nat -A PREROUTING -p udp -i $LOCAL_IFACE --destination-port 6881 \
--destination $INET_ADDRESS -j DNAT --to-destination 10.1.1.21
I don't have any firewall on the desktop computer (I don't need one, at least in \
Linux, as I have a firewall on the server...).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic