How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Allow IPv6 and IPv4 in Licensing Module



182 Votes
Login to Vote
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!
Merged Ideas
    Allow WHMCS license to contain both an IPv4 and an IPv6 address
    When our license only had our IPv4 address allocated, admins could only connect to the admin control panel using IPv4. If they tried to connect using IPv6 (which happens automatically if possible by the user on our website) then they would be presented with an invalid license error. We reissued the license and when it had the IPv6 address allocated then the same problem happened but with anybody connecting using IPv4. Now that both the IPv6 and IPv4 addresses are allocated to our license this issue has gone away. To fix this the only way is to contact licensing to manually add both addresses to your license. As IPv6 becomes more widespread this issue will become a major problem down the road so the best thing to do is to add this feature before that happens.
    IPv6 For Licensing
    Hi!As IPv4's are to be forgotten about, as less and less are available, I find it very important that WHMCS put's IPv6 upfront.As of right now, we have to contact support to add our IPv6 to our licence. If that could be automatic, that would be great.Also, it would be nice if there was an alert in system health if ipv6 is not enabled.The global transition to V6 starts by IT providers, and WHMCS is the platform for a huge amount of IT and Cloud providers.Cheers,

28 Comments

Login to post a comment.

How would we handle this with a single license status? So like right now when a license is reissued we replace the allowed location when it is next accessed. When we store that the license status then changes to Active. How would we determine when to store another? How would we know when not to allow access from another?
I think on the license module side, if you duplicate the code path existing for the IP address tracking and put conditional wrappers on them to only work for IPv4 or IPv6.

E.g. If the code path checks the inbound connection's source IP address against the stored information in the database. If it matches respond with a positive, OR if not, reply negative. If it's a new license, accept source IP with positive response then store source IP in database.

Would become, check inbound source IP to see if IPv4 or IPv6. (The rest of the steps is the same, replace IP address with appropriate IPv4 or IPv6. Each IP type would be stored in it's on record/field). Check to see if source IP address is valid, if so respond positive, if not respond negative, if no existing IP address to match then respond positive and store it.
Yeah, this is becoming increasingly a problem, not only for me but also for WHMCS, who had to manually add IPv6 for my licenses.
I think Peter Bin's suggestion would be just fine, please implement! :)
The module stores the first IP which is connected. This can be IPv4 or IPv6. When one of those is stored, the other one will not be stored.

My suggestion is to only store the first IPv4 and the first IPv6 addresses which connect. So If the initial connection is IPv4, store the IPv4 address. When a second connection is IPv4, don't store the IPv4. When a second/fourth/fifth/etc... connection is IPv6, store the IPv6 too, but when the next connection is IPv4 or IPv6, don't store that new address.

Only store the first IPv4 and IPv6 addresses.
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?
This is a real problem. WHMCS should support IPv6 in this module as soon as possible since IPv6 is the new standard.
I need to do the same also
This is the exact problem I have just experienced. To fix this the only way is to contact licensing to manually add both addresses to your license. As IPv6 becomes more widespread this issue will become a major problem down the road so the best thing to do is to add this feature before that happens.