What I would like to do is implement a system that would track how many times a visitor has requested a page from my website and then based on some sort of threshold, block the visitor if I deem them abusive (i.e.: attempting a DoS).
My question lies in the implementation of such a system...
What would be a good way to track the activity of a given visitor? I assume that I'll have to store off their IP since it's the only information I have for them. Also, should I just store off how many times they have requested pages from my site and then set some arbitrary threshold?
Thanks.