|
From: Lewis K. <nm...@dm...> - 2009-02-08 23:10:35
|
At 12:20 PM -0800 1/29/09, Randal L. Schwartz wrote:
>>>>>> "Lewis" == Lewis Kirk <nm...@dm...> writes:
>
>Lewis> Is there some reason that $ENV{REMOTE_ADDR} picks up this syntax? Or is
>Lewis> it a spam technique?
>
Randal> If you're sure you're looking at REMOTE_ADDR, and it's not simply an IP
Randal> address, this would be a question for your hosting operator, not for us.
>
OK. I found it. I am using Guestbook.pl,v 1.52 and it uses POSIX. There are two places where I replaced "my $remote = remote_host();" with "my $remote = $ENV{REMOTE_ADDR};". Now I get a normal IP address which I can use in the banned list.
Then I tried using my $remote = remote_addr(); and that seems to work also with POSIX.
|