Search Connected Photographer's 5,992 photography article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
FROM THE EDITOR-IN-CHIEF
Incident report: denial of service attack against ConnectedPhotographer.com
By David Gewirtz

You may have noticed that Connected Photographer has been offline for the past few days. It's back, and what happened makes for quite a story.

About two months ago, I noticed increased traffic on our Web sites -- and the traffic was causing a load on the servers that didn't seem to be right. In particular, I noticed that our email-to-a-friend page was getting accessed repeatedly, at a rate disproportionate to what regular traffic would generate. I reasoned that a spammer was using the page to send junk mail out through our email-to-a-friend interface, and promptly turned that page off.

"A million individual computers hit our servers in the space of a day."

Traffic was one or two accesses a minute from different IP addresses, all over the world. I traced IP addresses to Russia, Brazil, UK, Turkey, Korea, Ukraine, Australia, Canada. There were also a bunch of IPs that wouldn't give up their real locations.

Current incident
Beginning Tuesday night, performance of our Web servers began to degrade. It took me until Thursday morning to determine that the performance degradation was due to an increase in traffic to a particular set of Web pages. This was, in part, because the server was performing so slowly that accessing any information took a very long time.

Eventually, I was able to determine that the email-to-a-friend page (which no longer existed) was being requested for our Connected Photographer Web site. Each request caused a server error, slowing the system down. Unfortunately, there was no way to stop the server errors, since the code that generated them was compiled into the server's kernel.

Yes, I have access to the kernel code and have added features in the past, but I didn't want to muck with code at such a low level while trying to sustain our level of quality service. It would have just taken too much time.

Through the use of a software firewall, I was able to determine that requests to the email-to-a-friend URL were comining into the server at the rate of thousands of requests per second. I configured the software firewall to ban requests to this particular page, and then ban the IP addresses that originated the request.

However, within about ten minutes, the software firewall ceased to function. It had banned more than 10,000 individual IP addresses, (about 1,000 per minute), exceeded its available memory, and pushed the server to 100% utilization.

I tried re-routing and even turning off the DNS pointing to the server. The requests still kept coming in. My guess is that the URL they were requesting was cached, and so the spamming system knew the IP address, ignoring the DNS completely.


1  ·  2  ·  Next »
Other articles you might like
Home > Extras > Editorial > Editorials (18 articles)
   How to reduce stress in this crazy, crazy world
   Here come the judge, Barack's BlackBerry, David does CNN, and more
   So long 2008, and thanks for all the phish
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent Connected Photographer Articles
How to reduce stress in this crazy, crazy world
Adobe's CS4 Master Collection is the Full Monty
Get ready for wedding photography
Here come the judge, Barack's BlackBerry, David does CNN, and more
We review Photoshop CS4: The Missing Manual and more
So long 2008, and thanks for all the phish
We review two books that'll help you create Web sites
Connected Photographer News
Win an Autographed "Create by Jason Wu" Digital Camera
Ricoh GXR S10 24-72mm in-depth review
Canon EOS 5D Mark II Firmware Update Released
How to Take Photos in Extreme Cold
Mastering Canon EOS Flash Photography
Pentax 645D
35mm Slide Scanner with a Bonus: No Computer Required
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
DominoPower: Application development, William Shatner, and the origin of the universe
OutlookPower: More about disappearing text
-- Advertisement --

Write for Connected Photographer
Share your experience and expertise with other photographers. Our brand-new Connected Photographer Magazine has many new opportunities for contributing authors and editors.

Write about something you're an expert on and get your name in lights.

For Writers' Guidelines and to discuss topics, contact our editorial team. This is your opportunity to show off and help other photographers get the most out of their craft.

Click here for author guidelines.

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login