thepcspy
Home
»
Getting The Real IP Of Your Users
»
Comments
Home
Tags
Archive
Search
RSS
Sign in / Register
|
Why?
Comments for Getting The Real IP Of Your Users
11 to 20 of 29
<
1
2
3
>
#11
/* 3 years, 6 months ago */
wat do u want to get the IP for anyway if you need them for legal purposes then y would the visitoor need a proxy for u hackers
Quote
Profile
im a nerd
Normal User
#12
/* 3 years, 6 months ago */
wat do u want to get the IP for anyway if you need them for legal purposes then y would the visitoor need a proxy for u hackers
Quote
Profile
im a nerd
Normal User
#13
/* 2 years, 5 months ago */
I am using a foundry firewall, and tried all the methods above but i still get the foundry ip..
any help...
Quote
Profile
ntanalysis
Normal User
#14
/* 2 years, 12 months ago */
The Perl code is wrong ('==' tests numeric equality; for string equality, use 'eq'). This is the code I use:
$ip = $req->header('Client-IP') || $req->header('Remote-Addr');
if ($req->header('X-Forwarded-For')) {
$proxy = $ip;
$ip = $req->header('X-Forwarded-For');
}
Quote
Dan Dascalescu
Anonymous User
#15
/* 2 years, 11 months ago */
For java it has to be:
String ipaddress = request.getHeader("X-Forwarded-For");
since this is the actual name of the http header.
BTW: is there any way of getting the right IP from behing an anonymous proxy?
Quote
Profile
Andro
Normal User
#16
/* 2 years, 9 months ago */
This is a great tutorial. It didn't solve my problem but at least now I know why. Our corporate servers are using NAT and not passing the information along.
One question I have though is:
We use omniture to track our usage and it manages to grab IP's, how is it they can but I cannot?
Oregon Go Green
!
SteveMcDaniel.com
Quote
Site
Profile
Steve McDaniel
Normal User
#17
/* 17 months, 6 days ago */
Nice work... Good primer.
Quote
Dan Gravy
Anonymous User
#18
/* 17 months, 27 days ago */
Perfect! Just what I was looking for. Thanks!
Quote
Dusty Reagan
Anonymous User
#19
/* 16 months, 2 days ago */
HTTP_X_FORWARDED_FOR may (and it usually does) contain an useless LAN IP which can and probably will be changed if needed, for instance if you need to block access to a troll and he/she's using a proxy to hide behind like a coward, then HTTP_X_FORWARDED_FOR is completely useless and very likely you're going to need to block the proxy itself so you'd better record his/her REMOTE_ADDR. This is the purpose of recording an IP address, isn't it?
Quote
Anyone
Anonymous User
#20
/* 16 months, 27 days ago */
HTTP_X_FORWARDED_FOR Can and will return multiple IP addresses. Like So
11.11.11.2, 41.241.135.194, 198.54.202.74
Could you tell me which is the correct address?
Quote
samdland
Anonymous User
11 to 20 of 29
<
1
2
3
>
Latest Posts
Debranding and Unlocking a Samsung M8800 Pixon
Facebook worm
My issues with Linux et al
Greatest Posts
Bootable USB Flash Drive
What Really Slows Windows Down
What Slows Windows Down?
Latest Elsewhere
Tied to the testing of wills
The Non-Programming Programmer
Review: Ubuntu 9.04
Home
|
Advertise
|
About
|
Contact
|
Legal
© Oli Warner 2001—2007
Proud 9rules member