The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED IPV6 Login Issues

Discussion in 'Security' started by deathy, Jul 13, 2016.

Tags:
  1. deathy

    deathy Active Member

    Joined:
    Apr 11, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    Hi, my isp has enabled ipv6, thus meaning that everytime i login to whm, it logs me out saying ip address has changed.

    anyway to prevent this ?

    Thanks
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,020
    Likes Received:
    1,276
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you review Effective Forum Threads and provide us with additional information about your system? Also, could you let us know the output from /usr/local/cpanel/logs/login_log and /usr/local/cpanel/logs/error_log when this happens?

    Thank you.
     
  3. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,601
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    Its your ISP be-bopping back & forth between ipv4 & ipv6 mine does it to
    only-way around it is to set Cookie IP validation to loose or disabled in tweak settings

    or just try logging in via the IPv4 address only
     
  4. deathy

    deathy Active Member

    Joined:
    Apr 11, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    My isp uses a range, i think a /64 range, therefore the ip changes within that range, as to why it keeps changing i have no idea. its something i need to speak to my isp about, as it should change unless the router reboots crashes, etc.

    I also have a similar issue with my mobile provider, which seems to change if you move closer to another tower.
     
  5. deathy

    deathy Active Member

    Joined:
    Apr 11, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    @cPanelMichael any suggestions on this as you can see the rage is 2a02:0c7f:6412:2900::1/64

    [2016-07-19 10:59:02 +0100] info [cpsrvd] 2a02:0c7f:6412:2900:xxxx:xxxx:xxxx:xxxx - root "GET /cpsessxxxxxxx/json-api/loadavg HTTP/1.1" FAILED LOGIN whostmgrd: cookie ip check: IP address has changed


    [2016-07-20 11:27:32 +0100] info [cpsrvd] 2a02:0c7f:6412:2900:yyyy:yyyy:yyyy:yyyy - root "GET /cpsessyyyyyyyy/json-api/loadavg HTTP/1.1" FAILED LOGIN whostmgrd: cookie ip check: IP address has changed
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    15,618
    Likes Received:
    296
    Trophy Points:
    433
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your IP on these forums is a static IPv4 address. I wonder why your cPanel server is seeing your IPv6 address instead of that IPv4 address?
     
  7. deathy

    deathy Active Member

    Joined:
    Apr 11, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    156
    I have the server setup for IPv6, googles see's my IPv6 so does cPanel, most sites see me as IPv4 though,
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,020
    Likes Received:
    1,276
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    82
    Likes Received:
    21
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello,
    I'm having the exact same problem.

    But in my case that is the reason:

    - Removed -

    It looks like my client's IP is switching between IPv6 and IPv4.
    Anyone have any idea what could cause this?

    It does not happen to everyone, but it has happened often among some customers (enough for us to disable this protection).

    Can be DNS? We use Cloudflare, but we have the IPv6 configured in the AAAA input correctly.
     
    #9 Rodrigo Gomes, Jul 6, 2017
    Last edited by a moderator: Jul 7, 2017
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,020
    Likes Received:
    1,276
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Rodrigo Gomes,

    Feel free to open a support ticket using the link in my signature so we can take a closer look and attempt to reproduce the issue on your system.

    Thank you.
     
  11. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    82
    Likes Received:
    21
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello Michael!

    I already tried to reproduce the issue, but I could not.
    With my tests using IPv6, everything worked as it should.

    However, a significant amount of my clients suffer from this issue.
    It may be some feature on the network of these clients, but I came to the forum to ask for a second opinion.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,020
    Likes Received:
    1,276
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I've not seen any additional reports of this issue, but I'll leave this thread open to see if anyone else is facing this issue. You may want to see if you can obtain more information about what operating systems, providers, and browsers they are using to see if you notice any commonalities.

    Thank you.
     
    Rodrigo Gomes likes this.
  13. Rodrigo Gomes

    Rodrigo Gomes Well-Known Member

    Joined:
    Apr 6, 2016
    Messages:
    82
    Likes Received:
    21
    Trophy Points:
    8
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hello Michael,

    I discovered a problem on my secondary DNS server that did not return the updated DNS with IPv6.

    After fix this, the problem seems to have stopped. Thank you for your help!
     
    cPanelMichael and Infopro like this.
Loading...

Share This Page