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

ktorrent and ports

Tags: None
(comma "," separated)
sek.tor
Registered Member
Posts
59
Karma
0
OS

ktorrent and ports

Sun May 23, 2010 7:56 pm
now my ktorrent listen port 58243 over ipv6. how i can switch it to ipv4?
George
Moderator
Posts
5421
Karma
1

Re: ktorrent and ports

Mon May 24, 2010 8:08 am
You can disable it in some config file somewhere (I think). However why do you want to do this ? This is not necessary at all, linux uses a dual stack implementation which means that if you are listening on :::58243, you are also listening on the IPv4 equivalent 0.0.0.0:58243
sek.tor
Registered Member
Posts
59
Karma
0
OS

Re: ktorrent and ports

Tue May 25, 2010 11:22 am
maybe it's issue in my system. at work and at home i'm using debian squeeze/sid and ktorrent (4.0beta2) listen only ipv6 port:
Code: Select all
xsektorx@work-325:~$ nmap 127.0.0.1 -p 58243

Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-25 15:24 MSD
Interesting ports on localhost (127.0.0.1):
PORT      STATE  SERVICE
58243/tcp closed unknown

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
Code: Select all
xsektorx@work-325:~$ nmap ::1 -p 58243 -6

Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-25 15:25 MSD
Interesting ports on localhost (::1):
PORT      STATE SERVICE
58243/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
MoDaX
Registered Member
Posts
241
Karma
0
OS

Re: ktorrent and ports

Tue May 25, 2010 2:38 pm
sek.tor wrote:maybe it's issue in my system. at work and at home i'm using debian squeeze/sid and ktorrent (4.0beta2) listen only ipv6 port:

Yes, IPv4-mapped addresses are disabled on Debian squeeze/sid by default (and majority of other non-Linux OSes too)

See http://lists.debian.org/201005251113.07 ... vainius.eu , https://bugs.kde.org/show_bug.cgi?id=238688
sek.tor
Registered Member
Posts
59
Karma
0
OS

Re: ktorrent and ports

Tue May 25, 2010 7:30 pm
can i fix it by recompile with bindv6only=0?
MoDaX
Registered Member
Posts
241
Karma
0
OS

Re: ktorrent and ports

Tue May 25, 2010 9:43 pm
sek.tor wrote:can i fix it by recompile with bindv6only=0?

This is kernel option, so
Code: Select all
echo 0 > /proc/sys/net/ipv6/bindv6only
or
Code: Select all
sysctl net.ipv6.bindv6only=0
. But you can simply install packages mentioned in the mail. I'm Debian maintainer of the ktorrent package so those packages are as official as you can get at this point (libktorrent has been stuck in NEW queue for 2+ weeks, I can't do anything to speed things up).
sek.tor
Registered Member
Posts
59
Karma
0
OS

Re: ktorrent and ports

Wed May 26, 2010 6:45 pm
thanks a lot, solved


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]