Mmm, sounds like quite a task - not what I'd call 'basic'.
Two options that I can think of, either write a proxy server that listens on port 80 and then forwards everything on to the real web server, or a promiscuous network scanner.
I wouldn't want to write either in C#, especially the later. There are as you can imagine plenty of both types of applications already in existence, Etheral being the most famous in the later category.
Also consider simply analysing your existing web server log files - this may provide the information you are after without the complexity.
|