bind ip by network interface instead of ip address

Bug #1670536 reported by Sopor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AirDC++
New
Undecided
Unassigned

Bug Description

AirDC can bind the IP address to a network interface but it will also bind to a specific IP address and this will make it fail if my dynamic public IP address will change. Instead it should be possible to bind it to the network interface. I have seen programs (qBittorrent for example) that have both options and it is working perfect. Today i got a new IP address while i was connected and AirDC couldn't connect to any of the hubs "The requested address is not valid in its context." until i changed it. The funny thing is that AirDC will show the network interface name but it will also show the IP address. Why not bind it only to the name of the network interface?
In the attached picture you can see it is using the network interface 'bb2-wan' but it is still using 'All addresses'. If i want to i can even bind it to an optional IP address. The picture is from qBittorrent.
When running with several network interface i need to tell AirDC how it should connect to internet. If i use "Any (0.0.0.0)" it sometimes use the internal IP address and connect to internet. I want it to use a public IP address and this address is a dynamic IP address so that will sometimes make it change. It doesn't happen so often but it is still very annoying when it happens and i can't be the only users with this problem and experience this as annoying?

Revision history for this message
Sopor (sopor) wrote :
Revision history for this message
Sopor (sopor) wrote :
Revision history for this message
Sopor (sopor) wrote :

One thing i need to correct. It seems that qBittorrent need to be restarted after the IP address has been changed even if it is bind to the interface. I don't even know if it is possible to do or the authors of qBittorrent have made something wrong?

Revision history for this message
Sopor (sopor) wrote :

Today i got a new IP address from my ISP and i could see this message in every hub 'The requested address is not valid in its context.' I then open the connection settings in Airdc and i could read 'unknown and my old ip address'. So i selected the same network name 'bb2 and my new ip address' and from the menu windows i did a 'Reconnect disconnected' and i got connected again.
It worked without any restart of Airdc too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.