Howdy,
I realize that $ENV{'REMOTE_HOST'} and $ENV{'REMOTE_ADDR'} are handled
differently and can be spoofed so don't worry I'm not basing any security on them.
What I was wondering is on most unix and apache setups does Perl's
$ENV{'REMOTE_ADDR'} always get set to an ip address if it is
available and $ENV{'REMOTE_HOST'} is the name if available
then the ip if not?
I would like to log the ip address of the caller if it is available
and if someone wanted to spoof it on me then I'll live.
So I think I want to use $ENV{'REMOTE_ADDR'}, to always get an ip returned if
anything, right?
Just need a little , you're not nuts, assurance!
TIA
Dan
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]