Guestbook IP Address Strangeness

View: New views
4 Messages — Rating Filter:   Alert me  

Guestbook IP Address Strangeness

by Lewis Kirk-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have been using the Guestbook with the admin and delete the spam. I sometimes block the IP addresses if they are from known spam spewers and become annoying; however, lately the IP addresses being displayed in the log look like:

216-31-225-6.static-ip.telepacific.net
198.235.14.30
ip-72-55-188-250.static.privatedns.com
82.173.92.64.static.reverse.ltdomains.com
198.65.122.125
ns.km10329.keymachine.de
41.220.227.2
mailer2.mtvi.com
cpe-024-168-247-224.sc.res.rr.com
ns.km10329.keymachine.de
72.52.96.51
mailer2.mtvi.com
151.11.232.92
74.223.57.126.nw.nuvox.net
89-149-241-118.internetserviceteam.com
www.macs.net
host99.190-139-105.telecom.net.ar
89-149-227-238.internetserviceteam.com

(I modified the script so that it will list only IP addresses to make it easier to copy them to the banned list.)

Is there some reason that $ENV{REMOTE_ADDR} picks up this syntax? Or is it a spam technique?

Thanks!

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nms-cgi-devel mailing list
Nms-cgi-devel@...
https://lists.sourceforge.net/lists/listinfo/nms-cgi-devel

Re: Guestbook IP Address Strangeness

by Randal L. Schwartz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>>>>> "Lewis" == Lewis Kirk <nms1@...> writes:

Lewis> Is there some reason that $ENV{REMOTE_ADDR} picks up this syntax? Or is
Lewis> it a spam technique?

If you're sure you're looking at REMOTE_ADDR, and it's not simply an IP
address, this would be a question for your hosting operator, not for us.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Nms-cgi-devel mailing list
Nms-cgi-devel@...
https://lists.sourceforge.net/lists/listinfo/nms-cgi-devel

Re: Guestbook IP Address Strangeness

by Lewis Kirk-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

At 12:20 PM -0800 1/29/09, Randal L. Schwartz wrote:
>>>>>> "Lewis" == Lewis Kirk <nms1@...> 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.

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Nms-cgi-devel mailing list
Nms-cgi-devel@...
https://lists.sourceforge.net/lists/listinfo/nms-cgi-devel

Re: Guestbook IP Address Strangeness

by Randal L. Schwartz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

glad to hear you solved your problem.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@...> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Nms-cgi-devel mailing list
Nms-cgi-devel@...
https://lists.sourceforge.net/lists/listinfo/nms-cgi-devel