Block China and Korea From Apache Based Servers or Forums with a .htaccess Blocklist

Please refer to: http://www.wizcrafts.net/chinese-blocklist.html

Stop Traffic From China IP Address Blocks To Protect Your Web Server From Chinese Hackers

Original Link: http://www.parkansky.com/china.htm

If you spend any time monitoring the security of your Internet servers you have noticed that in recent years the majority of hacking attempsts and surveillance queries are coming from IP addresses originating in China. Chinese hackers are becoming the most common and pervasive as evidenced by the US government’s Titan Rain investigation covered in this article in Time magazine. More recently, Google has expressed serious concerns about hacking attempts originating from China. Read more »

Cấu hình shorewall(front-end of iptables)

Bài viết sau đây sưu tầm từ trang: http://my.opera.com/iamhungnv/blog/show.dml/11235931

Step 1:Cài đặt shorewall for linux

download form http://shorewall.net các gói *.rpm(cài đặt bằng câu lệnh:rpm -ivh *.rpm)

Step 2:cấu hình shorewall

Mình sẽ cấu hình theo 3 interface gồm 3 zone:net,DMZ,Local Read more »

Làm sao để các rules trong iptables không bị mất khi khởi động máy

Khi sử dụng linux, có thể bạn sẽ phải sử dụng lệnh iptables để cho phép hoặc không cho phép các máy khác truy cập vào máy của mình. Ví dụ 1 lệnh sau đây để chặn 1 dải ip không cho kết nối vào máy:

iptables -I INPUT -s 202.112.0.0 -j DROP Read more »

How to Repair SQL Server 2005 Suspect Database

If your Database is marked as Suspected, here are the steps to fix it:

EXEC sp_resetstatus ‘DBName’ Read more »

Introduction to NTP

Overview

NTP (Network Time Protocol) provides accurate and syncronised time across the Internet. This introductory article will try to show you how to use NTP to control and synchronize your system clock.

Read more »

Fatal error: Maximum execution time of 30 seconds exceeded

When PHP is processing a file upload and you receive the error message “Fatal error: Maximum execution time of 30 seconds exceeded” it is because the script has timed out. I was working on an application where this was occuring during a file upload. The entire file would be uploaded, then the error would be displayed Read more »

Khởi động lại IIS bằng command line

The command line is the easiest way to restart IIS.

iisreset

If you just need to stop the service, you can use:

net stop w3svc

And then to start it up again, you can use:

net start w3svc

Reset Identity Column Value in SQL Server

If you are using an identity column on your SQL Server tables, you can set the next insert value to whatever value you want. An example is if you wanted to start numbering your ID column at 1000 instead of 1.

It would be wise to first check what the current identify value is. We can use this command to do so: Read more »

20 Linux System Monitoring Tools Every SysAdmin Should Know

Refer at: http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

WordPress Themes