I'm not sure why users on IPv6 cannot view my protected streams..
Their IP does not look correct. My website is behind Cloudflare and I really don't want to disable CF protection.
eu-central-6: we cannot find hash match for ::ffff:81.39.205.3, signature=[12345]
eu-central-6: we cannot find hash match for ::ffff:185.246.103.34, signature=[12345]
origin-eu-1: we cannot find hash match for ::ffff:206.231.121.124, signature=[12345]
Does anybody know what is happening? I am using
code such as:
$ip = $_SERVER['REMOTE_ADDR'];
if (!empty($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$ip = $_SERVER['HTTP_CF_CONNECTING_IP'];
} elseif (!empty($_SERVER['HTTP_X_REAL_IP'])) {
$ip = $_SERVER['HTTP_X_REAL_IP'];
} elseif (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
$commapos = strrpos($ip, ',');
$ip = trim( substr($ip, $commapos ? $commapos + 1 : 0) );
}
I did enable ipv6 in nimble.conf on all my servers.
Thank you