Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by bart (450) <bart.lateur@pandora.be> on 2003.09.04 19:42 (#23881) Journal
    Whether or not it is handy, that is debatable. Whether it works well is another matter. The URL it returns for me is [213.224.83.72]... which appears to be the address off the other side of the proxy server I must use. So it completely ignores the "HTTP_X_FORWARDED_FOR" header, which points towards [213.224.4.165]. Yeah, that is me!
    • By design, you must explicitly distrust any "forwarded for" headers, unless they come from an IP that you trust.

      So, it's doing exactly the right thing. Giving the address of the only IP that it can trust.

      --
      • Randal L. Schwartz
      • Stonehenge