24 Sep 2005 masood   » (Journeyer)

I am back

After a long long time I again started writting my blogs. :). Today is saturday and its more like funday in which I can do my own work.

Naseeb Networks
Joining Naseeb Networks inc, was the best decission I have ever made. Before joining Naseeb Networks it looked to me there is no development going on in Linux in pakistan. but Thanks to my this new job I am now able to do coding in linux as well as do some security implementation stuff as well.

Coding for Naseeb

When I joined Naseeb, The first project I have to do was, code a Load Balancer for HTTP traffic. I started using netfilter Library in a hope of achieving the task but the task was to redirect the trafic to the least loaded server. Then Using the idea of ABBAS, I modified the code of TUX ( Redhat implemenatation of Webserver in kernel module or in simple words kernel memory) and created a load balancer for http.

How it works? I actually created client server application which get load average from all the servers and then check the least load average. After getting 2 least loaded server it communicates with the TUX using ioctl. TUX, which can work as REDIRECTOR, Redirects the requests to the other server on the bases of the value it gets from its device file.

TUX documentation says its a kernel module base webserver and its much faster but unfortunately I was unable to impress my CEO using this. Its not the fault of my included code in tux but for the TUX the requirement of my CEO was high.

Then CEO gave me an idea of creating a DNS based load balancer which I created In a day or so, as all of the client/server work was done. I just have to do some enteries changed which I created successfully. Now Thats DNS based Load Balancer is working quite awsome now.

Security Audit As I am good in security and got some good security background in hacking and cracking :), I was given a task of auditing all the LAMP base applications of Naseeb Networks and truely speaking I love auditing LAMP applications. And when you have the source code then its not that much boring LOL.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!