Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: 2.0
-
Labels:None
-
Environment:Red Hat Enterprise 5.1, with a public IPv6 address from http://www.sixxs.net
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
When accessing the web server using an IPv6 address, the "Live Logs" feature no longer displays a correct address. Instead it displays the text "Click here ...".
With IPv4 the live logs display:
Time IP Address Full name Action Information
Mon March 31 2008, 01:09 PM 192.168.1.1 John Doe course view CIS252: Advanced Routing
the IP Address link also includes a link to:
http://moodle.svcc.edu/iplookup/index.php?ip=192.168.1.1&user=2
With IPv6 the live logs display:
Time IP Address Full name Action Information
Mon March 31 2008, 02:12 PM Click here ... John Doe course view CIS252: Advanced Routing
the IP Address link does not contain the IPv6 address and only includes:
http://moodle.svcc.edu/iplookup/index.php?ip=&user=2
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-14121 | Log links incorrect for "assignment update grades" and "assignment view submission" |
|
|
|
| MDL-13894 | Apache access log ip address and moodle stored ip addresses do not match. |
|
|
|
| This issue has been marked as being related by: | ||||
| MDL-17754 | Session improvements and related rewrites |
|
|
|
Hi Dave, thanks for your report.
I guess this is caused by the log->ip column in DB accepting only 15cc (IPv4). Can you try manually increasing the column size in your server? What would be a correct length?
I would propose to:
This should be fixed consistently in all reports showing IPs, not only live logs.
Assigning to Mathieu...TIA!
Ciao
- Under Moodle 2.0, change column specs to something able to store IPv6 addresses and check if iplookup works with IPv6. Depending on that, enable the link or no.
This should be fixed consistently in all reports showing IPs, not only live logs. Assigning to Mathieu...TIA! Ciao