Announcement

Collapse
No announcement yet.

ipv6-support

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vBulletin 3.5-3.7] ipv6-support

    A couple of years seem to have gone since this question was up, and now I wondered if it was possible to make ipv6-resolving work better. I noticed that the host-field in sessions was limited to 15 chars so I tried to change this to 64 to see if that gave me support for ipv6.

    This is a solution that might work:

    Edit includes/class_core.php

    change:
    define('SESSION_HOST', substr($registry->ipaddress, 0, 15));


    to:
    define('SESSION_HOST', substr($registry->ipaddress, 0, 64));



    For vBulletin 4 it is:

    define('SESSION_HOST', substr(IPADDRESS, 0, 15));

    ... that should be changed to ...


    define('SESSION_HOST', substr(IPADDRESS, 0, 64));



    I also changed the length of the host-field in the session-table from 15 to 64. After this, resolving my ipv6-ip in "who's online" worked.


    Full thread for discussion at vbulletin.com (Edit: This link seems dead)
    Last edited by Tornevall; 2014-06-30, 12:50. Reason: Updates!
    -
Sorry, you are not authorized to view this page
Working...
X