Posts Tagged with "tips"

How to update fields from another table in MySQL

Posted by Stanislav Furman on May 28, 2014
Read how to update a bunch of fields from another table in MySQL

Important things you must know before register a domain name

Posted by Stanislav Furman on May 16, 2014
10 important things you should know before you register a domain name with a registrar

Unix shell commands to detect a DDoS attack and its source

Posted by Stanislav Furman on April 25, 2014

5 unix shell commands to detect a DDoS attack

Hello Coders!

In this article I'd like to show you a few handy Unix shell commands that would help you to detect if your server is (was) under DDoS/DoS attack. However, keep in mind, that protection from DDoS attacks is quite complex and if you are dealing with a massive DDoS attack, you would need to contact your IPS or Hosting Provider (i.e. 1&1) for assistance. 

So. What do we work with? We can do some analysis based on your Apache access log data. Assuming you have a standard Apache access log, and you are running your website on Unix. Let's now get the total number of requests per day:

## Get number of requests per day:


awk '{print $4}' access.log | cut -d: -f1 | uniq -c

This will display you a list the total number of HTTP requests per day. See if you have any unusual increses comparing to other days. Now see the total number of requests per hour for a specific date (April 25th in this example):

Continue reading

How to secure your php application

Posted by Stanislav Furman on February 21, 2012
10 useful tips to make your php application safe. Good practices in creating a secured web application

Another 12 SEO tips that everyone should know

Posted by Stanislav Furman on February 17, 2012
Learn another 12 SEO good practices to succeed in website optimization. Useful tips and recommendations.

12 SEO tips that everyone should know

Posted by Stanislav Furman on February 10, 2012
Learn about most powerful and useful SEO practices.