MyBB Community Forums

Full Version: Strange IP address
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

in my forum some IP address is strange like this:

2001:4170:2000:1::31
2001:4170:2000:1:7a98:b70d:fe2:aa98

what is the problem?
It's unlikely to be a problem; likely to be an IPv6 address:

https://en.wikipedia.org/wiki/IPv6_address
(2021-01-18, 11:21 AM)Laird Wrote: [ -> ]It's unlikely to be a problem; likely to be an IPv6 address:

https://en.wikipedia.org/wiki/IPv6_address
ok, why some post in this type and others in other type?
(2021-01-18, 11:22 AM)CivilEA Wrote: [ -> ]ok, why some post in this type and others in other type?

I am not well versed in IP addressing, so I can't offer any answer other than the kind of tautological "Because some members are connecting with an IPv6 address and others with an IPv4 address".
Short answer - depends on the connecting member/guest's ISP.  Some have deployed IPv6, many have not. 

If you access phpmyadmin, and run a query against your board sessions table, you can get a look at all the IP addresses captured in that table.  To get a human readable format, you need use a couple of functions.  Example - sorting (DESC) on IP, then time (DESC):

SELECT INET6_NTOA(ip), from_unixtime(time), `uid`,`location`, `location1`,`location2`,`useragent` FROM `mybb_sessions` ORDER BY INET6_NTOA(ip) DESC, from_unixtime(time) DESC;

WHOIS will return the network details for a specific address, including IPv6.  So you can look that up if you want.

BTW, your example is in Serbia. Smile

cheers...