qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.96k stars 3.95k forks source link

Cannot enable IPv6 listener #11737

Closed Mit2g closed 4 years ago

Mit2g commented 4 years ago

Please provide the following information

qBittorrent version and Operating System

qBittorrent 4.2.1

If on linux, libtorrent-rasterbar and Qt version

libtorrent-rasterbar 1.2.3

What is the problem

When I select "Enable IPv6 Listening" and restart qBittorent, then I come back to check the settings isnt working. The "Enable IPv6 Listening" is still unselected. I tried to add config to qbittorrent.conf but I dont know what should I add.

What is the expected behavior

IPv6 Listening works

Steps to reproduce

Only this setings cant work

Extra info(if any)

Nope

sledgehammer999 commented 4 years ago

When I select "Enable IPv6 Listening" and restart qBittorent

This isn't an option in 4.2.1 (and it is mentioned in the changelog too)

Mit2g commented 4 years ago

When I select "Enable IPv6 Listening" and restart qBittorent

This isn't an option in 4.2.1 (and it is mentioned in the changelog too)

It has worked as my expection now but pardon my stupid question, where i can find the changelog...

Kolcha commented 4 years ago

but WebUI still has "Listen on IPv6 address" option... Screenshot_2019-12-23_15-32-34

but seems to be it is unused, because regardless of its value (it shown as false, but I had it true in config before upgrade from 4.1.7) qBittorrent listens IPv6 addresses too:

nick@animesrv:~$ sudo netstat -tulnp | grep qbittorrent
tcp        0      0 0.0.0.0:43649           0.0.0.0:*               LISTEN      772/qbittorrent-nox 
tcp6       0      0 :::43649                :::*                    LISTEN      772/qbittorrent-nox 
tcp6       0      0 :::8080                 :::*                    LISTEN      772/qbittorrent-nox 
udp        0      0 0.0.0.0:43649           0.0.0.0:*                           772/qbittorrent-nox 
udp6       0      0 :::43649                :::*                                772/qbittorrent-nox 
nick@animesrv:~$ 

config still has it set to true (expected, I didn't change anything, and nothing can remove unused key from config):

root@animesrv:/home/nick# cat /var/lib/qbittorrent/.config/qBittorrent/qBittorrent.conf | grep -i ipv6
Connection\InterfaceListenIPv6=true
root@animesrv:/home/nick# 

qBittorrent 4.2.1, libtorrent 1.1.13 (from official Debian repo), other libs are also from Debian repo. system running Debian unstable.

sledgehammer999 commented 4 years ago

@beckball didn't mention that he uses the WebUI. The changelog is on our website. Aka here: https://www.qbittorrent.org/news.php

@Kolcha I forgot to remove the UI element. I doesn't do anything nor does it read the value. You can get same behavior is you choose All IPv6 addresses from the drop-down menu of optional addresses.

FranciscoPombal commented 4 years ago

@Kolcha I created a new wiki section for this: https://github.com/qbittorrent/qBittorrent/wiki/Explanation-of-Options-in-qBittorrent#Deprecated_options

The only way to remove the option from the config is manually (with qBittorrent closed).

FranciscoPombal commented 4 years ago

@sledgehammer999 @Kolcha https://github.com/qbittorrent/qBittorrent/pull/11745