I have a client using podpress on my server and the "Raw Stats" aways display the server IP as downloaded the file... I solved it changing the line 2070 of "podpress_functions.php" from:
$ip = addslashes($_SERVER['REMOTE_ADDR']);
$ip = addslashes(str_replace(",", "",$_SERVER['HTTP_X_FORWARDED_FOR']));
Is possible to make this change permanent on Podpress? It's correct to do?
(The str_replace was used because the server response for HTTP_X_FORWARDED_FOR is "USER.IP.ADD.RESS, PROXY.IP.ADD.RESS and Podpress was grabbing only "USER.IP.ADD.RESS," on database)