Webmasters Blog - Salem-News.com - Matts Design Blog Salem-News.com

Webmasters Blog - Salem-News.com

Matts Design Blog Salem-News.com

Denial of Service Day Three

November 8th, 2007

On Monday November 5th I realized we were undergoing a Denial of Service attack aimed at draining bandwidth. I believe it started rather weak in October but I began to notice the Kilobytes of traffic had grown far higher then it should based on other traffic statistics. See: Day 1 Analyzing and adjusting on day two: Day Two

Read the rest of this entry »

The Denial of Service Attack Continues

November 7th, 2007

Yester day I noticed that Salem-News.com was under a Distributed Denial of Service Attack (DDOS) that seemed to be aimed at using up bandwidth as at its highest rate was no more than 60 per minute and averaging less than 30 per minute, all aimed at images. See: Bandwidth DDOS Attack.

After stopping the bandwidth waste with mod_rewrite it was time to poor through the log files to try and get some more information on how this was happening.
Read the rest of this entry »

Bandwidth DDOS Attack

November 7th, 2007

Sunday(Nov. 4th) while reviewing the stats for Salem-News I noticed the KiloBytes of traffic for the day had more than doubled without a corresponding doubling of the page views.

An investigation began into what could be causing this to happen. Some possible reasons that came to mind:

  • Large image files used in heavy hitting stories
  • Heavy spider / bot traffic
  • Corrupted log file / analyzer

It ended up being what I believe to be a large scale bandwidth sapping DDOS?
Read the rest of this entry »

Setting up Apache Subdomains

October 8th, 2006

Well I got my blogs started and moved out of the main directory and into subdomains me designs.salem-news.com David tech.salem-news.com the rest sharing opinion.salem-news.com.

It went well after relearning how to set up virtual hosts for the sub-domains as I havn’t done that in a few months.

httpd.conf partial
# Use name-based virtual hosting.
#Remember to uncheck this
NameVirtualHost *:80
#

Then repeat this for each virtual host

<VirtualHost *:80>
DocumentRoot “/path/to/matts/blog”
ServerName designs.salem-news.com
<Directory “/path/to/matts/blog”>
allow from all
Options +Indexes
#mod_rewrite for wordpress
  <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule . /index.php [L]
  </IfModule>
</Directory>
</VirtualHost>

Installing Wordpress

October 8th, 2006

Over the past 24 hours I have tried a few blogging / CMS packages to allow Salem-News.com staff members to write more what they feal instead of just regurgitating the usual news.

While I did find several with more features than WordPress I ended up going with it as the winner. The one I really wanted was still too buggy (and is not quite blogging) and would take far more time than I have to get running properly (Will discuss in another post.) Read the rest of this entry »

Tags