Hey, I want to block a range of IP addresses in firewall!! It’s simple to block or allow IP addresses into the firewall by using simple for loop via command line. In some cases like DoS, and we found some…
scripts
Simple script to list dedicated IP address usage of domains under a Reseller – WHM/cPanel
In a cPanel server, the dedicated IP address usage is listed in the “/etc/domainips” file. You can simply find the dedicated IP address of a particular domain from here. Here, I am explaining a simple backend script for listing all…
Keep a log for total number of connections to a particular port from Foreign Address
Is there any log entries to find-out directly the total number of connections in server? In some high connection high load servers, this log would be helpful to monitor and tune the server with number of connections on it. We…
Performance tuning script for MySQL – Command-line Mysql Tuner
What is MySQL performance tuning and what does it mean ? MySQL has a lot of variables in its configuration. We can edit and set/alter variables to our requirements on our server. We can improve the MySQL performance by varying…