Month: May 2012

CPanel / WHM, Installation, Security

How to install and uninstall DDoS Deflate on Linux server

How to install and uninstall DDoS Deflate on Linux server   DDoS Deflate (D)DoS Deflate is a lightweight bash shell script designed to assist in the process of blocking a denial of service attack. It utilizes the command below to create a list of IP addresses connected to the server, along with their total number of …

CPanel / WHM, Security

How to configure APF to prevent DDOS attack

How to configure APF to prevent DDOS attack Relatively new to APF is the new AntiDOS feature which can be found in: /etc/apf/ad The log file will be located at /var/log/apfados_log so you might want to make note of it and watch it! vi /etc/apf/ad/conf.antidos LP_KLOG=”1″ IPT_BL=”1″ USR_ALERT=”1″ USER = “root” ARIN_ALERT=”1″ There are various …

Apache, CPanel / WHM, Security

How to install mod_limitipconn on linux server

How to install mod_limitipconn on server To set per IP connections limit on  server we are using mod_limitipconn. This can be a very useful tool, as it could help in lowering the load on your server due to someone connecting too many times from the same IP.   To set the IP limit on the server using mod_security. …

Uncategorized

Command to check the reboot date and time on Linux server

Command to check the reboot date and time on Linux server root@server [/]# who -b system boot 2012-04-24 09:04 root@server [/]# last reboot | head -1 reboot system boot 2.6.18-308.1.1.e Tue Apr 24 09:04 (9+22:24) root@server [/]# root@server [/]# last -x|grep shutdown | head -1 shutdown system down 2.6.18-308.1.1.e Tue Apr 24 09:04 – 07:30 …

Uncategorized

How to check PERL module installed on the linux server

How to check PERL module installed on the linux server Run the below command to check Perl modules installed. root@server [~]# instmodsh It will show below output. root@server [~]# instmodsh Available commands are: l – List all installed modules m <module> – Select a module q – Quit the program cmd? l Installed modules are: …