Originally Posted by gajaykrishnan
i actually want to write a program which keeps a watch on which and when a user is accessing sites on the internet.
will i have to learn tcp/ip programming for this??
i want to know in which language is it programmed..
kindly guide me..
The short answer is no. Because there are any number of pre-built tools out there for doing this.
The first thing that comes to mind is a firewall. A good dedicated firewall will do exactly what you want and more.
Another option is having the computer in question use a proxy server then running the logs thru any number of scripts and programs out there to analyze the logs. I use squidalyse myself.
If you wanted something a little more custom tailored, then perhaps a combination of ethereal and using perl scripts to parse that data into something meaningfull and using python tools to get that data into mysql. Then using php and html to report on that data.
Then of course there are the actual networking monitoring suites out there. If you had the money or some means otherwise of aquiring those programs.