HostOnNet Blog

Category Archives: Windows

FTP Limiting 2000 file listing on Cpanel server

On Cpanel server with Pure-FTPd, FTP is showing only 2000 files in a folder. Folder contains about 4000 files. On FTP Client, getting following error 150 Accepted data connection 226-Options: -a -l 226 Output truncated to 2000 matches To correct


FreeBSD System Security

Clearing the /tmp directory on startup is a good practice, and should be implemented on any production server. In order to do so, add the following line to the file /etc/rc.conf clear_tmp_enable=”YES”


TCP/IP Hardening

The following lines need to be added to the file /etc/rc.conf in order to take effect. Please note that changes will not take effect until a system restart. Prevent OS Fingerprinting tcp_drop_synfin=”YES” Prevent ICMP Redirect icmp_drop_redirect=”YES” Blackhole TCP Packets net.inet.tcp.blackhole=2


User Security

The first thing you should take stock of are the users with unlocked accounts. Users with unlocked accounts are allowed to login if assigned a valid shell, and should be kept to a minimum. To get a list of unlocked


Network Security

To get a list of listening network ports, run the following: # sockstat -4 Disable any ports that are not necessary. To do so, kill the PID shown by netstat. The only port that your server must be listening on


File system Security

There are certain files whose presence in the FreeBSD file system can present a security risk and should be remedied as soon as possible. When the SUID (set user ID) or SGID (set group ID) bits are set on an


WordPress Resources

Theme Browser http://www.alexking.org/software/wordpress/theme_browser.php WordPress Plugin Database http://www.unknowngenius.com/wp-plugins/  


Godaddy SSL Certificate Not working on FireFox

Godaddy SSL Certificate was installed for a web site hosted on Windows 2003 Server. It worked fine on Internet Explorer and Opera. But it says the Certificate in Not trusted when you enter the site with FireFox. http://blogs.bizhat.com/bizhat/files/2005/10/godaddy_ssl.gif The problem


WordPress Image Rotator

“A Better Image Rotator” is an easy to use image rotator ssript that will work with WorlPress. With this script, you can rotate images in your WordPress Blog. You can find the script at http://www.alistapart.com/articles/betterrotator/


Cpanel DNS Zone Template files

In Cpanel Server, DNS Zone templates are located at /var/cpanel/zonetemplates # cd /var/cpanel/zonetemplates # ls simple standard standardvirtualftp # Following are the content of DNS Zone Template files. When new domain is added, these templates are used to create new