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)
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)
