I'm hoping this is possible with mod_perl, since I'm already familiar
with it and fairly allergic to c, but can't seem to figure out the right
phase.
I've been seeing log files recently that point to a certain DDOS attack
brewing on apache servers. I want to write a module that keeps a timer
I'm not sure that any mod_perl handlers are dispatched until the whole
request is received, so you may have to deal with this at the core Apache
level.
I think the following is your best bet (from
http://httpd.apache.org/docs/mod/core.html#timeout )
TimeOut directive
Syntax: TimeOut number