NYCPHP Meetup

NYPHP.org

[nycphp-talk] Urgent: Help in Defending Attack

DIPESH RABADIYA dipeshjr at yahoo.com
Thu Feb 28 08:04:30 EST 2008


just try with $_SERVER['REMOTE_ADDR'] it gives ip of client machine

----- Original Message ----
From: Randal Rust <randalrust at gmail.com>
To: NYPHP Talk <talk at lists.nyphp.org>
Sent: Thursday, February 28, 2008 4:44:57 AM
Subject: [nycphp-talk] Urgent: Help in Defending Attack

we are getting hundreds of hits per minute from what appear to be fake
IP addresses. i am currently writing a script that will send these
requests to an error page prior to making the database connection.

i am doing an explode() on the $_SERVER['REMOTE_HOST]  to get the
first part of the IP. Does that make sense?

this is only temporary fix. i'll need to come up with something more permanent.

-- 
Randal Rust
R.Squared Communications
www.r2communications.com
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php






      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080228/e57a90ab/attachment.html>


More information about the talk mailing list