Outsource Support Blog
Mod Security Whitelist IP
Sometimes it’s necessary to whitelist an IP address so it can get past the mod_security filters. This is a great feature in case you want to open the filters for one visitor while leaving the security features in place. Open the mod_security whitelist file: vi /usr/local/apache/conf/modsec2/whitelist.conf Code: SecRule REMOTE_ADDR “^111.222.333.444” phase:1,nolog,allow,ctl:ruleEngine=off Where 111.222.333.444 would be …
RVSitebuilder DB connection problem
If a client is logging into their cpanel, and trying to launch RVSiteBuilder, but they are getting the following error: Cannot connect to DB, check your credentials, exiting ….. Sorry your request can not be processed now.Please contact your service provider. . This is not a user problem, but a RVSiteBuilder problem. Check the database …
Spam Assasin 2010 Bug
FH_DATE_PAST_20XX scores on all mails dated 2010 or later. There was a bug in SpamAssassin that hit Jan 1st, 2010. All emails were getting marked with the above error in SpamAssassin, and it was adding 3.5 to the spam score, thus getting blocked by most standard spamassassin configs. To fix this, simply run sa-update from …
Notify when a root user logs in
If you don’t have this setup already you should! This is a great method to ensure you’re notified each time the root user connects to your server via SSH. Edit the .bash_profile file of the user whose account you wish to monitor – typically: /root/.bash_profile echo ‘ALERT – Root Shell Access on:’ `hostname` `date` `who` …
Disable mod security
It’s easy to disable mod security, however the fix varies depending upon the version of mod_security and the way that it has been installed. For mod_security 1.X try the following in a .htaccess within the user’s home folder: SecFilterEngine Off If that causes a site error or it doesn’t work you’re most likely using mod …
cpanel mutliple sites on one IP Address
This is a sticky unsupported subject. By default you can have site’s with dedicated IP addresses, sites on “A” shared IP address, or you can have a site that has addon domains within the same account that shares the shared or dedicated IP for that account. However, we recently worked with a client and their …
Qmail whitelist IP from RBL checks
In hsphere you can whitelist an IP from RBL checks by using the following: Edit/Create the file: /hsphere/local/var/vpopmail/etc/tcp.smtp Add the following: #whitelist IP addresses $IP1:allow,RBLSMTPD=”” $IP2:allow,RBLSMTPD=”” Then: Recompile via Command Line option cd /hsphere/local/var/vpopmail/etc/ /hsphere/shared/bin/tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp
Number of connections from an IP
We have seen a huge increase in individual servers/IP’s attempting to flood a server or brute force a particular account. Here’s a great way to check the number of connections being made from each IP that is connected to your server: netstat -an|awk ‘{print $5}’|cut -d “:” -f1|sort|uniq -c|sort -n We will post an automated …
DSM password protect folder
The Alabanza system uses the DSM and a custom control panel. Here’s how to password protect a folder in their system: You cannot password protect specific files, instead you must password protect an entire folder and then any files within it are automatically password protected. For example – here’s your folder structure: /home/user/domain-www the domain-www …
- Apache (22)
- ASP (1)
- CGI-Perl (1)
- CloudFlare (2)
- Coldfusion (2)
- Cpanel (75)
- CPVLabs (1)
- Customer Service (11)
- DNS (9)
- Domains (1)
- DSM (2)
- Email (17)
- enom (1)
- Exim (13)
- FTP (8)
- Help Desk (2)
- Hosting (60)
- HSphere (7)
- Htaccess (11)
- Joomla (1)
- Linux (88)
- Miscellaneous (14)
- Miva (1)
- MySQL (15)
- Networking (1)
- OpenVZ (1)
- Outsourced Support (58)
- PHP (10)
- Plesk (13)
- Postfix (2)
- Recent News (35)
- Security (37)
- Sendmail (6)
- Spam (5)
- Thrive (1)
- VPS (7)
- Webmail (3)
- WHMCS (1)
- Windows Servers (9)
- Wordpress (7)
