Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Allow IPv6 and IPv4 in Licensing Module

Stream101 shared this idea 4 years ago
Investigating

Lets get WHMCS to add a feature to allow both IPv6 and IPv4 addresses. Make it an option within the module if you want to allow that or not. When an IPv4 first connects back, it registers it, same thing happens with the v6 address. Depending on my cell phone service, I sometimes connect to WHMCS in ipv6 which says I'm unlicensed. I have to reissue it and then can login. I did find out if you ask, you can get it manually put in, but that could save me a headache and them time!

Thanks!

Best Answer
photo

For clarification, the licensing addon already supports IPv6 today.

What we believe is being requested here is to automatically store both the IPv4 and IPv6 address at the time of the initial check-in for a license. The way it works today is the IP the user connects from is stored. How are you proposing that the other IP be automatically detected?

Comments (17)

photo
1

Hi there,

WHMCS is written in PHP so doesn't do IP address detection itself, it comes form PHP's SERVER_ADDR variables. So provided your PHP configuration is IPv6 aware, then WHMCS' licensing will be too.

photo
1

John, please consider to change the tag "Already Possible" as the issue is not the IPv6 Address itself, that works.

The issue is when you run WHMCS on a dual stack where license calls are coming randomly from IPv4 and IPv6 addresses.

photo
photo
1

The Addon works for IPv6 and for IPv4 but not with both at the same time. A server with dual stack will certainly have troubles when it comes to validate as license validation request are coming in randomly, with IPv4 or IPv6 addresses.

The Licensing Addon is a great tool and you should take in consideration to add support for dual stack

photo
1

It is an absolute must that the licensing addon IPv4 and IPv6 automatically detects. It is annoying for the customer to create a ticket to add the missing IP manually, because the module only recognizes one IP and not one IPv4 AND one IPv6. In the worst case the module does not work at the customer because the IPv4 is recognized and stored, but the connection is running over IPv6.

For the customer it is annoying and for us this means unnecessary support effort and annoyance if the module does not run at the customer. The detection of IPv4 and IPv6 could be easily checked with FILTER_FLAG_IPV4 and FILTER_FLAG_IPV6.