Monitoring Enterprise Network using Cacti on RedHat 8.0

I was asked to analyze performance of an ERP working over Internet via OpenVPN. It works very well on local area network. However, it is pretty slow for remote access via VPN. The server is placed behide an ADSL router connected at 1024/512 and other endpoint are connected to another ADSL router connected at 512/256. Since there are many clients, I don’t sure what the bottleneck is. There are 2 possible points.

ProFTPD or Pure-FTPd

Sometimes you might need to choose the best FTP daemon to run 7x24 on your host. As of 5 years ago, I might say wu-ftpd is the most famous and you should use it. Unfortunately, as the time goes by, because of its popular, wu-ftpd was targeted to be hacked again and again. And then everyone seems to recommend to use SSH instead since there was no good enough alternative solution at that time.

Nowadays, I have to choose again. I found out that ProFTPD is one of the most popular FTP server for Unix server especially hosting service provider. As far as I know, Plesk includes ProFTPD as a standard FTP server. There are so many advanced features come with standard build of ProFTPD. Everything are customizable just like Apache HTTP server. In particular, ProFTPD supports virtual domain. That’s why Plesk chose it.

FeedTree 0.7.0: collaborative RSS and Atom delivery

FeedTree 0.7.0 has been released to the wild. Shortly, it is a peer-to-peer network for distributing feed, RSS and Atom, to all subscribers instantly. In contrast, new feeds will be pushed to a set of subscribers and they will then push to other subscribers in tree fashion. Instead of developing full-featured feed reader for FeedTree, just a proxy, ftproxy, has been developed.

Technically, FeedTree relies on a peer-to-peer overlay network namely Pastry and Scribe protocol running on top of that. I don’t know much about Pastry. All I know is just it is implemented in Java. I don’t hate Java and I don’t like Java too. It is too big for me to run a Java application on my laptop just to read feed faster than ever.

Install pure-ftpd with large file on Ubuntu

Pure-FTPd might not be the best FTP server but it is my most favorite one since yesterday. Its advantages are as belows.

  • Easy
  • Simple
  • Fast
  • Secure

It is enough for me right now. In addition, it is available on most distributions including Ubuntu. Unfortunately, it seems Pure-FTPd is too secure in term of compile-time options. The binary package of Pure-FTPd on Ubuntu 5.10 Breezy doesn’t support large file operation. As a result, I can’t see or transfer files larger than 2 GB. Oh, my god! Then I managed to rebuild the package again locally to support large file. Below are my instructions. Note that I am just a newbie for Ubuntu, Debian-style package management. This is a good practice for me.

Azureus produces bad sectors

Okay. Let me clarify a few things first. My favorite BitTorrent client is BTQueue for sure. I have never wanted to run other BitTorrent client especially on hosts placed in data center. BTQueue is the best candidate to run on server-class machine for remotely controlling through the Internet. Anyway, my friend didn’t think so. He had a machine running Windows 2003 because he like to use mouse to control everything instead of just a keyboard like me. This machine has been placed at a data center to run Azureus for him and then transferred files back to his home via FTP. Everything worked fine except only the bad sectors. Sometimes, the machine hung up without any notification. Then he checked all drives to ensure their healthy. In contrast, this machine has 3 drives, a IDE and two SATA. As a result, he found bad sectors in all drives, the most of them were existed in the IDE drive which is the system drive. This situation should not happen because all data are set to store in the two SATA. However, he claimed them all. Unfortunately, he had to claim some of them or all of them every 2 months.

Living with phpBB

phpBB is a powerful and popular bulletin board software running on top of PHP and mySQL. However, you will get some trouble to use so popular softwares. Can you guess what kind of trouble you will get from phpBB? It is a very simple one. If you have deployed phpBB for a year you could encounter this situation. Yes, it is hacked again and again.

My friend is providing hosting services on FreeBSD server. This server is very secure. However, it was hacked 2 days ago through phpBB deployed by his customer himself. The result is that the hacker successfully added a cron entry to run IRC bot. Then he found that the installed phpBB had at least a vulnerability relating to mishandling string.