Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NIC Bind + ipv6 enabled causes qbittorrent to only listen on ipv6. #8291

Closed
xinot89 opened this issue Jan 20, 2018 · 7 comments
Closed

NIC Bind + ipv6 enabled causes qbittorrent to only listen on ipv6. #8291

xinot89 opened this issue Jan 20, 2018 · 7 comments
Labels
autoCloseOldIssue Network Issues related to network connectivity

Comments

@xinot89
Copy link

xinot89 commented Jan 20, 2018

qBittorrent version and Operating System

Qbittorrent 4.0.3, Windows server 2012 R2

What is the problem

Qbittorrent won't listen on ipv4 port when NIC bind and IPV6 are enabled.

What is the expected behavior

Qbittorrent listening ipv4+ipv6 at same time with NIC bind enabled.

Steps to reproduce

On machine with several network interfaces, bind to one + enable ipv6.

Extra info(if any)

No bind & ipv6 unticked qbittorrent still listens on both stacks, same thing with ipv6 ticked without NIC binding.
With NIC bind with ipv6 unticked there's no listening ipv6 ports on binded or any other NICs.
With both, NIC bind + ipv6 ticked qbittorrent only listens to that bound NIC's IPV6 address.
If i disable ipv6, qbittorrent listens to bound IPV4 interface normally.

Listening interfaces / ip versions checked from windows' resource manager.

@xinot89
Copy link
Author

xinot89 commented Jan 20, 2018

...Specific ip address to bind -field is also set "All addresses"

If i select ipv6 address to this field, everything continues same way, as with "All addresses"
If i select ipv4 address to this field, qbittorrent stops listening ipv6 and starts listening ipv4 loopback interface. (my bad, had ipv6 ticked with ipv4 address bound so that's not so relevant bug, without ipv6 ticked listens as expected at specified ip)

@senposage
Copy link

related ?
#8258

@DefiantPenguin
Copy link

DefiantPenguin commented Jan 24, 2018

IPv6 issue with SOCKS5 as well. When Ipv6 option is selected and proxy you're using doesn't support IPv6 no fallback to IPv4; what makes worse is that this is intermittent.

I didn't bind to a specific interface or address

@xinot89
Copy link
Author

xinot89 commented Jan 24, 2018

Managed to reproduce original problems with qBittorrent 4.0.3 on Windows 10 pro x64 (Clean install):

Without bind, ipv6 tick box doesn't do anything to listening ports, qBittorrent by default listens to v4&v6. With bind you can choose with tick box whether to listen v4 or v6 but not both simultaneously under any circumstances.

@ngosang ngosang added the Network Issues related to network connectivity label Sep 22, 2018
@e00E
Copy link

e00E commented Jan 8, 2019

I can confirm this bug on Linux. I have both ipv4 and ipv6. As pointed out already when using Any Interface and not ticking Listen on IPv6 address qbittorrent binds to both ipv4 and ipv6. This is expected according to the libtorrent setting listen_interfaces.
When selecting a specific interface and not ticking the box only ipv4 is bound and when ticking the box only ipv6 is bound.
This is not in accord with the qbittorrent documentation https://github.com/qbittorrent/qBittorrent/wiki/Explanation-of-Options-in-qBittorrent#Advanced :

allows qBittorrent to listen on IPv6 address in addition to the old, standard IPv4.

@Ovsyanka
Copy link

Any news about this issue? I faced with the same situation on linux @e00E described.

@sledgehammer999
Copy link
Member

This issue has been closed and locked for being too old, and thus either most likely resolved in recent versions or no longer applicable.
If you experience the reported problem or similar in the latest version, please open a new issue report with the requested information in the issue template.

A new issue report with relevant updated data gathered from the latest version is preferable to necroing an old report with a comment like "still happens in version x.y.z", even if you think the bug is the same, or suspect of a regression.
Due to the changes made to the qBittorrent code and its dependencies over time, the exact cause of your problem could be totally different than the original one, despite the visible symptoms of the bug being similar.
Thus, providing relevant updated information is crucial to find and fix the root cause of a recurrent problem or regression.

Thank you for your contributions.

@qbittorrent qbittorrent locked and limited conversation to collaborators Oct 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autoCloseOldIssue Network Issues related to network connectivity
Projects
None yet
Development

No branches or pull requests

7 participants